[PATCH v2 00/15] net/idpf: introduce idpf common modle
beilei.xing at intel.com
beilei.xing at intel.com
Fri Jan 6 10:16:12 CET 2023
From: Beilei Xing <beilei.xing at intel.com>
Refactor idpf pmd by introducing idpf common module, which will be also
consumed by a new PMD - CPFL (Control Plane Function Library) PMD.
The patchset depends on this following patchset:
https://patches.dpdk.org/project/dpdk/cover/20230106090501.9106-1-beilei.xing@intel.com/
v2 changes:
- Refine irq map/unmap functions.
- Fix cross compile issue.
Beilei Xing (15):
common/idpf: add adapter structure
common/idpf: add vport structure
common/idpf: move vc functions to common module
common/idpf: introduce adapter init and deinit
common/idpf: add vport init/deinit
common/idpf: add config RSS
common/idpf: add irq map/unmap
common/idpf: move ptype table to adapter structure
common/idpf: init create vport info
common/idpf: add vector flags in vport
common/idpf: add rxq and txq struct
common/idpf: add help functions for queue setup and release
common/idpf: add scalar data path
common/idpf: add vec queue setup
common/idpf: add avx512 for single queue model
drivers/common/idpf/base/meson.build | 2 +-
drivers/common/idpf/idpf_common_device.c | 664 ++++++
drivers/common/idpf/idpf_common_device.h | 192 ++
drivers/common/idpf/idpf_common_logs.h | 47 +
drivers/common/idpf/idpf_common_rxtx.c | 1458 ++++++++++++
drivers/common/idpf/idpf_common_rxtx.h | 278 +++
.../idpf/idpf_common_rxtx_avx512.c} | 14 +-
.../idpf/idpf_common_virtchnl.c} | 881 ++-----
drivers/common/idpf/idpf_common_virtchnl.h | 41 +
drivers/common/idpf/meson.build | 38 +
drivers/common/idpf/version.map | 40 +
drivers/net/idpf/idpf_ethdev.c | 544 +----
drivers/net/idpf/idpf_ethdev.h | 194 +-
drivers/net/idpf/idpf_logs.h | 24 -
drivers/net/idpf/idpf_rxtx.c | 2033 +++--------------
drivers/net/idpf/idpf_rxtx.h | 253 +-
drivers/net/idpf/meson.build | 18 -
17 files changed, 3344 insertions(+), 3377 deletions(-)
create mode 100644 drivers/common/idpf/idpf_common_device.c
create mode 100644 drivers/common/idpf/idpf_common_device.h
create mode 100644 drivers/common/idpf/idpf_common_logs.h
create mode 100644 drivers/common/idpf/idpf_common_rxtx.c
create mode 100644 drivers/common/idpf/idpf_common_rxtx.h
rename drivers/{net/idpf/idpf_rxtx_vec_avx512.c => common/idpf/idpf_common_rxtx_avx512.c} (98%)
rename drivers/{net/idpf/idpf_vchnl.c => common/idpf/idpf_common_virtchnl.c} (56%)
create mode 100644 drivers/common/idpf/idpf_common_virtchnl.h
--
2.26.2
More information about the dev
mailing list