diff options
author | Mohammed Hawari <mohammed@hawari.fr> | 2020-11-24 18:36:33 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-11-26 15:04:05 +0000 |
commit | e7a1006e867029206535510576fb754398affede (patch) | |
tree | 4540366277bca2775d3f7b5e7adcb63d7ebb58a7 /src/plugins | |
parent | b72fb31d69039a86a4ed69d510ce8298c0a4fb49 (diff) |
rdma: fixed UAR writing at tx
Change-Id: Id81b4d27845c4e91cef90a4b8649662942d3cba1
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Type: fix
(cherry picked from commit 3ef653aa886e6a07afba106b4f03c40e392e1307)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/rdma/output.c | 2 |
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 |