DPDK patches and discussions
 help / color / mirror / Atom feed
From: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
To: jerin.jacob@caviumnetworks.com, jingjing.wu@intel.com,
	bruce.richardson@intel.com, hemant.agrawal@nxp.com,
	ferruh.yigit@intel.com, thomas@monjalon.net,
	olivier.matz@6wind.com
Cc: dev@dpdk.org, Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Subject: [dpdk-dev] [PATCH 0/3] ethdev: add API to get preferred mbuf pool ops
Date: Thu, 14 Dec 2017 01:25:35 +0530	[thread overview]
Message-ID: <20171213195538.14290-1-pbhagavatula@caviumnetworks.com> (raw)

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

             reply	other threads:[~2017-12-13 19:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-13 19:55 Pavan Nikhilesh [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171213195538.14290-1-pbhagavatula@caviumnetworks.com \
    --to=pbhagavatula@caviumnetworks.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=jerin.jacob@caviumnetworks.com \
    --cc=jingjing.wu@intel.com \
    --cc=olivier.matz@6wind.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).