aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKarol Kolacinski <karol.kolacinski@intel.com>2025-03-20 14:15:38 +0100
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-04-11 10:46:37 -0700
commite2193f9f9ec989d7d3e5ff1fd96f71abc4426fc5 (patch)
tree8dbb38909a0a84de8ba04f53e1b34d62edd9ec39 /tools/perf/scripts/python/exported-sql-viewer.py
parentice: refactor ice_sbq_msg_dev enum (diff)
downloadwireguard-linux-e2193f9f9ec989d7d3e5ff1fd96f71abc4426fc5.tar.xz
wireguard-linux-e2193f9f9ec989d7d3e5ff1fd96f71abc4426fc5.zip
ice: enable timesync operation on 2xNAC E825 devices
According to the E825C specification, SBQ address for ports on a single complex is device 2 for PHY 0 and device 13 for PHY1. For accessing ports on a dual complex E825C (so called 2xNAC mode), the driver should use destination device 2 (referred as phy_0) for the current complex PHY and device 13 (referred as phy_0_peer) for peer complex PHY. Differentiate SBQ destination device by checking if current PF port number is on the same PHY as target port number. Adjust 'ice_get_lane_number' function to provide unique port number for ports from PHY1 in 'dual' mode config (by adding fixed offset for PHY1 ports). Cache this value in ice_hw struct. Introduce ice_get_primary_hw wrapper to get access to timesync register not available from second NAC. Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com> Co-developed-by: Grzegorz Nitka <grzegorz.nitka@intel.com> Signed-off-by: Grzegorz Nitka <grzegorz.nitka@intel.com> Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions