replace alignment attributes
[dpdk.git] / drivers / bus / dpaa / base / qbman / qman.c
index 770e43f..b596e79 100644 (file)
@@ -11,6 +11,8 @@
 #include <rte_eventdev.h>
 #include <rte_byteorder.h>
 
+#include <dpaa_bits.h>
+
 /* Compilation constants */
 #define DQRR_MAXFILL   15
 #define EQCR_ITHRESH   4       /* if EQCR congests, interrupt threshold */
@@ -92,7 +94,7 @@ struct qman_portal {
         * address (6 bits for address shift + 4 bits for the DQRR size).
         */
        struct qm_dqrr_entry shadow_dqrr[QM_DQRR_SIZE]
-                   __attribute__((aligned(1024)));
+                   __rte_aligned(1024);
 #endif
 };