Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/ice/base/
H A Dice_flex_pipe.c472 ice_memset(&hw->tnl, 0, sizeof(hw->tnl), ICE_NONDMA_MEM); in ice_init_pkg_hints()
494 hw->tnl.tbl[hw->tnl.count].type = tnls[i].type; in ice_init_pkg_hints()
495 hw->tnl.tbl[hw->tnl.count].valid = false; in ice_init_pkg_hints()
496 hw->tnl.tbl[hw->tnl.count].in_use = false; in ice_init_pkg_hints()
497 hw->tnl.tbl[hw->tnl.count].marked = false; in ice_init_pkg_hints()
498 hw->tnl.tbl[hw->tnl.count].boost_addr = val; in ice_init_pkg_hints()
499 hw->tnl.tbl[hw->tnl.count].port = 0; in ice_init_pkg_hints()
2016 if (hw->tnl.tbl[i].valid && !hw->tnl.tbl[i].in_use && in ice_find_free_tunnel_entry()
2042 if (hw->tnl.tbl[i].valid && hw->tnl.tbl[i].in_use && in ice_get_open_tunnel_port()
2172 if (hw->tnl.tbl[i].valid && hw->tnl.tbl[i].in_use && in ice_destroy_tunnel()
[all …]
H A Dice_type.h963 struct ice_tunnel_table tnl; member
/f-stack/dpdk/drivers/net/enic/
H A Denic_rxtx.c61 uint8_t tnl; in enic_recv_pkts() local
155 tnl = enic->overlay_offload && in enic_recv_pkts()
159 enic_cq_rx_flags_to_pkt_type(&cqd, tnl); in enic_recv_pkts()
163 if (tnl) { in enic_recv_pkts()
232 bool tnl; in enic_noscatter_recv_pkts() local
281 tnl = overlay && (cqd->completed_index_flags & in enic_noscatter_recv_pkts()
285 tnl); in enic_noscatter_recv_pkts()
288 if (tnl) { in enic_noscatter_recv_pkts()
H A Denic_ethdev.c984 struct rte_eth_udp_tunnel *tnl) in udp_tunnel_common_check() argument
986 if (tnl->prot_type != RTE_TUNNEL_TYPE_VXLAN) in udp_tunnel_common_check()
1010 struct rte_eth_udp_tunnel *tnl) in enicpmd_dev_udp_tunnel_port_add() argument
1016 ret = udp_tunnel_common_check(enic, tnl); in enicpmd_dev_udp_tunnel_port_add()
1023 if (tnl->udp_port == enic->vxlan_port || tnl->udp_port == 0) { in enicpmd_dev_udp_tunnel_port_add()
1025 tnl->udp_port); in enicpmd_dev_udp_tunnel_port_add()
1028 return update_vxlan_port(enic, tnl->udp_port); in enicpmd_dev_udp_tunnel_port_add()
1032 struct rte_eth_udp_tunnel *tnl) in enicpmd_dev_udp_tunnel_port_del() argument
1038 ret = udp_tunnel_common_check(enic, tnl); in enicpmd_dev_udp_tunnel_port_del()
1048 if (tnl->udp_port != enic->vxlan_port) { in enicpmd_dev_udp_tunnel_port_del()
[all …]
H A Denic_rxtx_common.h103 enic_cq_rx_flags_to_pkt_type(struct cq_desc *cqd, uint8_t tnl) in enic_cq_rx_flags_to_pkt_type() argument
199 return cq_type_table[cqrd_flags + tnl]; in enic_cq_rx_flags_to_pkt_type()
H A Denic_rxtx_vec_avx2.c20 bool tnl; in rx_one() local
26 tnl = enic->overlay_offload && (cqd->completed_index_flags & in rx_one()
29 enic_cq_rx_flags_to_pkt_type((struct cq_desc *)cqd, tnl); in rx_one()
32 if (tnl) { in rx_one()
/f-stack/dpdk/drivers/net/bnxt/hcapi/
H A Dhcapi_cfa_p4.h309 } tnl; member
/f-stack/dpdk/drivers/net/i40e/
H A Drte_pmd_i40e.c2132 tnl = pkt_type & RTE_PTYPE_TUNNEL_MASK; in check_invalid_pkt_type()
2166 if (tnl && in check_invalid_pkt_type()
2167 tnl != RTE_PTYPE_TUNNEL_IP && in check_invalid_pkt_type()
2168 tnl != RTE_PTYPE_TUNNEL_GRENAT && in check_invalid_pkt_type()
2169 tnl != RTE_PTYPE_TUNNEL_VXLAN && in check_invalid_pkt_type()
2170 tnl != RTE_PTYPE_TUNNEL_NVGRE && in check_invalid_pkt_type()
2171 tnl != RTE_PTYPE_TUNNEL_GENEVE && in check_invalid_pkt_type()
2172 tnl != RTE_PTYPE_TUNNEL_GTPC && in check_invalid_pkt_type()
2173 tnl != RTE_PTYPE_TUNNEL_GTPU && in check_invalid_pkt_type()
2174 tnl != RTE_PTYPE_TUNNEL_L2TP && in check_invalid_pkt_type()
[all …]