diff options
author | Paul Blakey <paulb@mellanox.com> | 2019-12-31 17:04:15 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-02-18 19:01:20 -0800 |
commit | 76781623f009d5615b67f0675230ef90eaa9272a (patch) | |
tree | 798c53195caf3bb8f1e2719db8e2c6dafdc40fc9 /include | |
parent | 383de108157c881074f32914b61125e299820bd2 (diff) |
net/mlx5: Fix lowest FDB pool size
The pool sizes represent the pool sizes in the fw. when we request
a pool size from fw, it will return the next possible group.
We track how many pools the fw has left and start requesting groups
from the big to the small.
When we start request 4k group, which doesn't exists in fw, fw
wants to allocate the next possible size, 64k, but will fail since
its exhausted. The correct smallest pool size in fw is 128 and not 4k.
Fixes: 39ac237ce009 ("net/mlx5: E-Switch, Refactor chains and priorities")
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions