]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR, Set max table size to 2G entries
authorPaul Blakey <paulb@nvidia.com>
Mon, 8 Mar 2021 12:52:41 +0000 (14:52 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 27 May 2021 18:54:38 +0000 (11:54 -0700)
commit1df4d431e7d8f579bc098c3a98f9f5c93a7f845b
tree4bd3ff8e53c88f969964466913e4d99f60038a9e
parentd11f514c88849e670110ac5fcf8904bc96ed11ee
net/mlx5: DR, Set max table size to 2G entries

SW steering has no table size limitations.
However, fs_core API is size aware.

Set SW steering tables to the maximum possible table size (INT_MAX).

Signed-off-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c