[Intel-wired-lan] [PATCH v10 iwl-next 12/12] ice: Adjust PTP init for 2x50G E825C devices
Pucha, HimasekharX Reddy
himasekharx.reddy.pucha at intel.com
Fri May 17 07:25:09 UTC 2024
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Karol Kolacinski
> Sent: Wednesday, April 24, 2024 7:00 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: netdev at vger.kernel.org; Kubalewski, Arkadiusz <arkadiusz.kubalewski at intel.com>; Kolacinski, Karol <karol.kolacinski at intel.com>; Nguyen, Anthony L <anthony.l.nguyen at intel.com>
> Subject: [Intel-wired-lan] [PATCH v10 iwl-next 12/12] ice: Adjust PTP init for 2x50G E825C devices
>
> From: Grzegorz Nitka <grzegorz.nitka at intel.com>
>
> From FW/HW perspective, 2 port topology in E825C devices requires merging of 2 port mapping internally and breakout mapping externally.
> As a consequence, it requires different port numbering from PTP code perspective.
> For that topology, pf_id can not be used to index PTP ports. Even if the 2nd port is identified as port with pf_id = 1, all PHY operations need to be performed as it was port 2. Thus, special mapping is needed for the 2nd port.
> This change adds detection of 2x50G topology and applies 'custom'
> mapping on the 2nd port.
>
> Signed-off-by: Grzegorz Nitka <grzegorz.nitka at intel.com>
> Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski at intel.com>
> Signed-off-by: Karol Kolacinski <karol.kolacinski at intel.com>
> ---
> V4 -> V5: - reworded commit mesage
> - renamed GLGEN_SWITCH_MODE_CONFIG_SELECT_25X4_ON_SINGLE_QUAD_M to
> GLGEN_SWITCH_MODE_CONFIG_25X4_QUAD_M
>
> .../net/ethernet/intel/ice/ice_hw_autogen.h | 4 ++++
> drivers/net/ethernet/intel/ice/ice_ptp.c | 5 +++++
> drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 22 +++++++++++++++++++
> drivers/net/ethernet/intel/ice/ice_type.h | 9 ++++++++
> 4 files changed, 40 insertions(+)
>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list