]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/iavf/iavf_osdep.h
raw/ifpga: add APIs to get FPGA information
[dpdk.git] / drivers / common / iavf / iavf_osdep.h
index 0bf040d6395fc143fbae590fda5787038fa54ed2..eaefde88e53e381fca9a0cdb0fda8e8c6c56b898 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2017 Intel Corporation
+ * Copyright(c) 2017-2021 Intel Corporation
  */
 
 #ifndef _IAVF_OSDEP_H_
@@ -149,12 +149,12 @@ struct iavf_dma_mem {
        u64 pa;
        u32 size;
        const void *zone;
-} __attribute__((packed));
+} __rte_packed;
 
 struct iavf_virt_mem {
        void *va;
        u32 size;
-} __attribute__((packed));
+} __rte_packed;
 
 /* SW spinlock */
 struct iavf_spinlock {