This patch set provides new API to get and set the preferred mbuf mempool ops across all the probed ethernet devices. The API depends relies on ethernet devices to provide their preferred mempool through `rte_eth_dev_pool_ops_supported`.
Currently, this patchset modifies only testpmd to used the API but it is aimed towards modifying all the examples/tests to create packet pools based on the preferred mempool ops. Pavan Nikhilesh (3): eal: add API to set default mbuf mempool ops ethdev: add API to get preferred mempool ops name app/testpmd: set preferred mempool as default pktpool app/test-pmd/testpmd.c | 2 ++ lib/librte_eal/bsdapp/eal/eal.c | 6 +++++ lib/librte_eal/common/include/rte_eal.h | 9 ++++++++ lib/librte_eal/linuxapp/eal/eal.c | 6 +++++ lib/librte_eal/rte_eal_version.map | 6 +++++ lib/librte_ether/rte_ethdev.c | 41 +++++++++++++++++++++++++++++++++ lib/librte_ether/rte_ethdev.h | 12 ++++++++++ lib/librte_ether/rte_ethdev_version.map | 7 ++++++ lib/librte_mempool/rte_mempool.h | 12 ++++++++++ 9 files changed, 101 insertions(+) -- 2.14.1