]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add dynamic MSI-X capabilities bits
authorLeon Romanovsky <leonro@nvidia.com>
Sun, 14 Mar 2021 12:42:54 +0000 (14:42 +0200)
committerLeon Romanovsky <leonro@nvidia.com>
Sun, 4 Apr 2021 07:28:33 +0000 (10:28 +0300)
commit17ed5bd3065457a47391e9ba6076c6a4a2d7f998
tree22772e236072a8668f461d60d71816e6a2c8e63b
parent2af5f41a01ba5a97e347ecde59d2c1c8bd5da3f4
net/mlx5: Add dynamic MSI-X capabilities bits

These new fields declare the number of MSI-X vectors that is possible to
allocate on the VF through PF configuration.

Value must be in range defined by min_dynamic_vf_msix_table_size and
max_dynamic_vf_msix_table_size.

The driver should continue to query its MSI-X table through PCI
configuration header.

Link: https://lore.kernel.org/linux-pci/20210314124256.70253-3-leon@kernel.org
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
include/linux/mlx5/mlx5_ifc.h