linux/Documentation/networking/devlink
Parav Pandit 5af3e3876d devlink: Support setting max_io_eqs
Many 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 10

Set 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 32

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-04-08 14:10:45 +01:00
..
am65-nuss-cpsw-switch.rst
bnxt.rst bnxt_en: Update bnxt.rst devlink documentation 2021-10-29 12:13:05 +01:00
devlink-dpipe.rst
devlink-eswitch-attr.rst Documentation: Add documentation for eswitch attribute 2024-03-28 18:20:08 -07:00
devlink-flash.rst
devlink-health.rst devlink: Update devlink health documentation 2023-02-15 19:15:44 -08:00
devlink-info.rst net: devlink: add DEVLINK_INFO_VERSION_GENERIC_FW_BOOTLOADER 2022-12-12 11:39:13 +01:00
devlink-linecard.rst Revert "Merge branch 'mlxsw-line-card-model'" 2022-05-05 15:47:23 -07:00
devlink-params.rst devlink: Clarifies max_macs generic devlink param 2021-12-21 19:08:55 -08:00
devlink-port.rst devlink: Support setting max_io_eqs 2024-04-08 14:10:45 +01:00
devlink-region.rst devlink: support directly reading from region memory 2022-11-30 20:54:30 -08:00
devlink-reload.rst Documentation: devlink: extend reload-reinit description 2023-11-30 12:31:23 +01:00
devlink-resource.rst
devlink-selftests.rst devlink: introduce framework for selftests 2022-07-28 21:56:53 -07:00
devlink-trap.rst devlink: Add packet traps for 802.1X operation 2022-11-09 19:06:14 -08:00
etas_es58x.rst Documentation: devlink: add devlink documentation for the etas_es58x driver 2022-12-12 11:39:13 +01:00
hns3.rst devlink: add documentation for hns3 driver 2021-07-26 12:16:03 +01:00
i40e.rst i40e: Align devlink info versions with ice driver and add docs 2023-10-19 09:03:56 -07:00
ice.rst ice: add CGU info to devlink info callback 2023-12-05 11:40:12 +01:00
index.rst Documentation: Add documentation for eswitch attribute 2024-03-28 18:20:08 -07:00
ionic.rst
iosm.rst net: wwan: iosm: correct devlink extra params 2021-10-02 16:05:20 +01:00
mlx4.rst
mlx5.rst Documentation: Fix counter name of mlx5 vnic reporter 2024-02-05 16:45:50 -08:00
mlxsw.rst mlxsw: core_linecards: Expose device PSID over device info 2022-07-26 13:56:36 -07:00
mv88e6xxx.rst
netdevsim.rst Documentation: networking: correct spelling 2023-01-31 13:00:47 +01:00
nfp.rst
octeontx2.rst devlink: add documentation for octeontx2 driver 2021-10-28 14:35:34 +01:00
prestera.rst Documentation: networking: correct spelling 2023-01-31 13:00:47 +01:00
qed.rst
sfc.rst sfc: add devlink info support for ef100 2023-02-16 12:03:12 +01:00
ti-cpsw-switch.rst