diff options
author | Raed Salem <[email protected]> | 2022-10-26 14:51:53 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-10-27 11:06:57 -0700 |
commit | 12ba40ba3dc3a28ad579b7de2202ab6419da304a (patch) | |
tree | d72a28c86dd624b12977eb6f843a8556c3b2a550 /tools/perf/scripts/python/check-perf-trace.py | |
parent | d550956458a83cf87cb8fe24862f3340065c62c1 (diff) |
net/mlx5e: Fix macsec sci endianness at rx sa update
The cited commit at rx sa update operation passes the sci object
attribute, in the wrong endianness and not as expected by the HW
effectively create malformed hw sa context in case of update rx sa
consequently, HW produces unexpected MACsec packets which uses this
sa.
Fix by passing sci to create macsec object with the correct endianness,
while at it add __force u64 to prevent sparse check error of type
"sparse: error: incorrect type in assignment".
Fixes: aae3454e4d4c ("net/mlx5e: Add MACsec offload Rx command support")
Signed-off-by: Raed Salem <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions