]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: IFC updates for SF max IO EQs
authorDaniel Jurgens <danielj@nvidia.com>
Fri, 12 Jul 2024 00:33:07 +0000 (17:33 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Jul 2024 22:44:16 +0000 (15:44 -0700)
commit63c6e08eac8e7e2ad2e883c968e58e23e1dc8c70
tree96dc759857c98202d0a955bc45c7f6ead4d3bcb3
parentf7023b3d697c6a7dfe2d9c70e0d8c2c580ccbd76
net/mlx5: IFC updates for SF max IO EQs

Expose a new cap sf_eq_usage. The vhca_resource_manager can write this
cap, indicating the SF driver should use max_num_eqs_24b to determine
how many EQs to use.

Will be used in the next patch, to indicate to the SF driver from the PF
that the user has set the max io eqs via devlink. So the SF driver can
later query the proper max eq value from the new cap.

devlink port function set pci/0000:08:00.0/32768 max_io_eqs 32

Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
Reviewed-by: William Tu <witu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Link: https://patch.msgid.link/20240712003310.355106-2-saeed@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/mlx5/mlx5_ifc.h