[Intel-wired-lan] [PATCH iwl-net v2] ice: use DSN instead of PCI BDF for ice_adapter index
Przemek Kitszel
przemyslaw.kitszel at intel.com
Mon Apr 7 13:30:45 UTC 2025
On 4/7/25 13:42, Michal Kubiak wrote:
> On Mon, Apr 07, 2025 at 01:20:05PM +0200, Przemek Kitszel wrote:
>> Use Device Serial Number instead of PCI bus/device/function for
>> index of struct ice_adapter.
>> Functions on the same physical device should point to the very same
>> ice_adapter instance.
>>
>> This is not only simplification, but also fixes things up when PF
>> is passed to VM (and thus has a random BDF).
>>
>> Suggested-by: Jacob Keller <jacob.e.keller at intel.com>
>> Suggested-by: Jakub Kicinski <kuba at kernel.org>
>> Suggested-by: Jiri Pirko <jiri at resnulli.us>
>> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
>> Signed-off-by: Przemek Kitszel <przemyslaw.kitszel at intel.com>
>> ---
>> CC: Karol Kolacinski <karol.kolacinski at intel.com>
>> CC: Grzegorz Nitka <grzegorz.nitka at intel.com>
>> CC: Michal Schmidt <mschmidt at redhat.com>
>> CC: Sergey Temerkhanov <sergey.temerkhanov at intel.com>
>>
>> v2:
>> - target to -net (Jiri)
>
> Missing "Fixes" tag? (After retargetting to -net).
>
> Thanks,
> Michal
oh, thanks, I wonder if our pw will pick the tag, if not, I will resend
Fixes: 0e2bddf9e5f9 ("ice: add ice_adapter for shared data across PFs on
the same NIC")
More information about the Intel-wired-lan
mailing list