]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/nfp/nfp_net_pmd.h
replace alignment attributes
[dpdk.git] / drivers / net / nfp / nfp_net_pmd.h
index cc1055c49a50c7cf8c7f3f81a640c8a2b23798fd..f0142e1ff7467f1723728ea750482a44a0f31240 100644 (file)
@@ -243,7 +243,7 @@ struct nfp_net_txq {
        int qidx;
        int tx_qcidx;
        __le64 dma;
-} __attribute__ ((__aligned__(64)));
+} __rte_aligned(64);
 
 /* RX and freelist descriptor format */
 #define PCIE_DESC_RX_DD                 (1 << 7)
@@ -374,7 +374,7 @@ struct nfp_net_rxq {
        int qidx;
        int fl_qcidx;
        int rx_qcidx;
-} __attribute__ ((__aligned__(64)));
+} __rte_aligned(64);
 
 struct nfp_net_hw {
        /* Info from the firmware */