DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] add new mhpsdp hw port in the flow item and Tx queue API
@ 2023-01-28 13:08 Jiawei Wang
  2023-01-28 13:08 ` [PATCH 1/2] ethdev: add mhpsdp hardware port match item Jiawei Wang
  2023-01-28 13:08 ` [PATCH 2/2] ethdev: introduce the mhpsdp hwport field in Tx queue API Jiawei Wang
  0 siblings, 2 replies; 3+ messages in thread
From: Jiawei Wang @ 2023-01-28 13:08 UTC (permalink / raw)
  To: viacheslavo, orika, thomas; +Cc: dev, rasland

For the multiple hardware ports connect to a single DPDK port (mhpsdp),
currently there is no information to indicate the packet belongs to
which hardware port.

This patch introduces a new hardware port item in rte flow API, and
the port value reflects the hardware port of the received packets.

This patch adds the tx_mhpsdp_hwport setting in Tx queue API, the hwport value
reflects packets be sent to which hardware port.

While uses the hw port as a matching item in the flow, and sets the
same port value on the tx queue, then the packet can be sent from the same
hardware port with received.

RFC: http://patches.dpdk.org/project/dpdk/cover/20221221102934.13822-1-jiaweiw@nvidia.com/

Jiawei Wang (2):
  ethdev: add mhpsdp hardware port match item
  ethdev: introduce the mhpsdp hwport field in Tx queue API

 app/test-pmd/cmdline.c                      | 84 +++++++++++++++++++++
 app/test-pmd/cmdline_flow.c                 | 29 +++++++
 devtools/libabigail.abignore                |  5 ++
 doc/guides/prog_guide/rte_flow.rst          |  8 ++
 doc/guides/rel_notes/release_23_03.rst      |  5 ++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 18 +++++
 lib/ethdev/rte_ethdev.h                     |  8 ++
 lib/ethdev/rte_flow.c                       |  1 +
 lib/ethdev/rte_flow.h                       | 32 ++++++++
 9 files changed, 190 insertions(+)

-- 
2.18.1


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

end of thread, other threads:[~2023-01-28 13:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-28 13:08 [PATCH 0/2] add new mhpsdp hw port in the flow item and Tx queue API Jiawei Wang
2023-01-28 13:08 ` [PATCH 1/2] ethdev: add mhpsdp hardware port match item Jiawei Wang
2023-01-28 13:08 ` [PATCH 2/2] ethdev: introduce the mhpsdp hwport field in Tx queue API Jiawei Wang

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