]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/qede/base/ecore_spq.c
net/qede: use I/O device memory read/write API
[dpdk.git] / drivers / net / qede / base / ecore_spq.c
index 9f5fdf88e8e78e2c16bc724d2def29a2c567e964..1f35d6c83ef1c69943b5bbe5cc6d3176295903bc 100644 (file)
@@ -248,7 +248,8 @@ static enum _ecore_status_t ecore_spq_hw_post(struct ecore_hwfn *p_hwfn,
        /* make sure the SPQE is updated before the doorbell */
        OSAL_WMB(p_hwfn->p_dev);
 
-       DOORBELL(p_hwfn, DB_ADDR(p_spq->cid, DQ_DEMS_LEGACY), *(u32 *)&db);
+       DOORBELL(p_hwfn, DB_ADDR(p_spq->cid, DQ_DEMS_LEGACY),
+                *(u32 *)&db);
 
        /* make sure doorbell is rang */
        OSAL_WMB(p_hwfn->p_dev);