Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_net/
H A Drte_net.c255 return pkt_type; in rte_net_get_ptype()
267 return pkt_type; in rte_net_get_ptype()
285 return pkt_type; in rte_net_get_ptype()
288 return pkt_type; in rte_net_get_ptype()
293 return pkt_type; in rte_net_get_ptype()
354 return pkt_type; in rte_net_get_ptype()
364 return pkt_type; in rte_net_get_ptype()
367 return pkt_type; in rte_net_get_ptype()
384 return pkt_type; in rte_net_get_ptype()
425 return pkt_type; in rte_net_get_ptype()
[all …]
/f-stack/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()
/f-stack/freebsd/netgraph/bluetooth/hci/
H A Dng_hci_ulpi.c257 req->cp.pkt_type = (NG_HCI_PKT_DM1|NG_HCI_PKT_DH1); in ng_hci_lp_acl_con_req()
263 req->cp.pkt_type &= unit->packet_mask; in ng_hci_lp_acl_con_req()
267 req->cp.pkt_type = (NG_HCI_PKT_DM1|NG_HCI_PKT_DH1); in ng_hci_lp_acl_con_req()
269 req->cp.pkt_type = htole16(req->cp.pkt_type); in ng_hci_lp_acl_con_req()
450 req->cp.pkt_type = NG_HCI_PKT_HV1; in ng_hci_lp_sco_con_req()
452 req->cp.pkt_type |= NG_HCI_PKT_HV2; in ng_hci_lp_sco_con_req()
454 req->cp.pkt_type |= NG_HCI_PKT_HV3; in ng_hci_lp_sco_con_req()
456 req->cp.pkt_type &= unit->packet_mask; in ng_hci_lp_sco_con_req()
457 if ((req->cp.pkt_type & (NG_HCI_PKT_HV1| in ng_hci_lp_sco_con_req()
460 req->cp.pkt_type = NG_HCI_PKT_HV1; in ng_hci_lp_sco_con_req()
[all …]
/f-stack/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.h43 #define HINIC_PKT_TYPE_FIND_ID(pkt_type) ((pkt_type) - HINIC_MAX_Q_FILTERS) argument
88 uint8_t pkt_type; member
/f-stack/dpdk/drivers/net/dpaa2/
H A Ddpaa2_rxtx.c164 pkt_type |= RTE_PTYPE_L2_ETHER; in dpaa2_dev_rx_parse_slow()
171 pkt_type |= RTE_PTYPE_L3_IPV4; in dpaa2_dev_rx_parse_slow()
178 pkt_type |= RTE_PTYPE_L3_IPV6; in dpaa2_dev_rx_parse_slow()
195 pkt_type |= RTE_PTYPE_L4_FRAG; in dpaa2_dev_rx_parse_slow()
198 pkt_type |= RTE_PTYPE_L4_NONFRAG; in dpaa2_dev_rx_parse_slow()
202 pkt_type |= RTE_PTYPE_L4_UDP; in dpaa2_dev_rx_parse_slow()
205 pkt_type |= RTE_PTYPE_L4_TCP; in dpaa2_dev_rx_parse_slow()
208 pkt_type |= RTE_PTYPE_L4_SCTP; in dpaa2_dev_rx_parse_slow()
211 pkt_type |= RTE_PTYPE_L4_ICMP; in dpaa2_dev_rx_parse_slow()
214 pkt_type |= RTE_PTYPE_UNKNOWN; in dpaa2_dev_rx_parse_slow()
[all …]
/f-stack/dpdk/drivers/net/ionic/
H A Dionic_rxtx.c728 uint32_t pkt_type; in ionic_rx_clean() local
819 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4; in ionic_rx_clean()
822 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6; in ionic_rx_clean()
825 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4 | in ionic_rx_clean()
829 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6 | in ionic_rx_clean()
833 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4 | in ionic_rx_clean()
837 pkt_type = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6 | in ionic_rx_clean()
846 pkt_type = RTE_PTYPE_L2_ETHER_ARP; in ionic_rx_clean()
848 pkt_type = RTE_PTYPE_UNKNOWN; in ionic_rx_clean()
853 rxm->packet_type = pkt_type; in ionic_rx_clean()
/f-stack/dpdk/examples/ipsec-secgw/
H A Dipsec_worker.h9 enum pkt_type { enum
H A Dipsec_worker.c15 static inline enum pkt_type
175 get_route(struct rte_mbuf *pkt, struct route_table *rt, enum pkt_type type) in get_route()
192 enum pkt_type type; in process_ipsec_ev_inbound()
293 enum pkt_type type; in process_ipsec_ev_outbound()
/f-stack/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);
/f-stack/dpdk/drivers/net/atlantic/
H A Datl_rxtx.c850 if (rxq->l3_csum_enabled && ((rxd_wb->pkt_type & 0x3) == 0)) { in atl_desc_to_offload_flags()
877 uint16_t l2_l3_type = rxd_wb->pkt_type & 0x3; in atl_desc_to_pkt_type()
878 uint16_t l4_type = (rxd_wb->pkt_type & 0x1C) >> 2; in atl_desc_to_pkt_type()
910 if (rxd_wb->pkt_type & BIT(5)) in atl_desc_to_pkt_type()
/f-stack/freebsd/netgraph/bluetooth/include/
H A Dng_hci.h726 u_int16_t pkt_type; /* packet type */ member
744 u_int16_t pkt_type; /* packet type */ member
808 u_int16_t pkt_type; /* packet type */ member
2010 u_int16_t pkt_type; /* packet type */ member
/f-stack/dpdk/drivers/common/sfc_efx/base/
H A Defx_ev.c847 uint32_t pkt_type; in siena_ev_rx() local
849 pkt_type = EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_PKT_TYPE); in siena_ev_rx()
850 if (pkt_type >= FSE_AZ_RX_EV_PKT_TYPE_VLAN) in siena_ev_rx()
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_switch.c5383 int pkt_type; in _ice_set_vsi_promisc() local
5412 pkt_type = 0; in _ice_set_vsi_promisc()
5417 pkt_type = UCAST_FLTR; in _ice_set_vsi_promisc()
5420 pkt_type = UCAST_FLTR; in _ice_set_vsi_promisc()
5424 pkt_type = MCAST_FLTR; in _ice_set_vsi_promisc()
5427 pkt_type = MCAST_FLTR; in _ice_set_vsi_promisc()
5431 pkt_type = BCAST_FLTR; in _ice_set_vsi_promisc()
5434 pkt_type = BCAST_FLTR; in _ice_set_vsi_promisc()
5448 if (pkt_type == BCAST_FLTR) { in _ice_set_vsi_promisc()
5451 pkt_type == UCAST_FLTR) { in _ice_set_vsi_promisc()
[all …]
/f-stack/dpdk/app/test-pmd/
H A Dcsumonly.c256 uint32_t pkt_type) in parse_vxlan() argument
265 RTE_ETH_IS_TUNNEL_PKT(pkt_type) == 0) in parse_vxlan()
H A Dcmdline.c14951 uint32_t pkt_type; member
14982 pkt_type, RTE_UINT32);
15000 res->pkt_type); in cmd_ptype_mapping_replace_parsed()
15008 res->target, res->pkt_type); in cmd_ptype_mapping_replace_parsed()
/f-stack/dpdk/drivers/net/atlantic/hw_atl/
H A Dhw_atl_utils.h81 u32 pkt_type:8; member
/f-stack/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_niccfg.h736 u16 pkt_type; member
/f-stack/dpdk/examples/performance-thread/l3fwd-thread/
H A Dmain.c1724 uint32_t pkt_type = in process_burst() local
1733 if (pkt_type & RTE_PTYPE_L3_IPV4) { in process_burst()
1735 } else if (pkt_type & in process_burst()
/f-stack/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst1739 testpmd> ptype mapping replace (port_id) (target) (mask) (pkt_type)
1747 * ``pkt_type``: The new software ptype to replace the old ones.