Home
last modified time | relevance | path

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

/dpdk/drivers/net/ice/
H A Dice_dcf_ethdev.c37 struct rte_eth_udp_tunnel *udp_tunnel);
40 struct rte_eth_udp_tunnel *udp_tunnel);
1554 struct rte_eth_udp_tunnel *udp_tunnel) in ice_dcf_dev_udp_tunnel_port_add() argument
1561 if (!udp_tunnel) in ice_dcf_dev_udp_tunnel_port_add()
1564 switch (udp_tunnel->prot_type) { in ice_dcf_dev_udp_tunnel_port_add()
1567 udp_tunnel->udp_port); in ice_dcf_dev_udp_tunnel_port_add()
1571 udp_tunnel->udp_port); in ice_dcf_dev_udp_tunnel_port_add()
1585 struct rte_eth_udp_tunnel *udp_tunnel) in ice_dcf_dev_udp_tunnel_port_del() argument
1592 if (!udp_tunnel) in ice_dcf_dev_udp_tunnel_port_del()
1595 switch (udp_tunnel->prot_type) { in ice_dcf_dev_udp_tunnel_port_del()
[all …]
H A Dice_ethdev.c157 struct rte_eth_udp_tunnel *udp_tunnel);
159 struct rte_eth_udp_tunnel *udp_tunnel);
5636 struct rte_eth_udp_tunnel *udp_tunnel) in ice_dev_udp_tunnel_port_add() argument
5643 if (udp_tunnel == NULL) in ice_dev_udp_tunnel_port_add()
5646 switch (udp_tunnel->prot_type) { in ice_dev_udp_tunnel_port_add()
5651 udp_tunnel->udp_port, true); in ice_dev_udp_tunnel_port_add()
5665 struct rte_eth_udp_tunnel *udp_tunnel) in ice_dev_udp_tunnel_port_del() argument
5672 if (udp_tunnel == NULL) in ice_dev_udp_tunnel_port_del()
5675 switch (udp_tunnel->prot_type) { in ice_dev_udp_tunnel_port_del()
5677 ret = ice_destroy_tunnel(hw, udp_tunnel->udp_port, 0); in ice_dev_udp_tunnel_port_del()
[all …]
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.c4974 if (udp_tunnel == NULL) in txgbe_dev_udp_tunnel_port_add()
4977 switch (udp_tunnel->prot_type) { in txgbe_dev_udp_tunnel_port_add()
4979 if (udp_tunnel->udp_port == 0) { in txgbe_dev_udp_tunnel_port_add()
4987 if (udp_tunnel->udp_port == 0) { in txgbe_dev_udp_tunnel_port_add()
4995 if (udp_tunnel->udp_port == 0) { in txgbe_dev_udp_tunnel_port_add()
5030 if (udp_tunnel == NULL) in txgbe_dev_udp_tunnel_port_del()
5033 switch (udp_tunnel->prot_type) { in txgbe_dev_udp_tunnel_port_del()
5038 udp_tunnel->udp_port); in txgbe_dev_udp_tunnel_port_del()
5048 udp_tunnel->udp_port); in txgbe_dev_udp_tunnel_port_del()
5058 udp_tunnel->udp_port); in txgbe_dev_udp_tunnel_port_del()
[all …]
/dpdk/drivers/net/mlx5/
H A Dmlx5.c1751 struct rte_eth_udp_tunnel *udp_tunnel) in mlx5_udp_tunnel_port_add() argument
1753 MLX5_ASSERT(udp_tunnel != NULL); in mlx5_udp_tunnel_port_add()
1754 if (udp_tunnel->prot_type == RTE_ETH_TUNNEL_TYPE_VXLAN && in mlx5_udp_tunnel_port_add()
1755 udp_tunnel->udp_port == 4789) in mlx5_udp_tunnel_port_add()
1757 if (udp_tunnel->prot_type == RTE_ETH_TUNNEL_TYPE_VXLAN_GPE && in mlx5_udp_tunnel_port_add()
1758 udp_tunnel->udp_port == 4790) in mlx5_udp_tunnel_port_add()
H A Dmlx5.h1594 struct rte_eth_udp_tunnel *udp_tunnel);
/dpdk/drivers/net/bnxt/
H A Dbnxt_ethdev.c2348 struct rte_eth_udp_tunnel *udp_tunnel) in bnxt_udp_tunnel_port_add_op() argument
2358 switch (udp_tunnel->prot_type) { in bnxt_udp_tunnel_port_add_op()
2362 udp_tunnel->udp_port); in bnxt_udp_tunnel_port_add_op()
2363 if (bp->vxlan_port != udp_tunnel->udp_port) { in bnxt_udp_tunnel_port_add_op()
2376 udp_tunnel->udp_port); in bnxt_udp_tunnel_port_add_op()
2410 struct rte_eth_udp_tunnel *udp_tunnel) in bnxt_udp_tunnel_port_del_op() argument
2421 switch (udp_tunnel->prot_type) { in bnxt_udp_tunnel_port_del_op()
2427 if (bp->vxlan_port != udp_tunnel->udp_port) { in bnxt_udp_tunnel_port_del_op()
2429 udp_tunnel->udp_port, bp->vxlan_port); in bnxt_udp_tunnel_port_del_op()
2444 if (bp->geneve_port != udp_tunnel->udp_port) { in bnxt_udp_tunnel_port_del_op()
[all …]
/dpdk/lib/ethdev/
H A Drte_ethdev.c4008 struct rte_eth_udp_tunnel *udp_tunnel) in rte_eth_dev_udp_tunnel_port_add() argument
4015 if (udp_tunnel == NULL) { in rte_eth_dev_udp_tunnel_port_add()
4022 if (udp_tunnel->prot_type >= RTE_ETH_TUNNEL_TYPE_MAX) { in rte_eth_dev_udp_tunnel_port_add()
4029 udp_tunnel)); in rte_eth_dev_udp_tunnel_port_add()
4034 struct rte_eth_udp_tunnel *udp_tunnel) in rte_eth_dev_udp_tunnel_port_delete() argument
4041 if (udp_tunnel == NULL) { in rte_eth_dev_udp_tunnel_port_delete()
4048 if (udp_tunnel->prot_type >= RTE_ETH_TUNNEL_TYPE_MAX) { in rte_eth_dev_udp_tunnel_port_delete()
4055 udp_tunnel)); in rte_eth_dev_udp_tunnel_port_delete()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.c345 struct rte_eth_udp_tunnel *udp_tunnel);
347 struct rte_eth_udp_tunnel *udp_tunnel);
7659 struct rte_eth_udp_tunnel *udp_tunnel) in ixgbe_dev_udp_tunnel_port_add() argument
7670 if (udp_tunnel == NULL) in ixgbe_dev_udp_tunnel_port_add()
7673 switch (udp_tunnel->prot_type) { in ixgbe_dev_udp_tunnel_port_add()
7675 ret = ixgbe_add_vxlan_port(hw, udp_tunnel->udp_port); in ixgbe_dev_udp_tunnel_port_add()
7696 struct rte_eth_udp_tunnel *udp_tunnel) in ixgbe_dev_udp_tunnel_port_del() argument
7707 if (udp_tunnel == NULL) in ixgbe_dev_udp_tunnel_port_del()
7710 switch (udp_tunnel->prot_type) { in ixgbe_dev_udp_tunnel_port_del()
7712 ret = ixgbe_del_vxlan_port(hw, udp_tunnel->udp_port); in ixgbe_dev_udp_tunnel_port_del()
/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c338 struct rte_eth_udp_tunnel *udp_tunnel);
340 struct rte_eth_udp_tunnel *udp_tunnel);
8699 struct rte_eth_udp_tunnel *udp_tunnel) in i40e_dev_udp_tunnel_port_add() argument
8704 if (udp_tunnel == NULL) in i40e_dev_udp_tunnel_port_add()
8707 switch (udp_tunnel->prot_type) { in i40e_dev_udp_tunnel_port_add()
8709 ret = i40e_add_vxlan_port(pf, udp_tunnel->udp_port, in i40e_dev_udp_tunnel_port_add()
8713 ret = i40e_add_vxlan_port(pf, udp_tunnel->udp_port, in i40e_dev_udp_tunnel_port_add()
8734 struct rte_eth_udp_tunnel *udp_tunnel) in i40e_dev_udp_tunnel_port_del() argument
8739 if (udp_tunnel == NULL) in i40e_dev_udp_tunnel_port_del()
8742 switch (udp_tunnel->prot_type) { in i40e_dev_udp_tunnel_port_del()
[all …]