DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/5] add hwpools and support exchanging mbufs between pools
@ 2023-04-11  7:55 Ashwin Sekhar T K
  2023-04-11  7:55 ` [PATCH 1/5] mempool/cnxk: use pool config to pass flags Ashwin Sekhar T K
                   ` (7 more replies)
  0 siblings, 8 replies; 22+ messages in thread
From: Ashwin Sekhar T K @ 2023-04-11  7:55 UTC (permalink / raw)
  To: dev
  Cc: jerinj, skori, skoteshwar, pbhagavatula, kirankumark, psatheesh,
	asekhar, anoobj, gakhil, hkalra, ndabilpuram

This patch series enables the creation of special types of pool in cnxk
mempool PMD called as hwpools. A hwpool will not have any buffers of its
own but instead will only have a hardware AURA associated with it. This
hwpool will be attached to another normal rte_mempool and the hwpool will
use the buffers from this attached rte_mempool during alloc/free. The
hwpool leverages the POOL:AURA association in cnxk hardware to achieve
this.

This patch series also adds the support for exchanging mbuf buffers between
cnxk mempools. The pools must have buffers of same size and the range check
for the pools must be disabled while exchanging mbufs.

Ashwin Sekhar T K (5):
  mempool/cnxk: use pool config to pass flags
  common/cnxk: add NPA aura create/destroy ROC APIs
  mempool/cnxk: add NPA aura range get/set APIs
  mempool/cnxk: add hwpool ops
  mempool/cnxk: add support for exchanging mbufs between pools

 drivers/common/cnxk/roc_nix_queue.c         |   2 +-
 drivers/common/cnxk/roc_npa.c               | 254 +++++++++++++++++-
 drivers/common/cnxk/roc_npa.h               |  10 +
 drivers/common/cnxk/roc_sso.c               |   2 +-
 drivers/common/cnxk/version.map             |   4 +
 drivers/mempool/cnxk/cn10k_hwpool_ops.c     | 272 ++++++++++++++++++++
 drivers/mempool/cnxk/cnxk_mempool.h         |  32 +++
 drivers/mempool/cnxk/cnxk_mempool_ops.c     |  19 +-
 drivers/mempool/cnxk/meson.build            |   2 +
 drivers/mempool/cnxk/rte_pmd_cnxk_mempool.h |  56 ++++
 drivers/mempool/cnxk/version.map            |  10 +
 drivers/net/cnxk/cnxk_ethdev_sec.c          |  25 +-
 12 files changed, 658 insertions(+), 30 deletions(-)
 create mode 100644 drivers/mempool/cnxk/cn10k_hwpool_ops.c
 create mode 100644 drivers/mempool/cnxk/rte_pmd_cnxk_mempool.h
 create mode 100644 drivers/mempool/cnxk/version.map

-- 
2.25.1


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

end of thread, other threads:[~2023-05-24  9:34 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-11  7:55 [PATCH 0/5] add hwpools and support exchanging mbufs between pools Ashwin Sekhar T K
2023-04-11  7:55 ` [PATCH 1/5] mempool/cnxk: use pool config to pass flags Ashwin Sekhar T K
2023-04-11  7:55 ` [PATCH 2/5] common/cnxk: add NPA aura create/destroy ROC APIs Ashwin Sekhar T K
2023-04-11  7:55 ` [PATCH 3/5] mempool/cnxk: add NPA aura range get/set APIs Ashwin Sekhar T K
2023-04-11  7:55 ` [PATCH 4/5] mempool/cnxk: add hwpool ops Ashwin Sekhar T K
2023-04-11  7:55 ` [PATCH 5/5] mempool/cnxk: add support for exchanging mbufs between pools Ashwin Sekhar T K
2023-05-17 18:46   ` Jerin Jacob
2023-05-23  9:04 ` [PATCH v2 1/5] mempool/cnxk: use pool config to pass flags Ashwin Sekhar T K
2023-05-23  9:04   ` [PATCH v2 2/5] common/cnxk: add NPA aura create/destroy ROC APIs Ashwin Sekhar T K
2023-05-23  9:04   ` [PATCH v2 3/5] mempool/cnxk: add NPA aura range get/set APIs Ashwin Sekhar T K
2023-05-23  9:04   ` [PATCH v2 4/5] mempool/cnxk: add hwpool ops Ashwin Sekhar T K
2023-05-23  9:04   ` [PATCH v2 5/5] mempool/cnxk: add support for exchanging mbufs between pools Ashwin Sekhar T K
2023-05-24  9:33     ` Jerin Jacob
2023-05-23  9:13 ` [PATCH v2 1/5] mempool/cnxk: use pool config to pass flags Ashwin Sekhar T K
2023-05-23  9:13   ` [PATCH v2 2/5] common/cnxk: add NPA aura create/destroy ROC APIs Ashwin Sekhar T K
2023-05-23  9:13   ` [PATCH v2 3/5] mempool/cnxk: add NPA aura range get/set APIs Ashwin Sekhar T K
2023-05-23  9:27   ` Ashwin Sekhar T K
2023-05-23 10:54 ` [PATCH v2 1/5] mempool/cnxk: use pool config to pass flags Ashwin Sekhar T K
2023-05-23 10:54   ` [PATCH v2 2/5] common/cnxk: add NPA aura create/destroy ROC APIs Ashwin Sekhar T K
2023-05-23 10:54   ` [PATCH v2 3/5] mempool/cnxk: add NPA aura range get/set APIs Ashwin Sekhar T K
2023-05-23 10:54   ` [PATCH v2 4/5] mempool/cnxk: add hwpool ops Ashwin Sekhar T K
2023-05-23 10:54   ` [PATCH v2 5/5] mempool/cnxk: add support for exchanging mbufs between pools Ashwin Sekhar T K

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).