[dpdk-dev] [PATCH v2 0/4] net/mlx5: support SubFunction representor
Xueming Li
xuemingl at nvidia.com
Wed Jan 6 17:39:55 CET 2021
SubFunction [1] is a portion of the PCI device, a SF netdev has its own
dedicated queues(txq, rxq). A SF netdev supports eswitch representation
offload similar to existing PF and VF representors. A SF shares PCI
level resources with other SFs and/or with its parent PCI function.
This patch set introduces SubFunction representor support for mlx5
PMD driver.
Depends-on: series-14559 ("support SubFunction representor")
Version history:
RFC:
initial version [2]
V2:
- support bonding representor probe with new pf#vf# devargs
- adapt EAL api V2 [3] changes
- update document
[1] SubFunction in kernel:
https://lore.kernel.org/netdev/20201112192424.2742-1-parav@nvidia.com/
[2] RFC:
http://patchwork.dpdk.org/project/dpdk/list/?series=14376
[3] EAL part to support SF representor:
http://patchwork.dpdk.org/project/dpdk/list/?series=14559
Xueming Li (4):
common/mlx5: update representor name parsing
net/mlx5: support representor of sub function
net/mlx5: revert setting representor to first PF
net/mlx5: improve bonding representor probe
doc/guides/nics/mlx5.rst | 62 +++++-
drivers/common/mlx5/linux/mlx5_common_os.c | 32 ++-
drivers/common/mlx5/linux/mlx5_nl.c | 2 +
drivers/common/mlx5/mlx5_common.h | 2 +
drivers/net/mlx5/linux/mlx5_ethdev_os.c | 5 +
drivers/net/mlx5/linux/mlx5_os.c | 215 ++++++++++++++-------
drivers/net/mlx5/mlx5.c | 23 ++-
drivers/net/mlx5/mlx5.h | 4 +-
drivers/net/mlx5/mlx5_defs.h | 4 -
drivers/net/mlx5/mlx5_ethdev.c | 29 +--
drivers/net/mlx5/mlx5_mac.c | 8 +-
11 files changed, 261 insertions(+), 125 deletions(-)
--
2.25.1
More information about the dev
mailing list