| /f-stack/dpdk/drivers/net/ice/base/ |
| H A D | ice_flow.c | 830 ice_and_bitmap(params->ptypes, params->ptypes, in ice_flow_proc_seg_hdrs() 880 ice_and_bitmap(params->ptypes, params->ptypes, in ice_flow_proc_seg_hdrs() 897 ice_and_bitmap(params->ptypes, params->ptypes, in ice_flow_proc_seg_hdrs() 919 ice_and_bitmap(params->ptypes, params->ptypes, in ice_flow_proc_seg_hdrs() 923 ice_and_bitmap(params->ptypes, params->ptypes, in ice_flow_proc_seg_hdrs() 927 ice_and_bitmap(params->ptypes, params->ptypes, in ice_flow_proc_seg_hdrs() 931 ice_and_bitmap(params->ptypes, params->ptypes, in ice_flow_proc_seg_hdrs() 939 ice_and_bitmap(params->ptypes, params->ptypes, in ice_flow_proc_seg_hdrs() 947 ice_and_bitmap(params->ptypes, params->ptypes, in ice_flow_proc_seg_hdrs() 955 ice_and_bitmap(params->ptypes, params->ptypes, in ice_flow_proc_seg_hdrs() [all …]
|
| H A D | ice_flex_pipe.h | 55 ice_add_prof(struct ice_hw *hw, enum ice_block blk, u64 id, u8 ptypes[],
|
| H A D | ice_flex_pipe.c | 2293 *ptg = hw->blk[blk].xlt1.ptypes[ptype].ptg; in ice_ptg_find_ptype() 2341 if (ptype == (p - hw->blk[blk].xlt1.ptypes)) { in ice_ptg_remove_ptype() 2351 hw->blk[blk].xlt1.ptypes[ptype].next_ptype = NULL; in ice_ptg_remove_ptype() 2397 hw->blk[blk].xlt1.ptypes[ptype].next_ptype = in ice_ptg_add_mv_ptype() 2400 &hw->blk[blk].xlt1.ptypes[ptype]; in ice_ptg_add_mv_ptype() 2402 hw->blk[blk].xlt1.ptypes[ptype].ptg = ptg; in ice_ptg_add_mv_ptype() 3764 ice_free(hw, hw->blk[i].xlt1.ptypes); in ice_free_hw_tbls() 3822 ice_memset(xlt1->ptypes, 0, xlt1->count * sizeof(*xlt1->ptypes), in ice_clear_hw_tbls() 3889 xlt1->ptypes = (struct ice_ptg_ptype *) in ice_init_hw_tbls() 3892 if (!xlt1->ptypes) in ice_init_hw_tbls() [all …]
|
| H A D | ice_flex_type.h | 635 struct ice_ptg_ptype *ptypes; member
|
| /f-stack/dpdk/lib/librte_node/ |
| H A D | ethdev_rx.c | 149 uint32_t ptypes[MAX_PTYPES]; in ethdev_ptype_setup() local 153 rc = rte_eth_dev_get_supported_ptypes(port, RTE_PTYPE_L3_MASK, ptypes, in ethdev_ptype_setup() 156 if (ptypes[i] & RTE_PTYPE_L3_IPV4) in ethdev_ptype_setup() 158 if (ptypes[i] & RTE_PTYPE_L3_IPV6) in ethdev_ptype_setup()
|
| /f-stack/dpdk/examples/l3fwd/ |
| H A D | l3fwd_lpm.c | 559 uint32_t ptypes[ret]; in lpm_check_ptype() local 561 ret = rte_eth_dev_get_supported_ptypes(portid, ptype_mask, ptypes, ret); in lpm_check_ptype() 563 if (ptypes[i] & RTE_PTYPE_L3_IPV4) in lpm_check_ptype() 565 if (ptypes[i] & RTE_PTYPE_L3_IPV6) in lpm_check_ptype()
|
| H A D | l3fwd_em.c | 529 uint32_t ptypes[ret]; in em_check_ptype() local 531 ret = rte_eth_dev_get_supported_ptypes(portid, ptype_mask, ptypes, ret); in em_check_ptype() 533 switch (ptypes[i]) { in em_check_ptype()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_lookup.c | 25 static const uint32_t ptypes[] = { in otx2_nix_supported_ptypes_get() local 62 return ptypes; in otx2_nix_supported_ptypes_get()
|
| /f-stack/dpdk/drivers/net/netvsc/ |
| H A D | hn_rndis.c | 953 uint32_t ptypes; in hn_rndis_get_ptypes() local 964 ptypes = RTE_PTYPE_L2_ETHER; in hn_rndis_get_ptypes() 967 ptypes |= RTE_PTYPE_L3_IPV4; in hn_rndis_get_ptypes() 971 ptypes |= RTE_PTYPE_L4_TCP; in hn_rndis_get_ptypes() 975 ptypes |= RTE_PTYPE_L4_UDP; in hn_rndis_get_ptypes() 977 return ptypes; in hn_rndis_get_ptypes()
|
| H A D | hn_vf.c | 251 const uint32_t *ptypes = NULL; in hn_vf_supported_ptypes() local 256 ptypes = (*vf_dev->dev_ops->dev_supported_ptypes_get)(vf_dev); in hn_vf_supported_ptypes() 259 return ptypes; in hn_vf_supported_ptypes()
|
| /f-stack/dpdk/examples/ip_fragmentation/ |
| H A D | main.c | 658 uint32_t ptypes[ret]; in check_ptype() local 660 ret = rte_eth_dev_get_supported_ptypes(portid, ptype_mask, ptypes, ret); in check_ptype() 662 if (ptypes[i] & RTE_PTYPE_L3_IPV4) in check_ptype() 664 if (ptypes[i] & RTE_PTYPE_L3_IPV6) in check_ptype()
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_ethdev.c | 419 static const uint32_t ptypes[] = { in mlx5_dev_supported_ptypes_get() local 441 return ptypes; in mlx5_dev_supported_ptypes_get()
|
| /f-stack/dpdk/drivers/net/mvneta/ |
| H A D | mvneta_ethdev.c | 204 static const uint32_t ptypes[] = { in mvneta_dev_supported_ptypes_get() local 213 return ptypes; in mvneta_dev_supported_ptypes_get()
|
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4_ethdev.c | 939 static const uint32_t ptypes[] = { in mlx4_dev_supported_ptypes_get() local 967 return ptypes; in mlx4_dev_supported_ptypes_get()
|
| /f-stack/dpdk/drivers/net/thunderx/ |
| H A D | nicvf_ethdev.c | 317 static uint32_t ptypes[32]; in nicvf_dev_supported_ptypes_get() local 337 memcpy(ptypes, ptypes_common, copied); in nicvf_dev_supported_ptypes_get() 339 memcpy((char *)ptypes + copied, ptypes_tunnel, in nicvf_dev_supported_ptypes_get() 344 memcpy((char *)ptypes + copied, &ptypes_end, sizeof(ptypes_end)); in nicvf_dev_supported_ptypes_get() 347 return ptypes; in nicvf_dev_supported_ptypes_get()
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ptypes.c | 189 static u32 ptypes[] = { in txgbe_get_supported_ptypes() local 209 return ptypes; in txgbe_get_supported_ptypes()
|
| /f-stack/dpdk/drivers/net/enetc/ |
| H A D | enetc_ethdev.c | 72 static const uint32_t ptypes[] = { in enetc_supported_ptypes_get() local 83 return ptypes; in enetc_supported_ptypes_get()
|
| /f-stack/dpdk/drivers/net/pfe/ |
| H A D | pfe_ethdev.c | 531 static const uint32_t ptypes[] = { in pfe_supported_ptypes_get() local 545 return ptypes; in pfe_supported_ptypes_get()
|
| /f-stack/dpdk/examples/l3fwd-power/ |
| H A D | main.c | 2205 uint32_t ptypes[ret]; in check_ptype() local 2207 ret = rte_eth_dev_get_supported_ptypes(portid, ptype_mask, ptypes, ret); in check_ptype() 2209 if (ptypes[i] & RTE_PTYPE_L3_IPV4) in check_ptype() 2212 if (ptypes[i] & RTE_PTYPE_L3_IPV6) in check_ptype()
|
| /f-stack/dpdk/drivers/net/enic/ |
| H A D | enic_ethdev.c | 525 static const uint32_t ptypes[] = { in enicpmd_dev_supported_ptypes_get() local 562 return ptypes; in enicpmd_dev_supported_ptypes_get()
|
| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_ethdev.c | 840 static const uint32_t ptypes[] = { in cxgbe_dev_supported_ptypes_get() local 847 return ptypes; in cxgbe_dev_supported_ptypes_get()
|
| /f-stack/dpdk/drivers/net/octeontx/ |
| H A D | octeontx_ethdev.c | 1233 static const uint32_t ptypes[] = { in octeontx_dev_supported_ptypes_get() local 1245 return ptypes; in octeontx_dev_supported_ptypes_get()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_rxtx.c | 1885 const uint32_t *ptypes; in ice_dev_supported_ptypes_get() local 1947 ptypes = ptypes_comms; in ice_dev_supported_ptypes_get() 1949 ptypes = ptypes_os; in ice_dev_supported_ptypes_get() 1954 return ptypes; in ice_dev_supported_ptypes_get() 1965 return ptypes; in ice_dev_supported_ptypes_get()
|
| /f-stack/dpdk/doc/guides/rel_notes/ |
| H A D | release_19_11.rst | 312 * **Updated testpmd with a command for ptypes.** 314 * Added a console command to testpmd app, ``show port (port_id) ptypes`` which 315 gives ability to print port supported ptypes in different protocol layers.
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_rx.c | 187 static const uint32_t ptypes[] = { in sfc_efx_supported_ptypes_get() local 196 return ptypes; in sfc_efx_supported_ptypes_get()
|