diff options
author | Grzegorz Nitka <grzegorz.nitka@intel.com> | 2024-05-28 16:04:01 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-01 15:51:52 -0700 |
commit | 4409ea1726cb9ce2769808873f8fbe33378c201b (patch) | |
tree | 9347e3949c6a04c1674732eb6a6adbab69baa818 /net/unix/af_unix.c | |
parent | 5f847eede63889cbada9a23ea7c8f68659e3e918 (diff) | |
download | linux-4409ea1726cb9ce2769808873f8fbe33378c201b.tar.gz linux-4409ea1726cb9ce2769808873f8fbe33378c201b.tar.bz2 linux-4409ea1726cb9ce2769808873f8fbe33378c201b.zip |
ice: Adjust PTP init for 2x50G E825C devices
>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@intel.com>
Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20240528-next-2024-05-28-ptp-refactors-v1-11-c082739bb6f6@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions