aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMohammed Hawari <mohammed@hawari.fr>2020-11-24 18:36:33 +0100
committerBeno�t Ganne <bganne@cisco.com>2020-11-25 10:35:01 +0000
commit3ef653aa886e6a07afba106b4f03c40e392e1307 (patch)
tree15deaf681100071ae5341a4ce5c1eda1735f8a01 /src/plugins
parentdf87f8092f5b6b54eef0d5acf3c27c2e398a401a (diff)
rdma: fixed UAR writing at tx
Change-Id: Id81b4d27845c4e91cef90a4b8649662942d3cba1 Signed-off-by: Mohammed Hawari <mohammed@hawari.fr> Type: fix
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/rdma/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/rdma/output.c b/src/plugins/rdma/output.c
index 567fd7760a8..8c267a6fb25 100644
--- a/src/plugins/rdma/output.c
+++ b/src/plugins/rdma/output.c
@@ -100,7 +100,7 @@ rdma_device_output_tx_mlx5_doorbell (rdma_txq_t * txq, rdma_mlx5_wqe_t * last,
CLIB_MEMORY_STORE_BARRIER ();
txq->dv_sq_dbrec[MLX5_SND_DBR] = htobe32 (tail);
CLIB_COMPILER_BARRIER ();
- txq->dv_sq_db[0] = *(u64 *) (txq->dv_sq_wqes + (txq->tail & sq_mask));
+ txq->dv_sq_db[0] = *(u64 *) last;
}
static_always_inline void