diff options
author | Michal Michalik <[email protected]> | 2022-05-10 13:03:43 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-06-14 09:35:57 -0700 |
commit | 71a579f0d3777a704355e6f1572dfba92a9b58b2 (patch) | |
tree | 0aca3a6bc65eb1828646805e77aa9b1f68621771 /scripts/clang-tools/gen_compile_commands.py | |
parent | 4b7a632ac4e7101ceefee8484d5c2ca505d347b3 (diff) |
ice: Fix PTP TX timestamp offset calculation
The offset was being incorrectly calculated for E822 - that led to
collisions in choosing TX timestamp register location when more than
one port was trying to use timestamping mechanism.
In E822 one quad is being logically split between ports, so quad 0 is
having trackers for ports 0-3, quad 1 ports 4-7 etc. Each port should
have separate memory location for tracking timestamps. Due to error for
example ports 1 and 2 had been assigned to quad 0 with same offset (0),
while port 1 should have offset 0 and 1 offset 16.
Fix it by correctly calculating quad offset.
Fixes: 3a7496234d17 ("ice: implement basic E822 PTP support")
Signed-off-by: Michal Michalik <[email protected]>
Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions