net/mlx5: support Sub-Function
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest16 patches 2 repliesApplied
- v315 patches 0 repliesSuperseded
- v214 patches 16 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 0 of 14 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
convert crypto pmd using new common driver
[1] SubFunction in kernel:
https://lore.kernel.org/netdev/[email protected]/
[2] Auxiliary bus:
http://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | common/mlx5: rename eth device class namedrivers/ drivers/ drivers/ | +14 | 0 replies | |
| 2/16 | common/mlx5: add common device driverdoc/ drivers/ drivers/ +7 more | +688 | 0 replies | |
| 3/16 | common/mlx5: move description of PCI sysfs functionsdrivers/ drivers/ | +26 | 0 replies | |
| 4/16 | common/mlx5: support auxiliary busdrivers/ drivers/ drivers/ +5 more | +198 | 0 replies | |
| 5/16 | common/mlx5: get PCI device address from any busdrivers/ drivers/ drivers/ +4 more | +66 | 0 replies | |
| 6/16 | net/mlx5: remove PCI dependencydrivers/ drivers/ drivers/ +6 more | +51 | 0 replies | |
| 7/16 | net/mlx5: migrate to bus-agnostic common driverdrivers/ drivers/ drivers/ +3 more | +78 | 0 replies | |
| 8/16 | net/mlx5: support SubFunctiondoc/ drivers/ drivers/ +7 more | +188 | 0 replies | |
| 9/16 | net/mlx5: check max Verbs port numberdrivers/ | +6 | 0 replies | |
| 10/16 | regex/mlx5: migrate to common driverdrivers/ drivers/ | +18 | 0 replies | |
| 11/16 | vdpa/mlx5: define driver name as macrodrivers/ | +5 | 0 replies | |
| 12/16 | vdpa/mlx5: remove PCI specificsdrivers/ drivers/ | +34 | 0 replies | |
| 13/16 | vdpa/mlx5: support SubFunctiondoc/ drivers/ | +16 | 0 replies | |
| 14/16 | compress/mlx5: migrate to common driverdrivers/ | +15 | 0 replies | |
| 15/16 | crypto/mlx5: migrate to common driverdrivers/ drivers/ | +16 | 0 replies | |
| 16/16 | common/mlx5: clean up legacy PCI bus driverdrivers/ drivers/ drivers/ +4 more | +4 | 0 replies |
Reviews trailers per patch
15 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Viacheslav Ovsiienko |
|---|---|
| 1/16 | A-b |
| 2/16 | A-b |
| 3/16 | A-b |
| 4/16 | A-b |
| 5/16 | A-b |
| 6/16 | A-b |
| 7/16 | A-b |
| 8/16 | A-b |
| 9/16 | A-b |
| 10/16 | A-b |
| 11/16 | A-b |
| 12/16 | A-b |
| 13/16 | A-b |
| 14/16 | A-b |
| 15/16 | |
| 16/16 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [PATCH v4 00/16] net/mlx5: support Sub-Function
Sub-Function [1] is a portion of the PCI device, a SF netdev has its own dedicated queues(txq, rxq). A SF shares PCI level resources with other SFs and/or with its parent PCI function. Auxiliary bus is the fundamental of SF.
This patch set introduces Sub-Function support for mlx5 PMD driver including class net, regex, vdpa and compress.
Version history:
RFC:
initial version
V1:
rebased on latest upstream code
V2:
init sh->numa_node earlier other bug fixes
V3:
split first patch and fix compilation issue
V4:
convert crypto pmd using new common driver
[1] SubFunction in kernel:
https://lore.kernel.org/netdev/[email protected]/
[2] Auxiliary bus:
http://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
Thomas Monjalon (5):
common/mlx5: move description of PCI sysfs functions common/mlx5: get PCI device address from any bus vdpa/mlx5: define driver name as macro vdpa/mlx5: remove PCI specifics
vdpa/mlx5: support SubFunction
Xueming Li (11):
common/mlx5: rename eth device class name
common/mlx5: add common device driver
common/mlx5: support auxiliary bus
net/mlx5: remove PCI dependency
net/mlx5: migrate to bus-agnostic common driver
net/mlx5: support SubFunction
net/mlx5: check max Verbs port number
regex/mlx5: migrate to common driver
compress/mlx5: migrate to common driver
crypto/mlx5: migrate to common driver
common/mlx5: clean up legacy PCI bus driver
doc/guides/nics/mlx5.rst | 54 +- doc/guides/rel_notes/release_21_08.rst | 5 + doc/guides/vdpadevs/mlx5.rst | 10 + drivers/common/mlx5/linux/meson.build | 3 + .../common/mlx5/linux/mlx5_common_auxiliary.c | 192 +++++++ drivers/common/mlx5/linux/mlx5_common_os.c | 29 +- drivers/common/mlx5/linux/mlx5_common_os.h | 6 +- drivers/common/mlx5/linux/mlx5_common_verbs.c | 24 +- drivers/common/mlx5/meson.build | 2 +- drivers/common/mlx5/mlx5_common.c | 390 ++++++++++++- drivers/common/mlx5/mlx5_common.h | 179 +++++- drivers/common/mlx5/mlx5_common_pci.c | 540 ++++-------------- drivers/common/mlx5/mlx5_common_pci.h | 78 --- drivers/common/mlx5/mlx5_common_private.h | 50 ++ drivers/common/mlx5/mlx5_common_utils.h | 2 + drivers/common/mlx5/version.map | 12 +- drivers/compress/mlx5/mlx5_compress.c | 71 +-- drivers/crypto/mlx5/mlx5_crypto.c | 61 +- drivers/crypto/mlx5/mlx5_crypto.h | 1 - drivers/net/mlx5/linux/mlx5_ethdev_os.c | 14 +- drivers/net/mlx5/linux/mlx5_os.c | 203 +++++-- drivers/net/mlx5/linux/mlx5_os.h | 5 +- drivers/net/mlx5/mlx5.c | 116 ++-- drivers/net/mlx5/mlx5.h | 14 +- drivers/net/mlx5/mlx5_ethdev.c | 2 +- drivers/net/mlx5/mlx5_mac.c | 2 +- drivers/net/mlx5/mlx5_mr.c | 48 +- drivers/net/mlx5/mlx5_rxmode.c | 8 +- drivers/net/mlx5/mlx5_rxtx.h | 9 +- drivers/net/mlx5/mlx5_trigger.c | 14 +- drivers/net/mlx5/mlx5_txq.c | 3 +- drivers/net/mlx5/windows/mlx5_os.c | 15 +- drivers/regex/mlx5/mlx5_regex.c | 49 +- drivers/regex/mlx5/mlx5_regex.h | 1 - drivers/vdpa/mlx5/mlx5_vdpa.c | 128 ++--- drivers/vdpa/mlx5/mlx5_vdpa.h | 1 - 36 files changed, 1380 insertions(+), 961 deletions(-) create mode 100644 drivers/common/mlx5/linux/mlx5_common_auxiliary.c delete mode 100644 drivers/common/mlx5/mlx5_common_pci.h create mode 100644 drivers/common/mlx5/mlx5_common_private.h
Signature · 1 line
2.25.1