diff options
author | Benoît Ganne <bganne@cisco.com> | 2019-04-03 15:16:28 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-09 23:47:39 +0000 |
commit | 5763e47b7d0d9de7a46541e432abee39e17b5f1e (patch) | |
tree | 2db12b2a8e28785128e49546b0353da1cdd3be72 /src/plugins/rdma/input.c | |
parent | e035892055a7bd73297e22aefd4dcabe966e9b51 (diff) |
rdma: add multiqueue support
Add support for multiqueue for RDMA devices.
Change-Id: I78a2481cec6747494c670cc776475828be3af55b
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/rdma/input.c')
-rw-r--r-- | src/plugins/rdma/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/rdma/input.c b/src/plugins/rdma/input.c index 2aa98f07e8c..02ac9bf27c6 100644 --- a/src/plugins/rdma/input.c +++ b/src/plugins/rdma/input.c @@ -129,7 +129,7 @@ rdma_device_input_refill (vlib_main_t * vm, rdma_device_t * rd, w[-1].next = 0; /* fix next pointer in WR linked-list last item */ w = wr; - ibv_post_recv (rxq->qp, wr, &w); + ibv_post_wq_recv (rxq->wq, wr, &w); n = wr == w ? n_alloc : (uintptr_t) (w - wr); if (PREDICT_FALSE (n != n_alloc)) |