Skip to content

add Intel DCF PMD support

Haiyue Wang dpdk-dev 6 versions – Applied

Status from this message: Applied to dpdk-next-net-intel, Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 3 repliesApplied
  2. v57 patches 0 repliesSuperseded
  3. v47 patches 4 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v37 patches0 repliesSuperseded
v27 patches21 repliesSuperseded
v14 patches21 repliesSuperseded

Changes in v6 from the cover letter

No change, but to resend the same patchset again to trigger ci/Performance-Testing by using the new code base:

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/7net/iavf: stop the PCI probe in DCF modedrivers/net/iavf/iavf_ethdev.c+43 -00 replies
2/7net/ice: add the DCF hardware initializationdoc/guides/nics/ice.rst doc/guides/nics/img/ice_dcf.png doc/guides/rel_notes/release_20_05.rst +8 more+931 -22 replies
3/7net/ice: acquire and disable the DCF capabilitydrivers/net/ice/ice_dcf.c+26 -10 replies
4/7net/ice: handle the AdminQ command by DCFdrivers/net/ice/ice_dcf.c drivers/net/ice/ice_dcf.h+68 -10 replies
5/7net/ice: export the DDP definition symbolsdrivers/net/ice/ice_ethdev.c drivers/net/ice/ice_ethdev.h+9 -80 replies
6/7net/ice: handle the PF initialization by DCFdrivers/net/ice/Makefile drivers/net/ice/ice_dcf.c drivers/net/ice/ice_dcf.h +4 more+292 -60 replies
7/7net/ice: get the VF hardware index in DCFdrivers/net/ice/Makefile drivers/net/ice/ice_dcf.c drivers/net/ice/ice_dcf.h +1 more+185 -10 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchXiaolong YeJingjing WuQi Zhang
1/7R-b A-b A-b
2/7A-b
3/7A-b
4/7A-b
5/7A-b A-b
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [dpdk-dev] [PATCH v6 0/7] add Intel DCF PMD support

A DCF (Device Config Function) based approach is proposed where a device bound to the device's VF0 can act as a sole controlling entity to exercise advance functionality (such as switch, ACL) for rest of the VFs.

The DCF works as a standalone PMD to support this function, which shares the ice PMD flow control core function and the iavf virtchnl mailbox core module.

v6:
No change, but to resend the same patchset again to trigger ci/Performance-Testing by using the new code base:

	https://lab.dpdk.org/results/dashboard/patchsets/10120/

v5:
Fixed the shared module compile errror.

v4:
Change the alarm handler to thread service, since it will need to do more work.

v3:
1. Fixed the error log message format.
2. Fixed some memory allocation check.
3. Fixed some code style issue and commmit message description.

v2:
1. update the iavf patchset link.
2. split more patches for making this work be more understandable
3. fix the log function usage, devargs checking from v1.

Haiyue Wang (7):
net/iavf: stop the PCI probe in DCF mode
net/ice: add the DCF hardware initialization
net/ice: acquire and disable the DCF capability
net/ice: handle the AdminQ command by DCF
net/ice: export the DDP definition symbols
net/ice: handle the PF initialization by DCF
net/ice: get the VF hardware index in DCF

 doc/guides/nics/ice.rst                |  47 ++
 doc/guides/nics/img/ice_dcf.png        | Bin 0 -> 39168 bytes
 doc/guides/rel_notes/release_20_05.rst |   5 +
 drivers/common/Makefile                |   1 +
 drivers/net/iavf/iavf_ethdev.c         |  43 ++
 drivers/net/ice/Makefile               |   7 +
 drivers/net/ice/ice_dcf.c              | 658 +++++++++++++++++++++++++
 drivers/net/ice/ice_dcf.h              |  63 +++
 drivers/net/ice/ice_dcf_ethdev.c       | 321 ++++++++++++
 drivers/net/ice/ice_dcf_ethdev.h       |  33 ++
 drivers/net/ice/ice_dcf_parent.c       | 351 +++++++++++++
 drivers/net/ice/ice_ethdev.c           |   9 +-
 drivers/net/ice/ice_ethdev.h           |   8 +
 drivers/net/ice/meson.build            |   8 +-
 mk/rte.app.mk                          |   1 +
 15 files changed, 1545 insertions(+), 10 deletions(-)
 create mode 100644 doc/guides/nics/img/ice_dcf.png
 create mode 100644 drivers/net/ice/ice_dcf.c
 create mode 100644 drivers/net/ice/ice_dcf.h
 create mode 100644 drivers/net/ice/ice_dcf_ethdev.c
 create mode 100644 drivers/net/ice/ice_dcf_ethdev.h
 create mode 100644 drivers/net/ice/ice_dcf_parent.c
Signature · 1 line
2.26.0