diff options
| author | Patrisious Haddad <[email protected]> | 2025-02-19 08:58:08 +0000 |
|---|---|---|
| committer | Leon Romanovsky <[email protected]> | 2025-02-23 09:43:14 +0000 |
| commit | 80df31f384b4146a62a01b3d4beb376cc7b9a89e (patch) | |
| tree | d3bcefaa01ae2102e4fecec2d6e08ff3a684ec3b /net/switchdev/switchdev.c | |
| parent | net/mlx5: Add new health syndrome error and crr bit offset (diff) | |
| download | kernel-80df31f384b4146a62a01b3d4beb376cc7b9a89e.tar.gz kernel-80df31f384b4146a62a01b3d4beb376cc7b9a89e.zip | |
net/mlx5: Change POOL_NEXT_SIZE define value and make it global
Change POOL_NEXT_SIZE define value from 0 to BIT(30), since this define
is used to request the available maximum sized flow table, and zero doesn't
make sense for it, whereas some places in the driver use zero explicitly
expecting the smallest table size possible but instead due to this
define they end up allocating the biggest table size unawarely.
In addition move the definition to "include/linux/mlx5/fs.h" to expose the
define to IB driver as well, while appropriately renaming it.
Signed-off-by: Patrisious Haddad <[email protected]>
Reviewed-by: Maor Gottlieb <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
