From 6bd1c77fdcb2c4fcba1e2aae619fe4d2a01b489d Mon Sep 17 00:00:00 2001 From: Mohammed Hawari Date: Thu, 25 Mar 2021 17:35:10 +0100 Subject: rdma: fix buggy cqe parsing (truncated packets) Change-Id: I17228bd35cc7aa0d207a16502bf1376c75675302 Signed-off-by: Mohammed Hawari Type: fix (cherry picked from commit 933b0ca073a481a976ef64bf8f5ddfe19a346f30) --- src/plugins/rdma/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/rdma/input.c b/src/plugins/rdma/input.c index d7fbe96bc85..b1583b59267 100644 --- a/src/plugins/rdma/input.c +++ b/src/plugins/rdma/input.c @@ -974,7 +974,7 @@ rdma_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node, n_rx_packets, bc); n_rx_bytes = rdma_device_mlx5dv_fast_input (vm, rxq, bufs, mask, &bt, to_next, - n_rx_packets, bc, ~1); + n_rx_packets, bc, ~0); /* If there are chained buffers, some of the head buffers have a current length higher than buf_sz: it needs to be fixed */ -- cgit 1.2.3-korg