Home
last modified time | relevance | path

Searched refs:option_key (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_geneve.c164 struct geneve_opt *option_key, *option_mask; in mlx5e_tc_tun_parse_geneve_options() local
227 option_key = (struct geneve_opt *)&enc_opts.key->data[0]; in mlx5e_tc_tun_parse_geneve_options()
234 if (option_key->length > max_tlv_option_data_len) { in mlx5e_tc_tun_parse_geneve_options()
239 option_key->length, option_mask->length); in mlx5e_tc_tun_parse_geneve_options()
244 if (!memchr_inv(option_key->opt_data, 0, option_key->length * 4)) { in mlx5e_tc_tun_parse_geneve_options()
253 res = mlx5_geneve_tlv_option_add(priv->mdev->geneve, option_key); in mlx5e_tc_tun_parse_geneve_options()
259 be16_to_cpu(option_key->opt_class), in mlx5e_tc_tun_parse_geneve_options()
260 option_key->type, option_key->length); in mlx5e_tc_tun_parse_geneve_options()
270 memcpy(&opt_data_key, option_key->opt_data, option_key->length * 4); in mlx5e_tc_tun_parse_geneve_options()