net/mlx5: do not invalidate title CQE
We can leave the title completion queue entry untouched since its contents are not modified. Reported-by: Liming Sun <lsun@mellanox.com> Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
This commit is contained in:
parent
e929f2a2cd
commit
b5750af6cb
@ -1160,7 +1160,7 @@ mlx5_rx_poll_len(struct rxq *rxq, volatile struct mlx5_cqe *cqe,
|
||||
zip->na += 8;
|
||||
}
|
||||
if (unlikely(rxq->zip.ai == rxq->zip.cqe_cnt)) {
|
||||
uint16_t idx = rxq->cq_ci;
|
||||
uint16_t idx = rxq->cq_ci + 1;
|
||||
uint16_t end = zip->cq_ci;
|
||||
|
||||
while (idx != end) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user