summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaul Blakey <paulb@nvidia.com>2021-03-11 12:35:39 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-05-27 21:54:38 +0300
commit71513c05a97fa2c930d79661a32759e6875850d4 (patch)
treeabc9abd4ad1b8faa25a42a4b18ebb2252f4811f0 /include/linux
parent9e117998409c740fdf921392acb048360fcb62a9 (diff)
downloadlinux-71513c05a97fa2c930d79661a32759e6875850d4.tar.xz
net/mlx5: Cap the maximum flow group size to 16M entries
The maximum number of large flow groups applies to both small and large tables. For very large tables (such as the 2G SW steering tables) this may create a small number of flow groups each with an unrealistic entries domain (> 16M). Set the maximum number of large flow groups to at least what user requested, but with a maximum per group size of 16M entries. For software steering, if user requested less than 128 large flow groups, it will gives us about 128 16M groups in a 2G entries tables. Signed-off-by: Paul Blakey <paulb@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions