git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx5: replace memory barrier type
[dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5_rxtx.h
diff --git
a/drivers/net/mlx5/mlx5_rxtx.h
b/drivers/net/mlx5/mlx5_rxtx.h
index
c9b165d
..
033e70f
100644
(file)
--- a/
drivers/net/mlx5/mlx5_rxtx.h
+++ b/
drivers/net/mlx5/mlx5_rxtx.h
@@
-605,7
+605,7
@@
mlx5_tx_dbrec(struct txq *txq, volatile struct mlx5_wqe *wqe)
uint64_t *dst = (uint64_t *)((uintptr_t)txq->bf_reg);
volatile uint64_t *src = ((volatile uint64_t *)wqe);
- rte_wmb();
+ rte_
io_
wmb();
*txq->qp_db = htonl(txq->wqe_ci);
/* Ensure ordering between DB record and BF copy. */
rte_wmb();