mbox

[v2,0/5] add port to port feature

Message ID 20230214113852.3341607-1-mingxia.liu@intel.com (mailing list archive)
Headers

Message

Liu, Mingxia Feb. 14, 2023, 11:38 a.m. UTC
  This patchset add the support of port to port feature.
Port-to-port packets are looped back through the 
host/NIC memory, without software involvement, using
the LAN RX and LAN TX DMA engines.

And this patchset only support the same port for Tx and Rx queue.

This patchset is based on the cpfl PMD code:
http://patches.dpdk.org/project/dpdk/cover/20230213021956.2953088-1-mingxia.liu@intel.com/

Mingxia Liu (5):
  net/cpfl: add some structure for hairpin queue
  net/cpfl: update device initialization for hairpin queue
  net/cpfl: add hairpin queue enable and setup
  net/cpfl: support hairpin queue start and stop
  net/cpfl: adjust RSS LUT to exclude hairpin queue

 drivers/common/idpf/idpf_common_device.c   |  52 ++
 drivers/common/idpf/idpf_common_device.h   |   2 +
 drivers/common/idpf/idpf_common_virtchnl.c | 100 ++-
 drivers/common/idpf/idpf_common_virtchnl.h |  12 +
 drivers/common/idpf/version.map            |   5 +
 drivers/net/cpfl/cpfl_ethdev.c             | 292 +++++--
 drivers/net/cpfl/cpfl_ethdev.h             |   8 +-
 drivers/net/cpfl/cpfl_rxtx.c               | 855 +++++++++++++++++++--
 drivers/net/cpfl/cpfl_rxtx.h               |  71 +-
 drivers/net/cpfl/cpfl_rxtx_vec_common.h    |  22 +-
 10 files changed, 1272 insertions(+), 147 deletions(-)