On Tue, Feb 25, 2025 at 09:50:21AM +0000, Simon Horman wrote: > On Fri, Feb 21, 2025 at 10:39:49AM +0100, Grzegorz Nitka wrote: > > E82X adapters do not have sequential IDs, lane number is PF ID. > > > > Add check for ICE_MAC_GENERIC and skip checking port options. > > This I see.
Sorry, this was part of an earlier draft. Please ignore. > > > > > Also, adjust logical port number for specific E825 device with external > > PHY support (PCI device id 0x579F). For this particular device, > > with 2x25G (PHY0) and 2x10G (PHY1) port configuration, modification of > > pf_id -> lane_number mapping is required. PF IDs on the 2nd PHY start > > from 4 in such scenario. Otherwise, the lane number cannot be > > determined correctly, leading to PTP init errors during PF initialization. > > > > Fixes: 258f5f9058159 ("ice: Add correct PHY lane assignment") > > Co-developed-by: Karol Kolacinski <karol.kolacin...@intel.com> > > Signed-off-by: Karol Kolacinski <karol.kolacin...@intel.com> > > Signed-off-by: Grzegorz Nitka <grzegorz.ni...@intel.com> > > Reviewed-by: Przemek Kitszel <przemyslaw.kits...@intel.com> > > Reviewed-by: Milena Olech <milena.ol...@intel.com> > > Reviewed-by: Simon Horman <ho...@kernel.org> I only meant to send this part :)