summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnxt/bnxt_cpr.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnxt/bnxt_cpr.h')
-rw-r--r--drivers/net/bnxt/bnxt_cpr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnxt/bnxt_cpr.h b/drivers/net/bnxt/bnxt_cpr.h
index c176f8c5..f9f2adb4 100644
--- a/drivers/net/bnxt/bnxt_cpr.h
+++ b/drivers/net/bnxt/bnxt_cpr.h
@@ -54,6 +54,7 @@
RING_CMP(cpr->cp_ring_struct, raw_cons)))
#define B_CP_DIS_DB(cpr, raw_cons) \
+ rte_smp_wmb(); \
(*(uint32_t *)((cpr)->cp_doorbell) = (DB_CP_FLAGS | \
RING_CMP(cpr->cp_ring_struct, raw_cons)))