Lines Matching refs:enc_opts
167 struct flow_match_enc_opts enc_opts;
178 flow_rule_match_enc_opts(rule, &enc_opts);
180 if (memchr_inv(&enc_opts.mask->data, 0, sizeof(enc_opts.mask->data)) &&
192 if (enc_opts.key->dst_opt_type != IP_TUNNEL_GENEVE_OPT_BIT) {
200 if (enc_opts.mask->len &&
215 if ((enc_opts.key->len / 4) > ((max_tlv_option_data_len + 1) * max_tlv_options)) {
220 enc_opts.key->len);
224 MLX5_SET(fte_match_set_misc, misc_c, geneve_opt_len, enc_opts.mask->len / 4);
225 MLX5_SET(fte_match_set_misc, misc_v, geneve_opt_len, enc_opts.key->len / 4);
228 option_key = (struct geneve_opt *)&enc_opts.key->data[0];
229 option_mask = (struct geneve_opt *)&enc_opts.mask->data[0];