Searched refs:tnl (Results 1 – 8 of 8) sorted by relevance
472 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 …]
963 struct ice_tunnel_table tnl; member
61 uint8_t tnl; in enic_recv_pkts() local155 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() local281 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()
984 struct rte_eth_udp_tunnel *tnl) in udp_tunnel_common_check() argument986 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() argument1016 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() argument1038 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 …]
103 enic_cq_rx_flags_to_pkt_type(struct cq_desc *cqd, uint8_t tnl) in enic_cq_rx_flags_to_pkt_type() argument199 return cq_type_table[cqrd_flags + tnl]; in enic_cq_rx_flags_to_pkt_type()
20 bool tnl; in rx_one() local26 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()
309 } tnl; member
2132 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 …]