Home
last modified time | relevance | path

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

/dpdk/lib/ethdev/
H A Drte_ethdev.c3179 const uint32_t *all_ptypes; in rte_eth_dev_get_supported_ptypes() local
3192 all_ptypes = (*dev->dev_ops->dev_supported_ptypes_get)(dev); in rte_eth_dev_get_supported_ptypes()
3194 if (!all_ptypes) in rte_eth_dev_get_supported_ptypes()
3197 for (i = 0, j = 0; all_ptypes[i] != RTE_PTYPE_UNKNOWN; ++i) in rte_eth_dev_get_supported_ptypes()
3198 if (all_ptypes[i] & ptype_mask) { in rte_eth_dev_get_supported_ptypes()
3200 ptypes[j] = all_ptypes[i]; in rte_eth_dev_get_supported_ptypes()
3220 const uint32_t *all_ptypes; in rte_eth_dev_set_ptypes() local
3264 if (all_ptypes == NULL) { in rte_eth_dev_set_ptypes()
3274 (all_ptypes[i] != RTE_PTYPE_UNKNOWN); ++i) { in rte_eth_dev_set_ptypes()
3275 if (ptype_mask & all_ptypes[i]) { in rte_eth_dev_set_ptypes()
[all …]