Re: [Intel-wired-lan] [PATCH net-next v2 1/3] ice: add ice_adapter for shared data across PFs on the same NIC

2024-03-07 Thread Jiri Pirko
Wed, Mar 06, 2024 at 08:20:33PM CET, mschm...@redhat.com wrote: >On Wed, Mar 6, 2024 at 6:00 PM Jiri Pirko wrote: >> Wed, Mar 06, 2024 at 05:29:05PM CET, mschm...@redhat.com wrote: >> >There is a need for synchronization between ice PFs on the same physical >> >adapter. >> > >> >Add a "struct ice_

Re: [Intel-wired-lan] [PATCH net-next v2 1/3] ice: add ice_adapter for shared data across PFs on the same NIC

2024-03-06 Thread Michal Schmidt
On Wed, Mar 6, 2024 at 6:00 PM Jiri Pirko wrote: > Wed, Mar 06, 2024 at 05:29:05PM CET, mschm...@redhat.com wrote: > >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 multifunct

Re: [Intel-wired-lan] [PATCH net-next v2 1/3] ice: add ice_adapter for shared data across PFs on the same NIC

2024-03-06 Thread Jiri Pirko
Wed, Mar 06, 2024 at 05:29:05PM CET, mschm...@redhat.com wrote: >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

[Intel-wired-lan] [PATCH net-next v2 1/3] ice: add ice_adapter for shared data across PFs on the same NIC

2024-03-06 Thread Michal Schmidt
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