Searched refs:all_ptypes (Results 1 – 1 of 1) sorted by relevance
3307 const uint32_t *all_ptypes; in rte_eth_dev_get_supported_ptypes() local3312 all_ptypes = (*dev->dev_ops->dev_supported_ptypes_get)(dev); in rte_eth_dev_get_supported_ptypes()3314 if (!all_ptypes) in rte_eth_dev_get_supported_ptypes()3317 for (i = 0, j = 0; all_ptypes[i] != RTE_PTYPE_UNKNOWN; ++i) in rte_eth_dev_get_supported_ptypes()3318 if (all_ptypes[i] & ptype_mask) { in rte_eth_dev_get_supported_ptypes()3320 ptypes[j] = all_ptypes[i]; in rte_eth_dev_get_supported_ptypes()3340 const uint32_t *all_ptypes; in rte_eth_dev_set_ptypes() local3380 if (all_ptypes == NULL) { in rte_eth_dev_set_ptypes()3390 (all_ptypes[i] != RTE_PTYPE_UNKNOWN); ++i) { in rte_eth_dev_set_ptypes()3391 if (ptype_mask & all_ptypes[i]) { in rte_eth_dev_set_ptypes()[all …]