Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dgeneve.c63 int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) in mlx5_geneve_tlv_option_add() argument
67 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_tlv_option_add()
70 mutex_lock(&geneve->sync_lock); in mlx5_geneve_tlv_option_add()
72 if (geneve->refcount) { in mlx5_geneve_tlv_option_add()
73 if (geneve->opt_class == opt->opt_class && in mlx5_geneve_tlv_option_add()
74 geneve->opt_type == opt->type) { in mlx5_geneve_tlv_option_add()
76 geneve->refcount++; in mlx5_geneve_tlv_option_add()
82 mlx5_core_warn(geneve->mdev, in mlx5_geneve_tlv_option_add()
93 res = mlx5_geneve_tlv_option_create(geneve->mdev, in mlx5_geneve_tlv_option_add()
98 mlx5_core_warn(geneve->mdev, in mlx5_geneve_tlv_option_add()
[all …]
Dgeneve.h15 void mlx5_geneve_destroy(struct mlx5_geneve *geneve);
17 int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt);
18 void mlx5_geneve_tlv_option_del(struct mlx5_geneve *geneve);
25 mlx5_geneve_destroy(struct mlx5_geneve *geneve) {} in mlx5_geneve_destroy() argument
27 mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) { return 0; } in mlx5_geneve_tlv_option_add() argument
29 mlx5_geneve_tlv_option_del(struct mlx5_geneve *geneve) {} in mlx5_geneve_tlv_option_del() argument
/linux-5.19.10/drivers/net/
Dgeneve.c50 struct geneve_dev *geneve; member
142 if (eq_tun_id_and_vni((u8 *)&node->geneve->cfg.info.key.tun_id, vni) && in geneve_lookup()
143 addr == node->geneve->cfg.info.key.u.ipv4.dst) in geneve_lookup()
144 return node->geneve; in geneve_lookup()
161 if (eq_tun_id_and_vni((u8 *)&node->geneve->cfg.info.key.tun_id, vni) && in geneve6_lookup()
162 ipv6_addr_equal(&addr6, &node->geneve->cfg.info.key.u.ipv6.dst)) in geneve6_lookup()
163 return node->geneve; in geneve6_lookup()
218 static void geneve_rx(struct geneve_dev *geneve, struct geneve_sock *gs, in geneve_rx() argument
237 geneve->dev->stats.rx_dropped++; in geneve_rx()
249 geneve->dev->stats.rx_frame_errors++; in geneve_rx()
[all …]
DMakefile35 obj-$(CONFIG_GENEVE) += geneve.o
DKconfig255 This allows one to create geneve virtual interfaces that provide
259 http://tools.ietf.org/html/draft-gross-geneve-02
262 will be called geneve.
/linux-5.19.10/tools/testing/selftests/net/
Dpmtu.sh640 setup_vxlan_or_geneve geneve ${prefix4}.${a_r1}.1 ${prefix4}.${b_r1}.1 "df set"
648 setup_vxlan_or_geneve geneve ${prefix6}:${a_r1}::1 ${prefix6}:${b_r1}::1 ""
656 setup_vxlan_or_geneve geneve ${prefix4}.${a_r1}.1 ${prefix4}.${b_r1}.1 "df set" "br0"
664 setup_vxlan_or_geneve geneve ${prefix6}:${a_r1}::1 ${prefix6}:${b_r1}::1 "" "br0"
871 setup_ovs_vxlan_or_geneve geneve ${prefix4}.${a_r1}.1 ${prefix4}.${b_r1}.1
879 setup_ovs_vxlan_or_geneve geneve ${prefix6}:${a_r1}::1 ${prefix6}:${b_r1}::1
1256 test_pmtu_ipvX_over_vxlanY_or_geneveY_exception geneve 4 4
1260 test_pmtu_ipvX_over_vxlanY_or_geneveY_exception geneve 6 4
1272 test_pmtu_ipvX_over_vxlanY_or_geneveY_exception geneve 4 6
1276 test_pmtu_ipvX_over_vxlanY_or_geneveY_exception geneve 6 6
[all …]
/linux-5.19.10/net/openvswitch/
DMakefile26 obj-$(CONFIG_OPENVSWITCH_GENEVE)+= vport-geneve.o
DKconfig72 If you say Y here, then the Open vSwitch will be able create geneve vport.
/linux-5.19.10/Documentation/networking/
Dvxlan.rst86 Types: geneve, vxlan-gpe
/linux-5.19.10/tools/testing/selftests/drivers/net/netdevsim/
Dudp_tunnel_nic.sh88 ip $ipfl link add $dev type geneve \
327 modprobe -r geneve
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile40 mlx5_core-$(CONFIG_MLX5_ESWITCH) += lag/mp.o lag/port_sel.o lib/geneve.o lib/port_tun.o \
Dmain.c942 dev->geneve = mlx5_geneve_create(dev); in mlx5_init_once()
1025 mlx5_geneve_destroy(dev->geneve); in mlx5_init_once()
1056 mlx5_geneve_destroy(dev->geneve); in mlx5_cleanup_once()
Den_tc.c1710 mlx5_geneve_tlv_option_del(priv->mdev->geneve); in mlx5e_tc_del_fdb_flow()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_geneve.c253 res = mlx5_geneve_tlv_option_add(priv->mdev->geneve, option_key); in mlx5e_tc_tun_parse_geneve_options()
/linux-5.19.10/tools/testing/selftests/bpf/
Dtest_tunnel.sh363 TYPE=geneve
387 TYPE=geneve
/linux-5.19.10/include/linux/mlx5/
Ddriver.h785 struct mlx5_geneve *geneve; member