net/cxgbe: support Source MAC Table
[dpdk.git] / drivers / net / sfc / base / efx_tx.c
index 5cf3dcd..e7c5e80 100644 (file)
@@ -799,7 +799,7 @@ siena_tx_qpost(
                 * Fragments must not span 4k boundaries.
                 * Here it is a stricter requirement than the maximum length.
                 */
-               EFSYS_ASSERT(P2ROUNDUP(start + 1,
+               EFSYS_ASSERT(EFX_P2ROUNDUP(efsys_dma_addr_t, start + 1,
                    etp->et_enp->en_nic_cfg.enc_tx_dma_desc_boundary) >= end);
 
                EFX_TX_DESC(etp, start, size, ebp->eb_eop, added);
@@ -1058,7 +1058,7 @@ siena_tx_qdesc_dma_create(
         * Fragments must not span 4k boundaries.
         * Here it is a stricter requirement than the maximum length.
         */
-       EFSYS_ASSERT(P2ROUNDUP(addr + 1,
+       EFSYS_ASSERT(EFX_P2ROUNDUP(efsys_dma_addr_t, addr + 1,
            etp->et_enp->en_nic_cfg.enc_tx_dma_desc_boundary) >= addr + size);
 
        EFSYS_PROBE4(tx_desc_dma_create, unsigned int, etp->et_index,