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 <[email protected]>
Suggested-by: Jakub Kicinski <[email protected]>
Suggested-by: Jiri Pirko <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Signed-off-by: Przemek Kitszel <[email protected]>
---
CC: Karol Kolacinski <[email protected]>
CC: Grzegorz Nitka <[email protected]>
CC: Michal Schmidt <[email protected]>
CC: Sergey Temerkhanov <[email protected]>

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")

Reply via email to