This patch add the support of port to port feature. MEV can loopback packets from RX port to TX port (can be the same or different port). This feature is called "port to port".
The main principal of operation is that port-to-port packets are looped back through the host/NIC memory, without software involvement, using the LAN RX and LAN TX DMA engines. This patchset is based on the idpf PMD code: http://patches.dpdk.org/project/dpdk/cover/20230106090501.9106-1-beilei.x...@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230117080622.105657-1-beilei.x...@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230118035139.485060-1-wenjun1...@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230118071440.902155-1-mingxia....@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230118075738.904616-1-mingxia....@intel.com/ Mingxia Liu (1): net/cpfl: add port to port feature. drivers/common/idpf/idpf_common_device.c | 50 ++ 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 | 374 +++++++-- drivers/net/cpfl/cpfl_ethdev.h | 8 +- drivers/net/cpfl/cpfl_logs.h | 2 + drivers/net/cpfl/cpfl_rxtx.c | 851 +++++++++++++++++++-- drivers/net/cpfl/cpfl_rxtx.h | 58 ++ drivers/net/cpfl/cpfl_rxtx_vec_common.h | 18 +- 11 files changed, 1347 insertions(+), 133 deletions(-) -- 2.25.1