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)
commit0b989c1e37053196676b2238f82195bd5a339d58
tree22772e236072a8668f461d60d71816e6a2c8e63b
parentc3d5c2d96d69f2578d6fbf66e39cc2cf840d9812
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