diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2018-12-02 15:45:53 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-12-19 13:31:16 -0800 |
commit | bfc698254ba97b3e3e4ebbfae0ffa1f7e2fa0717 (patch) | |
tree | 2220945977de27c51297a4184af01d446760732b /lib/sg_split.c | |
parent | fb24274546310872eeeaf3d1d53799d8414aa0f2 (diff) | |
download | linux-bfc698254ba97b3e3e4ebbfae0ffa1f7e2fa0717.tar.gz linux-bfc698254ba97b3e3e4ebbfae0ffa1f7e2fa0717.tar.bz2 linux-bfc698254ba97b3e3e4ebbfae0ffa1f7e2fa0717.zip |
net/mlx5e: RX, Fix wrong early return in receive queue poll
When the completion queue of the RQ is empty, do not immediately return.
If left-over decompressed CQEs (from the previous cycle) were processed,
need to go to the finalization part of the poll function.
Bug exists only when CQE compression is turned ON.
This solves the following issue:
mlx5_core 0000:82:00.1: mlx5_eq_int:544:(pid 0): CQ error on CQN 0xc08, syndrome 0x1
mlx5_core 0000:82:00.1 p4p2: mlx5e_cq_error_event: cqn=0x000c08 event=0x04
Fixes: 4b7dfc992514 ("net/mlx5e: Early-return on empty completion queues")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'lib/sg_split.c')
0 files changed, 0 insertions, 0 deletions