]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/sfc_efx/base/ef10_tx.c
drivers: remove warning with Meson 0.59
[dpdk.git] / drivers / common / sfc_efx / base / ef10_tx.c
index 61c7e49fe8aa4dad17b2c211b0c6a956e1f0357f..6085ed10761f365db5265c4a6f0acd09263cd730 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  *
- * Copyright(c) 2019-2020 Xilinx, Inc.
+ * Copyright(c) 2019-2021 Xilinx, Inc.
  * Copyright(c) 2012-2019 Solarflare Communications Inc.
  */
 
@@ -375,7 +375,7 @@ ef10_tx_qpush(
 
                /* Ensure ordering of memory (descriptors) and PIO (doorbell) */
                EFX_DMA_SYNC_QUEUE_FOR_DEVICE(etp->et_esmp, etp->et_mask + 1,
-                                           wptr, id);
+                   EF10_TXQ_DESC_SIZE, wptr, id);
                EFSYS_PIO_WRITE_BARRIER();
                EFX_BAR_VI_DOORBELL_WRITEO(enp, ER_DZ_TX_DESC_UPD_REG,
                    etp->et_index, &oword);
@@ -391,7 +391,7 @@ ef10_tx_qpush(
 
                /* Ensure ordering of memory (descriptors) and PIO (doorbell) */
                EFX_DMA_SYNC_QUEUE_FOR_DEVICE(etp->et_esmp, etp->et_mask + 1,
-                                           wptr, id);
+                   EF10_TXQ_DESC_SIZE, wptr, id);
                EFSYS_PIO_WRITE_BARRIER();
                EFX_BAR_VI_WRITED2(enp, ER_DZ_TX_DESC_UPD_REG,
                    etp->et_index, &dword, B_FALSE);