Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev.c3307 const uint32_t *all_ptypes; in rte_eth_dev_get_supported_ptypes() local
3312 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() local
3380 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 …]