DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/3] ethdev: add API to get preferred mbuf pool ops
@ 2017-12-13 19:55 Pavan Nikhilesh
  2017-12-13 19:55 ` [dpdk-dev] [PATCH 1/3] eal: add API to set default mbuf mempool ops Pavan Nikhilesh
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Pavan Nikhilesh @ 2017-12-13 19:55 UTC (permalink / raw)
  To: jerin.jacob, jingjing.wu, bruce.richardson, hemant.agrawal,
	ferruh.yigit, thomas, olivier.matz
  Cc: dev, Pavan Nikhilesh

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-01-16  8:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-13 19:55 [dpdk-dev] [PATCH 0/3] ethdev: add API to get preferred mbuf pool ops Pavan Nikhilesh
2017-12-13 19:55 ` [dpdk-dev] [PATCH 1/3] eal: add API to set default mbuf mempool ops Pavan Nikhilesh
2017-12-13 19:55 ` [dpdk-dev] [PATCH 2/3] ethdev: add API to get preferred mempool ops name Pavan Nikhilesh
2017-12-13 19:55 ` [dpdk-dev] [PATCH 3/3] app/testpmd: set preferred mempool as default pktpool Pavan Nikhilesh
2018-01-16  6:06   ` Lu, Wenzhuo
2018-01-16  8:20     ` Pavan Nikhilesh
2017-12-13 21:22 ` [dpdk-dev] [PATCH 0/3] ethdev: add API to get preferred mbuf pool ops Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).