X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fbus%2Fifpga%2Frte_bus_ifpga.h;h=b43084155abc608f26c2405a9e1cc6462e24320b;hb=ef5baf3486e03004b6d807f731f0d9936504511d;hp=a6eeaaf5684a12e2b4c66309b96aa79abb17256f;hpb=f35e5b3e07b2e7999f7d3085236cc366c9cb4da6;p=dpdk.git diff --git a/drivers/bus/ifpga/rte_bus_ifpga.h b/drivers/bus/ifpga/rte_bus_ifpga.h index a6eeaaf568..b43084155a 100644 --- a/drivers/bus/ifpga/rte_bus_ifpga.h +++ b/drivers/bus/ifpga/rte_bus_ifpga.h @@ -37,7 +37,7 @@ TAILQ_HEAD(ifpga_afu_drv_list, rte_afu_driver); struct rte_afu_uuid { uint64_t uuid_low; uint64_t uuid_high; -} __attribute__ ((packed)); +} __rte_packed; #define IFPGA_BUS_DEV_PORT_MAX 4 @@ -48,7 +48,7 @@ struct rte_afu_uuid { struct rte_afu_id { struct rte_afu_uuid uuid; int port; /**< port number */ -} __attribute__ ((packed)); +} __rte_packed; /** * A structure PR (Partial Reconfiguration) configuration AFU driver. @@ -82,7 +82,7 @@ struct rte_afu_device { struct rte_intr_handle intr_handle; /**< Interrupt handle */ struct rte_afu_driver *driver; /**< Associated driver */ char path[IFPGA_BUS_BITSTREAM_PATH_MAX_LEN]; -} __attribute__ ((packed)); +} __rte_packed; /** * @internal