RE: [PATCH iwl-net v4] i40e: Restore VF MSI-X state during PCI reset

From: Staikov, Andrii
Date: Thu Dec 21 2023 - 09:06:16 EST



> The ice driver recently started caching the PCI device structure
> pointers in their VF structure instead of having to do this sort of
> lookup on the fly.
>
> See 31642d2854e2 ("ice: store VF's pci_dev ptr in ice_vf") [1][2]
>
> [1]:
> https://lore.kernel.org/intel-wired-lan/20230912115626.105828-1-mateusz.polchlopek@xxxxxxxxx/
> [2]:
> https://lore.kernel.org/netdev/20231019173227.3175575-4-jacob.e.keller@xxxxxxxxx/
>
> Can we do something similar for i40e?

For now we don't anticipate much benefit of this approach, and we want relatively smaller change for a bugfix.

Regards,
Staikov Andrii