summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Hawari <mohammed@hawari.fr>2021-03-25 17:35:10 +0100
committerDave Wallace <dwallacelf@gmail.com>2021-04-19 15:10:44 +0000
commit6bd1c77fdcb2c4fcba1e2aae619fe4d2a01b489d (patch)
tree13d57791e34416754b253d930f2cbfb6fdf7b96b
parentdd3d99160624d8b93abb4eab55fa2b901dad66d7 (diff)
rdma: fix buggy cqe parsing (truncated packets)
Change-Id: I17228bd35cc7aa0d207a16502bf1376c75675302 Signed-off-by: Mohammed Hawari <mohammed@hawari.fr> Type: fix (cherry picked from commit 933b0ca073a481a976ef64bf8f5ddfe19a346f30)
-rw-r--r--src/plugins/rdma/input.c2
1 files changed, 1 insertions, 1 deletions
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 */