diff options
author | Parav Pandit <parav@nvidia.com> | 2024-04-06 04:05:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-08 14:10:45 +0100 |
commit | 5af3e3876d567fb79a355bec1cb48e432d69b4fb (patch) | |
tree | 7a8dfac7420d2c8e4c7e0494f28855c91625d533 /net/bpf | |
parent | 4308811ba90118ae1b71a95fee79ab7dada6400c (diff) | |
download | lwn-5af3e3876d567fb79a355bec1cb48e432d69b4fb.tar.gz lwn-5af3e3876d567fb79a355bec1cb48e432d69b4fb.zip |
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>
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions