Skip to content

Commit 0b989c1

Browse files
committed
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/[email protected] Acked-by: Bjorn Helgaas <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
1 parent c3d5c2d commit 0b989c1

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,16 @@ struct mlx5_ifc_cmd_hca_cap_bits {
16831683
u8 reserved_at_6e0[0x10];
16841684
u8 sf_base_id[0x10];
16851685

1686-
u8 reserved_at_700[0x80];
1686+
u8 reserved_at_700[0x8];
1687+
u8 num_total_dynamic_vf_msix[0x18];
1688+
u8 reserved_at_720[0x14];
1689+
u8 dynamic_msix_table_size[0xc];
1690+
u8 reserved_at_740[0xc];
1691+
u8 min_dynamic_vf_msix_table_size[0x4];
1692+
u8 reserved_at_750[0x4];
1693+
u8 max_dynamic_vf_msix_table_size[0xc];
1694+
1695+
u8 reserved_at_760[0x20];
16871696
u8 vhca_tunnel_commands[0x40];
16881697
u8 reserved_at_7c0[0x40];
16891698
};

0 commit comments

Comments
 (0)