Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
403f9b5
)
rdma: fix buggy cqe parsing (truncated packets)
72/31772/2
author
Mohammed Hawari
<mohammed@hawari.fr>
Thu, 25 Mar 2021 16:35:10 +0000
(17:35 +0100)
committer
Damjan Marion
<dmarion@me.com>
Thu, 25 Mar 2021 18:58:08 +0000
(18:58 +0000)
Change-Id: I17228bd35cc7aa0d207a16502bf1376c75675302
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Type: fix
src/plugins/rdma/input.c
patch
|
blob
|
history
diff --git
a/src/plugins/rdma/input.c
b/src/plugins/rdma/input.c
index
4435d59
..
69b14ee
100644
(file)
--- a/
src/plugins/rdma/input.c
+++ b/
src/plugins/rdma/input.c
@@
-973,9
+973,8
@@
rdma_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
slow_path_needed =
rdma_device_mlx5dv_legacy_rq_slow_path_needed (rxq->buf_sz,
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_bytes = rdma_device_mlx5dv_fast_input (
+ vm, rxq, bufs, mask, &bt, to_next, 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 */