aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTariq Toukan <[email protected]>2021-04-22 18:34:57 +0300
committerSaeed Mahameed <[email protected]>2021-05-27 11:54:36 -0700
commit2ef9c7c613cfed2bba64dab194a5649b9c1e6685 (patch)
tree8cb9b5af493641c45bdcf95426608f67d7c7cce1 /tools/perf/scripts/python
parentc07274ab1ab2c38fb128e32643c22c89cb319384 (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')
0 files changed, 0 insertions, 0 deletions