Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5.c1218 struct rte_eth_udp_tunnel *udp_tunnel) in mlx5_udp_tunnel_port_add() argument
1220 MLX5_ASSERT(udp_tunnel != NULL); in mlx5_udp_tunnel_port_add()
1221 if (udp_tunnel->prot_type == RTE_TUNNEL_TYPE_VXLAN && in mlx5_udp_tunnel_port_add()
1222 udp_tunnel->udp_port == 4789) in mlx5_udp_tunnel_port_add()
1224 if (udp_tunnel->prot_type == RTE_TUNNEL_TYPE_VXLAN_GPE && in mlx5_udp_tunnel_port_add()
1225 udp_tunnel->udp_port == 4790) in mlx5_udp_tunnel_port_add()
H A Dmlx5.h1028 struct rte_eth_udp_tunnel *udp_tunnel);
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_ethdev.c2109 struct rte_eth_udp_tunnel *udp_tunnel) in bnxt_udp_tunnel_port_add_op() argument
2119 switch (udp_tunnel->prot_type) { in bnxt_udp_tunnel_port_add_op()
2123 udp_tunnel->udp_port); in bnxt_udp_tunnel_port_add_op()
2124 if (bp->vxlan_port != udp_tunnel->udp_port) { in bnxt_udp_tunnel_port_add_op()
2138 udp_tunnel->udp_port); in bnxt_udp_tunnel_port_add_op()
2161 struct rte_eth_udp_tunnel *udp_tunnel) in bnxt_udp_tunnel_port_del_op() argument
2172 switch (udp_tunnel->prot_type) { in bnxt_udp_tunnel_port_del_op()
2178 if (bp->vxlan_port != udp_tunnel->udp_port) { in bnxt_udp_tunnel_port_del_op()
2180 udp_tunnel->udp_port, bp->vxlan_port); in bnxt_udp_tunnel_port_del_op()
2195 if (bp->geneve_port != udp_tunnel->udp_port) { in bnxt_udp_tunnel_port_del_op()
[all …]
/f-stack/dpdk/drivers/net/ice/
H A Dice_ethdev.c139 struct rte_eth_udp_tunnel *udp_tunnel);
141 struct rte_eth_udp_tunnel *udp_tunnel);
5220 struct rte_eth_udp_tunnel *udp_tunnel) in ice_dev_udp_tunnel_port_add() argument
5225 if (udp_tunnel == NULL) in ice_dev_udp_tunnel_port_add()
5228 switch (udp_tunnel->prot_type) { in ice_dev_udp_tunnel_port_add()
5230 ret = ice_create_tunnel(hw, TNL_VXLAN, udp_tunnel->udp_port); in ice_dev_udp_tunnel_port_add()
5244 struct rte_eth_udp_tunnel *udp_tunnel) in ice_dev_udp_tunnel_port_del() argument
5249 if (udp_tunnel == NULL) in ice_dev_udp_tunnel_port_del()
5252 switch (udp_tunnel->prot_type) { in ice_dev_udp_tunnel_port_del()
5254 ret = ice_destroy_tunnel(hw, udp_tunnel->udp_port, 0); in ice_dev_udp_tunnel_port_del()
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev.c3864 struct rte_eth_udp_tunnel *udp_tunnel) in rte_eth_dev_udp_tunnel_port_add() argument
3869 if (udp_tunnel == NULL) { in rte_eth_dev_udp_tunnel_port_add()
3874 if (udp_tunnel->prot_type >= RTE_TUNNEL_TYPE_MAX) { in rte_eth_dev_udp_tunnel_port_add()
3882 udp_tunnel)); in rte_eth_dev_udp_tunnel_port_add()
3887 struct rte_eth_udp_tunnel *udp_tunnel) in rte_eth_dev_udp_tunnel_port_delete() argument
3894 if (udp_tunnel == NULL) { in rte_eth_dev_udp_tunnel_port_delete()
3899 if (udp_tunnel->prot_type >= RTE_TUNNEL_TYPE_MAX) { in rte_eth_dev_udp_tunnel_port_delete()
3906 udp_tunnel)); in rte_eth_dev_udp_tunnel_port_delete()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.c352 struct rte_eth_udp_tunnel *udp_tunnel);
354 struct rte_eth_udp_tunnel *udp_tunnel);
7853 struct rte_eth_udp_tunnel *udp_tunnel) in ixgbe_dev_udp_tunnel_port_add() argument
7864 if (udp_tunnel == NULL) in ixgbe_dev_udp_tunnel_port_add()
7867 switch (udp_tunnel->prot_type) { in ixgbe_dev_udp_tunnel_port_add()
7869 ret = ixgbe_add_vxlan_port(hw, udp_tunnel->udp_port); in ixgbe_dev_udp_tunnel_port_add()
7890 struct rte_eth_udp_tunnel *udp_tunnel) in ixgbe_dev_udp_tunnel_port_del() argument
7901 if (udp_tunnel == NULL) in ixgbe_dev_udp_tunnel_port_del()
7904 switch (udp_tunnel->prot_type) { in ixgbe_dev_udp_tunnel_port_del()
7906 ret = ixgbe_del_vxlan_port(hw, udp_tunnel->udp_port); in ixgbe_dev_udp_tunnel_port_del()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c318 struct rte_eth_udp_tunnel *udp_tunnel);
320 struct rte_eth_udp_tunnel *udp_tunnel);
8722 struct rte_eth_udp_tunnel *udp_tunnel) in i40e_dev_udp_tunnel_port_add() argument
8727 if (udp_tunnel == NULL) in i40e_dev_udp_tunnel_port_add()
8730 switch (udp_tunnel->prot_type) { in i40e_dev_udp_tunnel_port_add()
8732 ret = i40e_add_vxlan_port(pf, udp_tunnel->udp_port, in i40e_dev_udp_tunnel_port_add()
8736 ret = i40e_add_vxlan_port(pf, udp_tunnel->udp_port, in i40e_dev_udp_tunnel_port_add()
8757 struct rte_eth_udp_tunnel *udp_tunnel) in i40e_dev_udp_tunnel_port_del() argument
8762 if (udp_tunnel == NULL) in i40e_dev_udp_tunnel_port_del()
8765 switch (udp_tunnel->prot_type) { in i40e_dev_udp_tunnel_port_del()
[all …]