Home
last modified time | relevance | path

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

/dpdk/drivers/net/enic/
H A Denic_ethdev.c971 struct rte_eth_udp_tunnel *tnl) in udp_tunnel_common_check() argument
973 if (tnl->prot_type != RTE_ETH_TUNNEL_TYPE_VXLAN && in udp_tunnel_common_check()
974 tnl->prot_type != RTE_ETH_TUNNEL_TYPE_GENEVE) in udp_tunnel_common_check()
1003 struct rte_eth_udp_tunnel *tnl) in enicpmd_dev_udp_tunnel_port_add() argument
1011 ret = udp_tunnel_common_check(enic, tnl); in enicpmd_dev_udp_tunnel_port_add()
1023 if (tnl->udp_port == port || tnl->udp_port == 0) { in enicpmd_dev_udp_tunnel_port_add()
1025 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
1040 ret = udp_tunnel_common_check(enic, tnl); in enicpmd_dev_udp_tunnel_port_del()
1055 if (tnl->udp_port != port) { in enicpmd_dev_udp_tunnel_port_del()
[all …]
H A Denic_rxtx.c50 uint8_t tnl; in enic_recv_pkts_common() local
169 tnl = enic->overlay_offload && in enic_recv_pkts_common()
173 enic_cq_rx_flags_to_pkt_type(&cqd, tnl); in enic_recv_pkts_common()
177 if (tnl) { in enic_recv_pkts_common()
258 bool tnl; in enic_noscatter_recv_pkts() local
307 tnl = overlay && (cqd->completed_index_flags & in enic_noscatter_recv_pkts()
311 tnl); in enic_noscatter_recv_pkts()
314 if (tnl) { in enic_noscatter_recv_pkts()
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()
/dpdk/drivers/net/ice/base/
H A Dice_flex_pipe.c564 hw->tnl.tbl[hw->tnl.count].type = tnls[i].type; in ice_add_tunnel_hint()
565 hw->tnl.tbl[hw->tnl.count].valid = false; in ice_add_tunnel_hint()
566 hw->tnl.tbl[hw->tnl.count].in_use = false; in ice_add_tunnel_hint()
567 hw->tnl.tbl[hw->tnl.count].marked = false; in ice_add_tunnel_hint()
568 hw->tnl.tbl[hw->tnl.count].boost_addr = val; in ice_add_tunnel_hint()
569 hw->tnl.tbl[hw->tnl.count].port = 0; in ice_add_tunnel_hint()
609 ice_memset(&hw->tnl, 0, sizeof(hw->tnl), ICE_NONDMA_MEM); in ice_init_pkg_hints()
2240 if (hw->tnl.tbl[i].valid && !hw->tnl.tbl[i].in_use && in ice_find_free_tunnel_entry()
2266 if (hw->tnl.tbl[i].valid && hw->tnl.tbl[i].in_use && in ice_get_open_tunnel_port()
2483 if (hw->tnl.tbl[i].valid && hw->tnl.tbl[i].in_use && in ice_destroy_tunnel()
[all …]
H A Dice_type.h1236 struct ice_tunnel_table tnl; member
/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 …]