diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2024-03-26 02:20:37 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-04-01 18:58:09 +0300 |
commit | 0e2bddf9e5f926ce32ed635012d0f8a0b54075d5 (patch) | |
tree | 458bf8c638060b754862b89aa4d20894c7570f79 /drivers/net/ethernet/amazon | |
parent | 3b4cf29bdab08328dfab5bb7b41a62937ea5b379 (diff) | |
download | linux-0e2bddf9e5f926ce32ed635012d0f8a0b54075d5.tar.xz |
ice: add ice_adapter for shared data across PFs on the same NIC
There is a need for synchronization between ice PFs on the same physical
adapter.
Add a "struct ice_adapter" for holding data shared between PFs of the
same multifunction PCI device. The struct is refcounted - each ice_pf
holds a reference to it.
Its first use will be for PTP. I expect it will be useful also to
improve the ugliness that is ice_prot_id_tbl.
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/amazon')
0 files changed, 0 insertions, 0 deletions