Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Dif_tunnel.h175 #define TUNNEL_GENEVE_OPT __cpu_to_be16(0x0800) macro
182 (TUNNEL_GENEVE_OPT | TUNNEL_VXLAN_OPT | TUNNEL_ERSPAN_OPT | \
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_geneve.c114 if (tun_info->key.tun_flags & TUNNEL_GENEVE_OPT) { in mlx5e_gen_ip_tunnel_header_geneve()
191 if (enc_opts.key->dst_opt_type != TUNNEL_GENEVE_OPT) { in mlx5e_tc_tun_parse_geneve_options()
340 return mlx5e_tc_tun_encap_info_equal_options(a, b, TUNNEL_GENEVE_OPT); in mlx5e_tc_tun_encap_info_equal_geneve()
/openbmc/linux/net/netfilter/
H A Dnft_tunnel.c369 opts->flags = TUNNEL_GENEVE_OPT; in nft_tunnel_obj_geneve_init()
415 if (type && type != TUNNEL_GENEVE_OPT) in nft_tunnel_obj_opts_init()
420 type = TUNNEL_GENEVE_OPT; in nft_tunnel_obj_opts_init()
616 } else if (opts->flags & TUNNEL_GENEVE_OPT) { in nft_tunnel_opts_dump()
/openbmc/linux/net/sched/
H A Dact_tunnel_key.c233 if (type && type != TUNNEL_GENEVE_OPT) { in tunnel_key_copy_opts()
250 type = TUNNEL_GENEVE_OPT; in tunnel_key_copy_opts()
305 info->key.tun_flags |= TUNNEL_GENEVE_OPT; in tunnel_key_opts_set()
666 if (info->key.tun_flags & TUNNEL_GENEVE_OPT) { in tunnel_key_opts_dump()
H A Dcls_flower.c1458 key->enc_opts.dst_opt_type != TUNNEL_GENEVE_OPT) { in fl_set_enc_opt()
1463 key->enc_opts.dst_opt_type = TUNNEL_GENEVE_OPT; in fl_set_enc_opt()
1474 mask->enc_opts.dst_opt_type = TUNNEL_GENEVE_OPT; in fl_set_enc_opt()
3206 case TUNNEL_GENEVE_OPT: in fl_dump_key_options()
/openbmc/linux/net/ipv4/
H A Dip_tunnel_core.c500 info->key.tun_flags |= TUNNEL_GENEVE_OPT; in ip_tun_parse_opts_geneve()
601 if (type && type != TUNNEL_GENEVE_OPT) in ip_tun_parse_opts()
610 type = TUNNEL_GENEVE_OPT; in ip_tun_parse_opts()
822 if (tun_info->key.tun_flags & TUNNEL_GENEVE_OPT) in ip_tun_fill_encap_opts()
864 if (info->key.tun_flags & TUNNEL_GENEVE_OPT) { in ip_tun_opts_nlsize()
/openbmc/linux/net/psample/
H A Dpsample.c276 if (tun_key->tun_flags & TUNNEL_GENEVE_OPT && in __psample_ip_tun_to_nlattr()
351 if (tun_key->tun_flags & TUNNEL_GENEVE_OPT) in psample_tunnel_meta_len()
/openbmc/linux/drivers/net/
H A Dgeneve.c243 TUNNEL_GENEVE_OPT); in geneve_rx()
763 if (info->key.tun_flags & TUNNEL_GENEVE_OPT) in geneve_build_header()
/openbmc/linux/net/openvswitch/
H A Dflow_netlink.c758 tun_flags |= TUNNEL_GENEVE_OPT; in ip_tun_from_nlattr()
929 if (output->tun_flags & TUNNEL_GENEVE_OPT && in __ip_tun_to_nlattr()
2784 dst_opt_type = TUNNEL_GENEVE_OPT; in validate_and_copy_set_tun()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c422 NFP_FL_TUNNEL_GENEVE_OPT != TUNNEL_GENEVE_OPT); in nfp_fl_set_tun()