[Intel-wired-lan] [PATCH iwl-net v2] ice: use DSN instead of PCI BDF for ice_adapter index
Michal Kubiak
michal.kubiak at intel.com
Mon Apr 7 11:42:20 UTC 2025
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
More information about the Intel-wired-lan
mailing list