> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Karol 
> Kolacinski
> Sent: Wednesday, April 24, 2024 7:00 PM
> To: [email protected]
> Cc: [email protected]; Kubalewski, Arkadiusz 
> <[email protected]>; Kolacinski, Karol 
> <[email protected]>; Nguyen, Anthony L <[email protected]>
> Subject: [Intel-wired-lan] [PATCH v10 iwl-next 12/12] ice: Adjust PTP init 
> for 2x50G E825C devices
>
> From: Grzegorz Nitka <[email protected]>
>
> 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 <[email protected]>
> Reviewed-by: Arkadiusz Kubalewski <[email protected]>
> Signed-off-by: Karol Kolacinski <[email protected]>
> ---
> 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 <[email protected]> (A 
Contingent worker at Intel)

Reply via email to