X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fatlantic%2Fhw_atl%2Fhw_atl_utils_fw2x.c;h=3a7faf405cec703bdf9cfd85629862d28b3abfb7;hb=ef5baf3486e03004b6d807f731f0d9936504511d;hp=55dc728d321e015fe95efcc30081d5aeff26f227;hpb=f35e5b3e07b2e7999f7d3085236cc366c9cb4da6;p=dpdk.git diff --git a/drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c b/drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c index 55dc728d32..3a7faf405c 100644 --- a/drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c +++ b/drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c @@ -40,7 +40,7 @@ struct fw2x_msg_wol_pattern { u8 mask[16]; u32 crc; -} __attribute__((__packed__)); +} __rte_packed; struct fw2x_msg_wol { u32 msg_id; @@ -53,7 +53,7 @@ struct fw2x_msg_wol { u16 reserved; u32 link_up_timeout; u32 link_down_timeout; -} __attribute__((__packed__)); +} __rte_packed; static int aq_fw2x_set_link_speed(struct aq_hw_s *self, u32 speed); static int aq_fw2x_set_state(struct aq_hw_s *self,