HomeFreeBSD

mlx5_core: fix "no space" error on sriov enablement

Description

mlx5_core: fix "no space" error on sriov enablement

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 many 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.

Sponsored by: NVidia networking

Details

Provenance
Ariel Ehrenberg <aehrenberg@nvidia.com>Authored on Nov 25 2024, 1:10 PM
kibCommitted on Sun, Dec 15, 10:27 PM
Parents
rG29a9d7c6ce78: mlx5_core: fix panic on sriov enablement
Branches
Unknown
Tags
Unknown

Event Timeline