diff options
author | Khalid Manaa <khalidm@nvidia.com> | 2022-01-26 14:14:58 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-02-01 20:59:41 -0800 |
commit | b8d91145ed7cfa046cc07bcfb277465b9d45da73 (patch) | |
tree | 538a42f0ba3469bafb4acabd7639cda07e6cb9d0 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 880b517691908fb753019b9b27cd082e7617debd (diff) |
net/mlx5e: Fix wrong calculation of header index in HW_GRO
The HW doesn't wrap the CQE.shampo.header_index field according to the
headers buffer size, instead it always increases it until reaching overflow
of u16 size.
Thus the mlx5e_handle_rx_cqe_mpwrq_shampo handler should mask the
CQE header_index field to find the actual header index in the headers buffer.
Fixes: f97d5c2a453e ("net/mlx5e: Add handle SHAMPO cqe support")
Signed-off-by: Khalid Manaa <khalidm@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions