Home
last modified time | relevance | path

Searched refs:pkt_type (Results 1 – 21 of 21) sorted by relevance

/dpdk/lib/net/
H A Drte_net.c256 return pkt_type; in rte_net_get_ptype()
268 return pkt_type; in rte_net_get_ptype()
286 return pkt_type; in rte_net_get_ptype()
289 return pkt_type; in rte_net_get_ptype()
294 return pkt_type; in rte_net_get_ptype()
355 return pkt_type; in rte_net_get_ptype()
365 return pkt_type; in rte_net_get_ptype()
368 return pkt_type; in rte_net_get_ptype()
385 return pkt_type; in rte_net_get_ptype()
426 return pkt_type; in rte_net_get_ptype()
[all …]
/dpdk/drivers/net/bnxt/
H A Dbnxt_rxr.h335 uint32_t l3, pkt_type = 0, vlan = 0; in bnxt_parse_pkt_type_v2() local
350 pkt_type |= vlan ? RTE_PTYPE_L2_ETHER_VLAN : RTE_PTYPE_L2_ETHER; in bnxt_parse_pkt_type_v2()
366 pkt_type |= l3 | RTE_PTYPE_L4_ICMP; in bnxt_parse_pkt_type_v2()
368 pkt_type |= l3 | RTE_PTYPE_INNER_L4_ICMP; in bnxt_parse_pkt_type_v2()
372 pkt_type |= l3 | RTE_PTYPE_L4_TCP; in bnxt_parse_pkt_type_v2()
374 pkt_type |= l3 | RTE_PTYPE_INNER_L4_TCP; in bnxt_parse_pkt_type_v2()
378 pkt_type |= l3 | RTE_PTYPE_L4_UDP; in bnxt_parse_pkt_type_v2()
380 pkt_type |= l3 | RTE_PTYPE_INNER_L4_UDP; in bnxt_parse_pkt_type_v2()
383 pkt_type |= l3; in bnxt_parse_pkt_type_v2()
387 mbuf->packet_type = pkt_type; in bnxt_parse_pkt_type_v2()
/dpdk/examples/l3fwd/
H A Dl3fwd_em_hlm.h204 uint32_t pkt_type = RTE_PTYPE_L3_MASK | in l3fwd_em_send_packets() local
209 pkt_type &= pkts_burst[j + i]->packet_type; in l3fwd_em_send_packets()
211 l3_type = pkt_type & RTE_PTYPE_L3_MASK; in l3fwd_em_send_packets()
212 tcp_or_udp = pkt_type & (RTE_PTYPE_L4_TCP | RTE_PTYPE_L4_UDP); in l3fwd_em_send_packets()
271 uint32_t pkt_type = RTE_PTYPE_L3_MASK | in l3fwd_em_process_events() local
276 pkt_type &= pkts_burst[j + i]->packet_type; in l3fwd_em_process_events()
278 l3_type = pkt_type & RTE_PTYPE_L3_MASK; in l3fwd_em_process_events()
279 tcp_or_udp = pkt_type & (RTE_PTYPE_L4_TCP | RTE_PTYPE_L4_UDP); in l3fwd_em_process_events()
339 uint32_t pkt_type = in l3fwd_em_process_event_vector() local
344 pkt_type &= mbufs[j + i]->packet_type; in l3fwd_em_process_event_vector()
[all …]
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_flow.c1802 lacp_action.pkt_type = PKT_LACP_TYPE; in hinic_set_lacp_tcam()
1945 filter_info->pkt_type = PKT_VRRP_TYPE; in hinic_filter_info_init()
2028 filter_info->pkt_type, filter->queue, in hinic_add_5tuple_filter()
2130 filter_info->pkt_type, in hinic_remove_5tuple_filter()
2138 filter_info->pkt_type = 0; in hinic_remove_5tuple_filter()
2245 filter_info->pkt_type = PKT_LACP_TYPE; in hinic_ethertype_filter_lookup()
2249 filter_info->pkt_type = PKT_ARP_TYPE; in hinic_ethertype_filter_lookup()
2291 filter_info->pkt_type = 0; in hinic_ethertype_filter_remove()
2361 filter_info->pkt_type, in hinic_add_del_ethertype_filter()
2367 filter_info->pkt_type, in hinic_add_del_ethertype_filter()
[all …]
H A Dhinic_pmd_ethdev.h59 #define HINIC_PKT_TYPE_FIND_ID(pkt_type) ((pkt_type) - HINIC_MAX_Q_FILTERS) argument
104 uint8_t pkt_type; member
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_rxtx.c167 pkt_type |= RTE_PTYPE_L2_ETHER; in dpaa2_dev_rx_parse_slow()
178 pkt_type |= RTE_PTYPE_L3_IPV4; in dpaa2_dev_rx_parse_slow()
188 pkt_type |= RTE_PTYPE_L3_IPV6; in dpaa2_dev_rx_parse_slow()
208 pkt_type |= RTE_PTYPE_L4_FRAG; in dpaa2_dev_rx_parse_slow()
211 pkt_type |= RTE_PTYPE_L4_NONFRAG; in dpaa2_dev_rx_parse_slow()
215 pkt_type |= RTE_PTYPE_L4_UDP; in dpaa2_dev_rx_parse_slow()
218 pkt_type |= RTE_PTYPE_L4_TCP; in dpaa2_dev_rx_parse_slow()
221 pkt_type |= RTE_PTYPE_L4_SCTP; in dpaa2_dev_rx_parse_slow()
224 pkt_type |= RTE_PTYPE_L4_ICMP; in dpaa2_dev_rx_parse_slow()
227 pkt_type |= RTE_PTYPE_UNKNOWN; in dpaa2_dev_rx_parse_slow()
[all …]
/dpdk/drivers/net/ionic/
H A Dionic_rxtx.c775 uint32_t pkt_type; in ionic_rx_clean() local
873 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4; in ionic_rx_clean()
876 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6; in ionic_rx_clean()
879 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4 | in ionic_rx_clean()
883 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6 | in ionic_rx_clean()
887 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4 | in ionic_rx_clean()
891 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6 | in ionic_rx_clean()
900 pkt_type = RTE_PTYPE_L2_ETHER_ARP; in ionic_rx_clean()
902 pkt_type = RTE_PTYPE_UNKNOWN; in ionic_rx_clean()
908 rxm->packet_type = pkt_type; in ionic_rx_clean()
/dpdk/examples/ipsec-secgw/
H A Dipsec_worker.h9 enum pkt_type { enum
H A Dipsec_worker.c20 static inline enum pkt_type
274 get_route(struct rte_mbuf *pkt, struct route_table *rt, enum pkt_type type) in get_route()
291 enum pkt_type type; in process_ipsec_ev_inbound()
393 enum pkt_type type; in process_ipsec_ev_outbound()
563 enum pkt_type type; in classify_pkt()
/dpdk/drivers/net/i40e/
H A Drte_pmd_i40e.c2129 l2 = pkt_type & RTE_PTYPE_L2_MASK; in check_invalid_pkt_type()
2130 l3 = pkt_type & RTE_PTYPE_L3_MASK; in check_invalid_pkt_type()
2131 l4 = pkt_type & RTE_PTYPE_L4_MASK; in check_invalid_pkt_type()
2132 tnl = pkt_type & RTE_PTYPE_TUNNEL_MASK; in check_invalid_pkt_type()
2133 il2 = pkt_type & RTE_PTYPE_INNER_L2_MASK; in check_invalid_pkt_type()
2218 if (pkt_type == RTE_PTYPE_UNKNOWN) in check_invalid_ptype_mapping()
2224 if (check_invalid_pkt_type(pkt_type)) in check_invalid_ptype_mapping()
2323 uint32_t pkt_type) in rte_pmd_i40e_ptype_mapping_replace() argument
2339 if (check_invalid_pkt_type(pkt_type)) in rte_pmd_i40e_ptype_mapping_replace()
2348 ad->ptype_tbl[i] = pkt_type; in rte_pmd_i40e_ptype_mapping_replace()
[all …]
H A Drte_pmd_i40e.h843 uint32_t pkt_type);
/dpdk/drivers/net/atlantic/
H A Datl_rxtx.c845 if (rxq->l3_csum_enabled && ((rxd_wb->pkt_type & 0x3) == 0)) { in atl_desc_to_offload_flags()
872 uint16_t l2_l3_type = rxd_wb->pkt_type & 0x3; in atl_desc_to_pkt_type()
873 uint16_t l4_type = (rxd_wb->pkt_type & 0x1C) >> 2; in atl_desc_to_pkt_type()
905 if (rxd_wb->pkt_type & BIT(5)) in atl_desc_to_pkt_type()
/dpdk/drivers/common/sfc_efx/base/
H A Defx_ev.c866 uint32_t pkt_type; in siena_ev_rx() local
868 pkt_type = EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_PKT_TYPE); in siena_ev_rx()
869 if (pkt_type >= FSE_AZ_RX_EV_PKT_TYPE_VLAN) in siena_ev_rx()
/dpdk/drivers/net/ice/base/
H A Dice_switch.c6064 int pkt_type; in _ice_set_vsi_promisc() local
6093 pkt_type = 0; in _ice_set_vsi_promisc()
6098 pkt_type = UCAST_FLTR; in _ice_set_vsi_promisc()
6101 pkt_type = UCAST_FLTR; in _ice_set_vsi_promisc()
6105 pkt_type = MCAST_FLTR; in _ice_set_vsi_promisc()
6108 pkt_type = MCAST_FLTR; in _ice_set_vsi_promisc()
6112 pkt_type = BCAST_FLTR; in _ice_set_vsi_promisc()
6115 pkt_type = BCAST_FLTR; in _ice_set_vsi_promisc()
6129 if (pkt_type == BCAST_FLTR) { in _ice_set_vsi_promisc()
6132 pkt_type == UCAST_FLTR) { in _ice_set_vsi_promisc()
[all …]
/dpdk/drivers/net/atlantic/hw_atl/
H A Dhw_atl_utils.h81 u32 pkt_type:8; member
/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_niccfg.h727 u16 pkt_type; member
/dpdk/drivers/net/txgbe/
H A Dtxgbe_fdir.c616 fdirflex |= TXGBE_FDIRPIFLEX_PTYPE(be_to_le16(input->pkt_type)); in fdir_write_perfect_filter()
H A Dtxgbe_flow.c2142 rule->input.pkt_type = cpu_to_be16(txgbe_encode_ptype(ptype)); in txgbe_parse_fdir_filter_normal()
/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_type.h130 __be16 pkt_type; member
/dpdk/app/test-pmd/
H A Dcmdline.c15757 uint32_t pkt_type; member
15788 pkt_type, RTE_UINT32);
15806 res->pkt_type); in cmd_ptype_mapping_replace_parsed()
15814 res->target, res->pkt_type); in cmd_ptype_mapping_replace_parsed()
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst1759 testpmd> ptype mapping replace (port_id) (target) (mask) (pkt_type)
1767 * ``pkt_type``: The new software ptype to replace the old ones.