diff options
| author | Tariq Toukan <[email protected]> | 2021-04-22 18:34:57 +0300 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-05-27 11:54:36 -0700 |
| commit | 2ef9c7c613cfed2bba64dab194a5649b9c1e6685 (patch) | |
| tree | 8cb9b5af493641c45bdcf95426608f67d7c7cce1 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | c07274ab1ab2c38fb128e32643c22c89cb319384 (diff) | |
net/mlx5e: RX, Remove unnecessary check in RX CQE compression handling
There are two reasons for exiting mlx5e_decompress_cqes_cont():
1. The compression session is completed (cqd.left == 0).
2. The budget is exhausted (work_done == budget).
If after calling mlx5e_decompress_cqes_cont() we have cqd.left > 0,
it necessarily implies that budget is exhausted.
The first part of the complex condition is covered by the second,
hence we remove it here.
Signed-off-by: Tariq Toukan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions