]> git.droids-corp.org - dpdk.git/blobdiff - drivers/mempool/octeontx/octeontx_fpavf.c
replace packed attributes
[dpdk.git] / drivers / mempool / octeontx / octeontx_fpavf.c
index 63f8fb3b500a3a0ab9288784b38912d3f217c443..0ff234913d13dcac89f08a58d2e0084f3ceb9c03 100644 (file)
@@ -46,20 +46,20 @@ struct octeontx_mbox_fpa_cfg {
        uint64_t        aura_cfg;
 };
 
        uint64_t        aura_cfg;
 };
 
-struct __attribute__((__packed__)) gen_req {
+struct __rte_packed gen_req {
        uint32_t        value;
 };
 
        uint32_t        value;
 };
 
-struct __attribute__((__packed__)) idn_req {
+struct __rte_packed idn_req {
        uint8_t domain_id;
 };
 
        uint8_t domain_id;
 };
 
-struct __attribute__((__packed__)) gen_resp {
+struct __rte_packed gen_resp {
        uint16_t        domain_id;
        uint16_t        vfid;
 };
 
        uint16_t        domain_id;
        uint16_t        vfid;
 };
 
-struct __attribute__((__packed__)) dcfg_resp {
+struct __rte_packed dcfg_resp {
        uint8_t sso_count;
        uint8_t ssow_count;
        uint8_t fpa_count;
        uint8_t sso_count;
        uint8_t ssow_count;
        uint8_t fpa_count;