Skip to content
  • Paul Blakey's avatar
    net/mlx5: Fix lowest FDB pool size · 93b8a7ec
    Paul Blakey authored
    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: e52c2802
    
     ("net/mlx5: E-Switch, Add chains and priorities")
    Signed-off-by: default avatarPaul Blakey <paulb@mellanox.com>
    Reviewed-by: default avatarRoi Dayan <roid@mellanox.com>
    Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
    93b8a7ec