devlink: Support setting max_io_eqs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 8 repliesIn review
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- addressed comments from Jiri
- updated man page for the new parameter
- corrected print to not have EQs value as optional
- replaced 'value' with 'EQs'
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | uapi: Update devlink kernel headersinclude/ | +1 | 0 replies | |
| 2/2 | devlink: Support setting max_io_eqsdevlink/ man/ | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] devlink: Support setting max_io_eqs
Devices send event notifications for the IO queues, such as tx and rx queues, through event queues.
Enable a privileged owner, such as a hypervisor PF, to set the number of IO event queues for the VF and SF during the provisioning stage.
example:
Get maximum IO event queues of the VF device::
$ devlink port show pci/0000:06:00.0/2
pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1
function:
hw_addr 00:00:00:00:00:00 ipsec_packet disabled max_io_eqs 10Set maximum IO event queues of the VF device::
$ devlink port function set pci/0000:06:00.0/2 max_io_eqs 32
$ devlink port show pci/0000:06:00.0/2
pci/0000:06:00.0/2: type eth netdev enp6s0pf0vf1 flavour pcivf pfnum 0 vfnum 1
function:
hw_addr 00:00:00:00:00:00 ipsec_packet disabled max_io_eqs 32patch summary:
patch-1 updates devlink uapi
patch-2 adds print, get and set routines for max_io_eqs field
changelog:v1->v2:
- addressed comments from Jiri
- updated man page for the new parameter
- corrected print to not have EQs value as optional
- replaced 'value' with 'EQs'
Parav Pandit (2):
uapi: Update devlink kernel headers
devlink: Support setting max_io_eqs
devlink/devlink.c | 29 ++++++++++++++++++++++++++++- include/uapi/linux/devlink.h | 1 + man/man8/devlink-port.8 | 12 ++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-)
Signature · 1 line
2.26.2