]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add the log_min_mkey_entity_size capability
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Tue, 27 Sep 2022 20:35:56 +0000 (13:35 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Sep 2022 02:36:33 +0000 (19:36 -0700)
commit03298961dac577d0991eb511ae6f022f89380c6f
tree51dbc56c6299832d94e0295717b5c45dd092ffe0
parentf94ac7947f4245e2e19e4d45f821a496619caa56
net/mlx5: Add the log_min_mkey_entity_size capability

Add the capability that will allow the driver to determine the minimal
MTT page size to be able to map the smallest possible pages in XSK. The
older firmwares that don't have this capability default to 12 (i.e.
4096-byte pages).

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/mlx5/mlx5_ifc.h