Re: [PATCH net-next 02/14] devlink: Add 'total_vfs' generic device param

Jiri Pirko
2025-02-28T12:40:01Z

Fri, Feb 28, 2025 at 03:12:15AM +0100, saeed@kernel.org wrote:
>From: Vlad Dumitrescu <vdumitrescu@nvidia.com>
>
>NICs are typically configured with total_vfs=0, forcing users to rely
>on external tools to enable SR-IOV (a widely used and essential feature).
>
>Add total_vfs parameter to devlink for SR-IOV max VF configurability.
>Enables standard kernel tools to manage SR-IOV, addressing the need for
>flexible VF configuration.
>
>Signed-off-by: Vlad Dumitrescu <vdumitrescu@nvidia.com>
>Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>

Reviewed-by: Jiri Pirko <jiri@nvidia.com>