DPDK patches and discussions
 help / color / mirror / Atom feed
* [RFC 0/3] net/mlx5: add external RxQ support
@ 2022-01-02  7:06 michaelba
  2022-01-02  7:06 ` [RFC 1/3] common/mlx5: glue device and PD importation michaelba
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: michaelba @ 2022-01-02  7:06 UTC (permalink / raw)
  To: dev; +Cc: Matan Azrad, Raslan Darawsheh, Viacheslav Ovsiienko, Michael Baum

From: Michael Baum <michaelba@nvidia.com>

These patches add support to external Rx queues.
External queue is a queue that is managed by a process external to DPDK,
but uses DPDK process to generate its flow rules.

For the hardware to allow the DPDK process to set rules for it, the
process needs to use the same PD of the external process. In addition,
the indexes of the queues in hardware are represented by 32-bit compared
to the rte_flow indexes represented by 16-bit, so the processes need to
share some mapping between the indexes.

These patches allow the external process to provide devargs which enable
importing its context and PD, instead of prepare new ones. In addition,
an API is provided for mapping for the indexes of the queues.


Michael Baum (3):
  common/mlx5: glue device and PD importation
  common/mlx5: add shared PD support
  net/mlx5: add external Rx queue

 drivers/common/mlx5/linux/mlx5_common_os.c   | 160 +++++++++++++++++--
 drivers/common/mlx5/linux/mlx5_common_os.h   |   6 -
 drivers/common/mlx5/linux/mlx5_glue.c        |  21 +++
 drivers/common/mlx5/linux/mlx5_glue.h        |   4 +
 drivers/common/mlx5/mlx5_common.c            |  32 ++--
 drivers/common/mlx5/mlx5_common.h            |   6 +-
 drivers/common/mlx5/windows/mlx5_common_os.c |  29 +++-
 drivers/common/mlx5/windows/mlx5_common_os.h |   1 -
 drivers/net/mlx5/mlx5_rx.h                   |   6 +
 drivers/net/mlx5/rte_pmd_mlx5.h              |  45 ++++++
 10 files changed, 272 insertions(+), 38 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-01-02  7:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-02  7:06 [RFC 0/3] net/mlx5: add external RxQ support michaelba
2022-01-02  7:06 ` [RFC 1/3] common/mlx5: glue device and PD importation michaelba
2022-01-02  7:06 ` [RFC 2/3] common/mlx5: add shared PD support michaelba
2022-01-02  7:06 ` [RFC 3/3] net/mlx5: add external Rx queue michaelba

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