On Wed, Jun 17, 2026 at 09:10:53PM +0530, Subbaraya Sundeep wrote:
NIX maximum number of LFs can be set via devlink command
but that can be done before assigning any LFs to a PF/VF.
The condition used to check whether any LFs are assigned is
incorrect. This patch fixes that condition.
Fixes: dd7842878633 ("octeontx2-af: Add new devlink param to configure maximum usable NIX block LFs")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
---
v3 changes:
None, updated changelog
v2 changes:
Fixed AI review by updating error message
Updated comment to mention modifying NIXLFs has to be done prior
to attaching NIXLFs to any PFs/VFs.
Thanks for the updates.
Reviewed-by: Simon Horman <horms@kernel.org>