[PATCH V2 3/7] net/mlx5: add new devargs to control probe optimization

Minggang(Gavin) Li gavinl at nvidia.com
Tue Oct 29 09:27:25 CET 2024


On 10/28/2024 11:47 PM, Stephen Hemminger wrote:
> On Mon, 28 Oct 2024 11:18:18 +0200
> "Minggang Li(Gavin)" <gavinl at nvidia.com> wrote:
>
>> +- ``probe_opt_en`` parameter [int]
>> +
>> +  A non-zero value optimizes the probe process, especially for large scale.
>> +  PMD will hold the IB device information internally and reuse it.
>> +
>> +  By default, the PMD will set this value to 0.
>> +
> Is there ever a case where this should not be used?
>
> It would be better to just detect and use it if available.
> This driver does not need more options...
The new mechanism, which is required by few users, so we would not break 
production and with the option we encourage to use new way only those 
who actually needs. Once we see the new way is reliable - we will change 
the default value.


More information about the dev mailing list