DPDK patches and discussions
 help / color / mirror / Atom feed
From: Andre Muezerie <andremue@linux.microsoft.com>
To: roretzla@linux.microsoft.com
Cc: aman.deep.singh@intel.com, anatoly.burakov@intel.com,
	bruce.richardson@intel.com, byron.marohn@intel.com,
	conor.walsh@intel.com, cristian.dumitrescu@intel.com,
	david.hunt@intel.com, dev@dpdk.org, dsosnowski@nvidia.com,
	gakhil@marvell.com, jerinj@marvell.com, jingjing.wu@intel.com,
	kirill.rybalchenko@intel.com, konstantin.v.ananyev@yandex.ru,
	matan@nvidia.com, orika@nvidia.com, radu.nicolau@intel.com,
	ruifeng.wang@arm.com, sameh.gobriel@intel.com,
	sivaprasad.tummala@amd.com, skori@marvell.com,
	stephen@networkplumber.org, suanmingm@nvidia.com,
	vattunuru@marvell.com, viacheslavo@nvidia.com,
	vladimir.medvedkin@intel.com, yipeng1.wang@intel.com,
	Andre Muezerie <andremue@linux.microsoft.com>
Subject: [PATCH v6 14/30] drivers/net: replace packed attributes
Date: Tue, 26 Nov 2024 16:52:25 -0800	[thread overview]
Message-ID: <1732668761-5556-15-git-send-email-andremue@linux.microsoft.com> (raw)
In-Reply-To: <1732668761-5556-1-git-send-email-andremue@linux.microsoft.com>

MSVC struct packing is not compatible with GCC. Replace macro
__rte_packed with __rte_packed_begin to push existing pack value
and set packing to 1-byte and macro __rte_packed_end to restore
the pack value prior to the push.

Macro __rte_packed_end is deliberately utilized to trigger a
MSVC compiler warning if no existing packing has been pushed allowing
easy identification of locations where the __rte_packed_begin is
missing.

Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>
---
 drivers/net/ark/ark_ddm.h                     |    4 +-
 drivers/net/ark/ark_pktchkr.h                 |    8 +-
 drivers/net/ark/ark_pktdir.h                  |    5 +-
 drivers/net/ark/ark_pktgen.h                  |    4 +-
 drivers/net/ark/ark_udm.h                     |    4 +-
 drivers/net/atlantic/hw_atl/hw_atl_utils.h    |  120 +-
 .../net/atlantic/hw_atl/hw_atl_utils_fw2x.c   |    8 +-
 drivers/net/avp/rte_avp_common.h              |   12 +-
 drivers/net/bnxt/bnxt.h                       |    8 +-
 drivers/net/bnxt/hsi_struct_def_dpdk.h        | 3344 ++++++++---------
 drivers/net/bnxt/tf_core/tf_resources.h       |   32 +-
 drivers/net/bnxt/tf_core/v3/tfc_mpc_table.c   |   20 +-
 drivers/net/bonding/rte_eth_bond_8023ad.h     |   32 +-
 drivers/net/cnxk/cn10k_rxtx.h                 |    4 +-
 drivers/net/cnxk/cn20k_rxtx.h                 |    4 +-
 drivers/net/cnxk/cn9k_ethdev.h                |    4 +-
 drivers/net/cnxk/cnxk_rep_msg.h               |   64 +-
 drivers/net/dpaa/dpaa_rxtx.h                  |   28 +-
 drivers/net/dpaa/fmlib/fm_ext.h               |    4 +-
 drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h  |    4 +-
 drivers/net/dpaa2/dpaa2_recycle.c             |   16 +-
 drivers/net/enic/base/vnic_devcmd.h           |   40 +-
 drivers/net/enic/base/vnic_flowman.h          |  120 +-
 drivers/net/gve/base/gve_desc.h               |   16 +-
 drivers/net/gve/base/gve_desc_dqo.h           |   32 +-
 drivers/net/gve/base/gve_osdep.h              |    3 -
 drivers/net/hns3/hns3_mbx.h                   |    8 +-
 drivers/net/hns3/hns3_rxtx.h                  |    4 +-
 drivers/net/i40e/base/i40e_osdep.h            |    6 +-
 drivers/net/iavf/iavf_ipsec_crypto.h          |    8 +-
 drivers/net/iavf/iavf_rxtx.c                  |    2 +-
 drivers/net/ice/base/ice_osdep.h              |    9 +-
 drivers/net/ionic/ionic_if.h                  |   72 +-
 drivers/net/memif/memif.h                     |   36 +-
 drivers/net/mlx4/mlx4_mr.h                    |   12 +-
 drivers/net/mlx5/hws/mlx5dr.h                 |    3 +-
 drivers/net/mlx5/mlx5.h                       |    3 +-
 drivers/net/mlx5/mlx5_flow.h                  |   12 +-
 drivers/net/mlx5/mlx5_hws_cnt.h               |    3 +-
 drivers/net/mlx5/mlx5_utils.h                 |   12 +-
 drivers/net/netvsc/hn_nvs.h                   |   72 +-
 drivers/net/netvsc/ndis.h                     |    8 +-
 drivers/net/nfp/flower/nfp_flower_cmsg.h      |    4 +-
 drivers/net/nfp/flower/nfp_flower_flow.h      |    4 +-
 drivers/net/nfp/nfd3/nfp_nfd3.h               |    4 +-
 drivers/net/nfp/nfp_rxtx.h                    |    8 +-
 drivers/net/nfp/nfpcore/nfp_nsp.c             |    4 +-
 drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c |   12 +-
 drivers/net/octeon_ep/otx_ep_mbox.h           |    3 +-
 drivers/net/octeontx/base/octeontx_pki_var.h  |    4 +-
 drivers/net/pfe/pfe_hif.h                     |    4 +-
 drivers/net/virtio/virtio.h                   |    4 +-
 drivers/net/virtio/virtio_cvq.h               |    8 +-
 drivers/net/virtio/virtio_user/vhost_user.c   |    4 +-
 drivers/net/zxdh/zxdh_common.c                |    8 +-
 drivers/net/zxdh/zxdh_msg.h                   |   16 +-
 drivers/net/zxdh/zxdh_pci.h                   |    4 +-
 drivers/net/zxdh/zxdh_queue.h                 |   64 +-
 drivers/net/zxdh/zxdh_rxtx.h                  |    8 +-
 59 files changed, 2193 insertions(+), 2180 deletions(-)

diff --git a/drivers/net/ark/ark_ddm.h b/drivers/net/ark/ark_ddm.h
index 84beeb063a..345b4dbbcc 100644
--- a/drivers/net/ark/ark_ddm.h
+++ b/drivers/net/ark/ark_ddm.h
@@ -17,7 +17,7 @@
  */
 
 /* struct defining Tx meta data --  fixed in FPGA -- 8 bytes */
-union ark_tx_meta {
+__rte_packed_begin union ark_tx_meta {
 	uint64_t physaddr;
 	struct {
 		uint32_t usermeta0;
@@ -31,7 +31,7 @@ union ark_tx_meta {
 		uint8_t  meta_cnt;
 		uint32_t user1;
 	};
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * DDM core hardware structures
diff --git a/drivers/net/ark/ark_pktchkr.h b/drivers/net/ark/ark_pktchkr.h
index b362281776..00e548d8a1 100644
--- a/drivers/net/ark/ark_pktchkr.h
+++ b/drivers/net/ark/ark_pktchkr.h
@@ -23,7 +23,7 @@ typedef void *ark_pkt_chkr_t;
  * This are overlay structures to a memory mapped FPGA device.  These
  * structs will never be instantiated in ram memory
  */
-struct ark_pkt_chkr_stat_regs {
+__rte_packed_begin struct ark_pkt_chkr_stat_regs {
 	uint32_t r0;
 	uint32_t pkt_start_stop;
 	uint32_t pkt_ctrl;
@@ -37,9 +37,9 @@ struct ark_pkt_chkr_stat_regs {
 	uint32_t pkts_missing;
 	uint32_t min_latency;
 	uint32_t max_latency;
-} __rte_packed;
+} __rte_packed_end;
 
-struct ark_pkt_chkr_ctl_regs {
+__rte_packed_begin struct ark_pkt_chkr_ctl_regs {
 	uint32_t pkt_ctrl;
 	uint32_t pkt_payload;
 	uint32_t pkt_size_min;
@@ -53,7 +53,7 @@ struct ark_pkt_chkr_ctl_regs {
 	uint32_t dst_mac_addr_h;
 	uint32_t eth_type;
 	uint32_t hdr_dw[7];
-} __rte_packed;
+} __rte_packed_end;
 
 struct ark_pkt_chkr_inst {
 	struct rte_eth_dev_info *dev_info;
diff --git a/drivers/net/ark/ark_pktdir.h b/drivers/net/ark/ark_pktdir.h
index b5577cebb3..d84fa322b5 100644
--- a/drivers/net/ark/ark_pktdir.h
+++ b/drivers/net/ark/ark_pktdir.h
@@ -6,6 +6,7 @@
 #define _ARK_PKTDIR_H_
 
 #include <stdint.h>
+#include <rte_common.h>
 
 #define ARK_PKT_DIR_INIT_VAL 0x0110
 
@@ -22,11 +23,11 @@ typedef void *ark_pkt_dir_t;
  * This is an overlay structures to a memory mapped FPGA device.  These
  * structs will never be instantiated in ram memory
  */
-struct ark_pkt_dir_regs {
+__rte_packed_begin struct ark_pkt_dir_regs {
 	uint32_t ctrl;
 	uint32_t status;
 	uint32_t stall_cnt;
-} __rte_packed;
+} __rte_packed_end;
 
 struct ark_pkt_dir_inst {
 	volatile struct ark_pkt_dir_regs *regs;
diff --git a/drivers/net/ark/ark_pktgen.h b/drivers/net/ark/ark_pktgen.h
index 925058367c..183154ffa8 100644
--- a/drivers/net/ark/ark_pktgen.h
+++ b/drivers/net/ark/ark_pktgen.h
@@ -22,7 +22,7 @@ typedef void *ark_pkt_gen_t;
  * This is an overlay structure to a memory mapped FPGA device.  These
  * structs will never be instantiated in ram memory
  */
-struct ark_pkt_gen_regs {
+__rte_packed_begin struct ark_pkt_gen_regs {
 	uint32_t r0;
 	volatile uint32_t pkt_start_stop;
 	volatile uint32_t pkt_ctrl;
@@ -41,7 +41,7 @@ struct ark_pkt_gen_regs {
 	uint32_t hdr_dw[7];
 	uint32_t start_offset;
 	uint32_t bytes_per_cycle;
-} __rte_packed;
+} __rte_packed_end;
 
 struct ark_pkt_gen_inst {
 	struct rte_eth_dev_info *dev_info;
diff --git a/drivers/net/ark/ark_udm.h b/drivers/net/ark/ark_udm.h
index ec53ec7e79..aac89c31f0 100644
--- a/drivers/net/ark/ark_udm.h
+++ b/drivers/net/ark/ark_udm.h
@@ -18,12 +18,12 @@
 /* Meta data structure passed from FPGA, must match layout in FPGA
  * -- 32 bytes
  */
-struct ark_rx_meta {
+__rte_packed_begin struct ark_rx_meta {
 	uint32_t user_meta[5];	/* user defined based on fpga code */
 	uint32_t pkt_len32;
 	uint8_t  reserved[6];
 	uint16_t pkt_len;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * UDM hardware structures
diff --git a/drivers/net/atlantic/hw_atl/hw_atl_utils.h b/drivers/net/atlantic/hw_atl/hw_atl_utils.h
index 12ac9b041e..0d1bd46606 100644
--- a/drivers/net/atlantic/hw_atl/hw_atl_utils.h
+++ b/drivers/net/atlantic/hw_atl/hw_atl_utils.h
@@ -12,11 +12,11 @@
 #define HW_ATL_FLUSH() { (void)aq_hw_read_reg(self, 0x10); }
 
 /* Hardware tx descriptor */
-struct hw_atl_txd_s {
+__rte_packed_begin struct hw_atl_txd_s {
 	u64 buf_addr;
 
 	union {
-		struct {
+		__rte_packed_begin struct {
 			u32 type:3;
 			u32:1;
 			u32 len:16;
@@ -27,19 +27,19 @@ struct hw_atl_txd_s {
 			u32 ct_idx:1;
 			u32 ct_en:1;
 			u32 pay_len:18;
-		} __rte_packed;
+		} __rte_packed_end;
 		u64 flags;
 	};
-} __rte_packed;
+} __rte_packed_end;
 
 /* Hardware tx context descriptor */
-union hw_atl_txc_s {
+__rte_packed_begin union hw_atl_txc_s {
 	struct {
 		u64 flags1;
 		u64 flags2;
 	};
 
-	struct {
+	__rte_packed_begin struct {
 		u64:40;
 		u32 tun_len:8;
 		u32 out_len:16;
@@ -51,8 +51,8 @@ union hw_atl_txc_s {
 		u32 l3_len:9;
 		u32 l4_len:8;
 		u32 mss_len:16;
-	} __rte_packed;
-} __rte_packed;
+	} __rte_packed_end;
+} __rte_packed_end;
 
 enum aq_tx_desc_type {
 	tx_desc_type_desc = 1,
@@ -70,13 +70,13 @@ enum aq_tx_desc_cmd {
 
 
 /* Hardware rx descriptor */
-struct hw_atl_rxd_s {
+__rte_packed_begin struct hw_atl_rxd_s {
 	u64 buf_addr;
 	u64 hdr_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Hardware rx descriptor writeback */
-struct hw_atl_rxd_wb_s {
+__rte_packed_begin struct hw_atl_rxd_wb_s {
 	u32 rss_type:4;
 	u32 pkt_type:8;
 	u32 type:20;
@@ -89,9 +89,9 @@ struct hw_atl_rxd_wb_s {
 	u16 pkt_len;
 	u16 next_desc_ptr;
 	u16 vlan;
-} __rte_packed;
+} __rte_packed_end;
 
-struct hw_atl_stats_s {
+__rte_packed_begin struct hw_atl_stats_s {
 	u32 uprc;
 	u32 mprc;
 	u32 bprc;
@@ -107,9 +107,9 @@ struct hw_atl_stats_s {
 	u32 ubrc;
 	u32 ubtc;
 	u32 dpc;
-} __rte_packed;
+} __rte_packed_end;
 
-union ip_addr {
+__rte_packed_begin union ip_addr {
 	struct {
 		u8 addr[16];
 	} v6;
@@ -117,9 +117,9 @@ union ip_addr {
 		u8 padding[12];
 		u8 addr[4];
 	} v4;
-} __rte_packed;
+} __rte_packed_end;
 
-struct hw_aq_atl_utils_fw_rpc {
+__rte_packed_begin struct hw_aq_atl_utils_fw_rpc {
 	u32 msg_id;
 
 	union {
@@ -226,15 +226,15 @@ struct hw_aq_atl_utils_fw_rpc {
 		} msg_del_id;
 
 	};
-} __rte_packed;
+} __rte_packed_end;
 
-struct hw_aq_atl_utils_mbox_header {
+__rte_packed_begin struct hw_aq_atl_utils_mbox_header {
 	u32 version;
 	u32 transaction_id;
 	u32 error;
-} __rte_packed;
+} __rte_packed_end;
 
-struct hw_aq_info {
+__rte_packed_begin struct hw_aq_info {
 	u8 reserved[6];
 	u16 phy_fault_code;
 	u16 phy_temperature;
@@ -244,13 +244,13 @@ struct hw_aq_info {
 	u8 reserved2[32];
 	u32 caps_lo;
 	u32 caps_hi;
-} __rte_packed;
+} __rte_packed_end;
 
-struct hw_aq_atl_utils_mbox {
+__rte_packed_begin struct hw_aq_atl_utils_mbox {
 	struct hw_aq_atl_utils_mbox_header header;
 	struct hw_atl_stats_s stats;
 	struct hw_aq_info info;
-} __rte_packed;
+} __rte_packed_end;
 
 /* fw2x */
 typedef u16	in_port_t;
@@ -259,11 +259,11 @@ typedef int	int32_t;
 typedef short	int16_t;
 typedef u32	fw_offset_t;
 
-struct ip6_addr {
+__rte_packed_begin struct ip6_addr {
 	u32 addr[4];
-} __rte_packed;
+} __rte_packed_end;
 
-struct offload_ka_v4 {
+__rte_packed_begin struct offload_ka_v4 {
 	u32 timeout;
 	in_port_t local_port;
 	in_port_t remote_port;
@@ -273,9 +273,9 @@ struct offload_ka_v4 {
 	u32 ack_num;
 	ip4_addr_t local_ip;
 	ip4_addr_t remote_ip;
-} __rte_packed;
+} __rte_packed_end;
 
-struct offload_ka_v6 {
+__rte_packed_begin struct offload_ka_v6 {
 	u32 timeout;
 	in_port_t local_port;
 	in_port_t remote_port;
@@ -285,9 +285,9 @@ struct offload_ka_v6 {
 	u32 ack_num;
 	struct ip6_addr local_ip;
 	struct ip6_addr remote_ip;
-} __rte_packed;
+} __rte_packed_end;
 
-struct offload_ip_info {
+__rte_packed_begin struct offload_ip_info {
 	u8 v4_local_addr_count;
 	u8 v4_addr_count;
 	u8 v6_local_addr_count;
@@ -296,32 +296,32 @@ struct offload_ip_info {
 	fw_offset_t v4_prefix;
 	fw_offset_t v6_addr;
 	fw_offset_t v6_prefix;
-} __rte_packed;
+} __rte_packed_end;
 
-struct offload_port_info {
+__rte_packed_begin struct offload_port_info {
 	u16 udp_port_count;
 	u16 tcp_port_count;
 	fw_offset_t udp_port;
 	fw_offset_t tcp_port;
-} __rte_packed;
+} __rte_packed_end;
 
-struct offload_ka_info {
+__rte_packed_begin struct offload_ka_info {
 	u16 v4_ka_count;
 	u16 v6_ka_count;
 	u32 retry_count;
 	u32 retry_interval;
 	fw_offset_t v4_ka;
 	fw_offset_t v6_ka;
-} __rte_packed;
+} __rte_packed_end;
 
-struct offload_rr_info {
+__rte_packed_begin struct offload_rr_info {
 	u32 rr_count;
 	u32 rr_buf_len;
 	fw_offset_t rr_id_x;
 	fw_offset_t rr_buf;
-} __rte_packed;
+} __rte_packed_end;
 
-struct offload_info {
+__rte_packed_begin struct offload_info {
 	u32 version;		// current version is 0x00000000
 	u32 len;		// The whole structure length
 				// including the variable-size buf
@@ -335,14 +335,14 @@ struct offload_info {
 	struct offload_ka_info kas;
 	struct offload_rr_info rrs;
 	u8 buf[];
-} __rte_packed;
+} __rte_packed_end;
 
-struct smbus_request {
+__rte_packed_begin struct smbus_request {
 	u32 msg_id; /* not used */
 	u32 device_id;
 	u32 address;
 	u32 length;
-} __rte_packed;
+} __rte_packed_end;
 
 enum macsec_msg_type {
 	macsec_cfg_msg = 0,
@@ -353,14 +353,14 @@ enum macsec_msg_type {
 	macsec_get_stats_msg,
 };
 
-struct macsec_cfg {
+__rte_packed_begin struct macsec_cfg {
 	uint32_t enabled;
 	uint32_t egress_threshold;
 	uint32_t ingress_threshold;
 	uint32_t interrupts_enabled;
-} __rte_packed;
+} __rte_packed_end;
 
-struct add_rx_sc {
+__rte_packed_begin struct add_rx_sc {
 	uint32_t index;
 	uint32_t pi; /* Port identifier */
 	uint32_t sci[2]; /* Secure Channel identifier */
@@ -376,9 +376,9 @@ struct add_rx_sc {
 	uint32_t anti_replay_window; /* default 0 */
 	/* 1: auto_rollover enabled (when SA next_pn is saturated */
 	uint32_t an_rol;
-} __rte_packed;
+} __rte_packed_end;
 
-struct add_tx_sc {
+__rte_packed_begin struct add_tx_sc {
 	uint32_t index;
 	uint32_t pi; /* Port identifier */
 	uint32_t sci[2]; /* Secure Channel identifier */
@@ -391,28 +391,28 @@ struct add_tx_sc {
 	uint32_t da_mask; /* 0: ignore mac_da */
 	uint32_t protect;
 	uint32_t curr_an; /* SA index which currently used */
-} __rte_packed;
+} __rte_packed_end;
 
-struct add_rx_sa {
+__rte_packed_begin struct add_rx_sa {
 	uint32_t index;
 	uint32_t next_pn;
 	uint32_t key[4]; /* 128 bit key */
-} __rte_packed;
+} __rte_packed_end;
 
-struct add_tx_sa {
+__rte_packed_begin struct add_tx_sa {
 	uint32_t index;
 	uint32_t next_pn;
 	uint32_t key[4]; /* 128 bit key */
-} __rte_packed;
+} __rte_packed_end;
 
-struct get_stats {
+__rte_packed_begin struct get_stats {
 	uint32_t version_only;
 	uint32_t ingress_sa_index;
 	uint32_t egress_sa_index;
 	uint32_t egress_sc_index;
-} __rte_packed;
+} __rte_packed_end;
 
-struct macsec_stats {
+__rte_packed_begin struct macsec_stats {
 	uint32_t api_version;
 	/* Ingress Common Counters */
 	uint64_t in_ctl_pkts;
@@ -471,9 +471,9 @@ struct macsec_stats {
 	uint32_t ingress_threshold_expired;
 	uint32_t egress_expired;
 	uint32_t ingress_expired;
-} __rte_packed;
+} __rte_packed_end;
 
-struct macsec_msg_fw_request {
+__rte_packed_begin struct macsec_msg_fw_request {
 	uint32_t offset; /* not used */
 	uint32_t msg_type;
 
@@ -485,12 +485,12 @@ struct macsec_msg_fw_request {
 		struct add_tx_sa txsa;
 		struct get_stats stats;
 	};
-} __rte_packed;
+} __rte_packed_end;
 
-struct macsec_msg_fw_response {
+__rte_packed_begin struct macsec_msg_fw_response {
 	uint32_t result;
 	struct macsec_stats stats;
-} __rte_packed;
+} __rte_packed_end;
 
 #define HAL_ATLANTIC_UTILS_CHIP_MIPS         0x00000001U
 #define HAL_ATLANTIC_UTILS_CHIP_TPO2         0x00000002U
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 3a7faf405c..45c4b3549a 100644
--- a/drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c
+++ b/drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c
@@ -37,12 +37,12 @@
 
 #define HW_ATL_FW_FEATURE_LED 0x03010026
 
-struct fw2x_msg_wol_pattern {
+__rte_packed_begin struct fw2x_msg_wol_pattern {
 	u8 mask[16];
 	u32 crc;
-} __rte_packed;
+} __rte_packed_end;
 
-struct fw2x_msg_wol {
+__rte_packed_begin struct fw2x_msg_wol {
 	u32 msg_id;
 	u8 hw_addr[6];
 	u8 magic_packet_enabled;
@@ -53,7 +53,7 @@ struct fw2x_msg_wol {
 	u16 reserved;
 	u32 link_up_timeout;
 	u32 link_down_timeout;
-} __rte_packed;
+} __rte_packed_end;
 
 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,
diff --git a/drivers/net/avp/rte_avp_common.h b/drivers/net/avp/rte_avp_common.h
index 5ad71ac088..10c1e798db 100644
--- a/drivers/net/avp/rte_avp_common.h
+++ b/drivers/net/avp/rte_avp_common.h
@@ -60,7 +60,7 @@ enum rte_avp_req_id {
 /*
  * Structure for AVP queue configuration query request/result
  */
-struct rte_avp_device_config {
+__rte_packed_begin struct rte_avp_device_config {
 	uint64_t device_id;	/**< Unique system identifier */
 	uint32_t driver_type; /**< Device Driver type */
 	uint32_t driver_version; /**< Device Driver version */
@@ -68,12 +68,12 @@ struct rte_avp_device_config {
 	uint16_t num_tx_queues;	/**< Number of active transmit queues */
 	uint16_t num_rx_queues;	/**< Number of active receive queues */
 	uint8_t if_up; /**< 1: interface up, 0: interface down */
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Structure for AVP request.
  */
-struct rte_avp_request {
+__rte_packed_begin struct rte_avp_request {
 	uint32_t req_id; /**< Request id */
 	union {
 		uint32_t new_mtu; /**< New MTU */
@@ -81,7 +81,7 @@ struct rte_avp_request {
 	struct rte_avp_device_config config; /**< Queue configuration */
 	};
 	int32_t result;	/**< Result for processing request */
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * FIFO struct mapped in a shared memory. It describes a circular buffer FIFO
@@ -100,7 +100,7 @@ struct rte_avp_fifo {
 /*
  * AVP packet buffer header used to define the exchange of packet data.
  */
-struct __rte_cache_aligned rte_avp_desc {
+__rte_packed_begin struct __rte_cache_aligned rte_avp_desc {
 	uint64_t pad0;
 	void *pkt_mbuf; /**< Reference to packet mbuf */
 	uint8_t pad1[14];
@@ -114,7 +114,7 @@ struct __rte_cache_aligned rte_avp_desc {
 	uint32_t pad3;
 	uint16_t vlan_tci; /**< VLAN Tag Control Identifier (CPU order). */
 	uint32_t pad4;
-} __rte_packed;
+} __rte_packed_end;
 
 
 /**{ AVP device features */
diff --git a/drivers/net/bnxt/bnxt.h b/drivers/net/bnxt/bnxt.h
index 0402de3eb9..b6ad6c0277 100644
--- a/drivers/net/bnxt/bnxt.h
+++ b/drivers/net/bnxt/bnxt.h
@@ -219,16 +219,16 @@ struct bnxt_led_cfg {
 #define BNXT_LED_DFLT_ENABLES(x)                        \
 	rte_cpu_to_le_32(BNXT_LED_DFLT_ENA << (BNXT_LED_DFLT_ENA_SHIFT * (x)))
 
-struct bnxt_vlan_table_entry {
+__rte_packed_begin struct bnxt_vlan_table_entry {
 	uint16_t		tpid;
 	uint16_t		vid;
-} __rte_packed;
+} __rte_packed_end;
 
-struct bnxt_vlan_antispoof_table_entry {
+__rte_packed_begin struct bnxt_vlan_antispoof_table_entry {
 	uint16_t		tpid;
 	uint16_t		vid;
 	uint16_t		mask;
-} __rte_packed;
+} __rte_packed_end;
 
 struct bnxt_child_vf_info {
 	void			*req_buf;
diff --git a/drivers/net/bnxt/hsi_struct_def_dpdk.h b/drivers/net/bnxt/hsi_struct_def_dpdk.h
index 737bf2693b..6c3c66a5e4 100644
--- a/drivers/net/bnxt/hsi_struct_def_dpdk.h
+++ b/drivers/net/bnxt/hsi_struct_def_dpdk.h
@@ -10,7 +10,7 @@
 
 /* This is the HWRM command header. */
 /* hwrm_cmd_hdr (size:128b/16B) */
-struct hwrm_cmd_hdr {
+__rte_packed_begin struct hwrm_cmd_hdr {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -39,11 +39,11 @@ struct hwrm_cmd_hdr {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* This is the HWRM response header. */
 /* hwrm_resp_hdr (size:64b/8B) */
-struct hwrm_resp_hdr {
+__rte_packed_begin struct hwrm_resp_hdr {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -52,7 +52,7 @@ struct hwrm_resp_hdr {
 	uint16_t	seq_id;
 	/* The length of the response data in number of bytes. */
 	uint16_t	resp_len;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * TLV encapsulated message. Use the TLV type field of the
@@ -99,7 +99,7 @@ struct hwrm_resp_hdr {
 
 
 /* tlv (size:64b/8B) */
-struct tlv {
+__rte_packed_begin struct tlv {
 	/*
 	 * The command discriminator is used to differentiate between various
 	 * types of HWRM messages. This includes legacy HWRM and RoCE slowpath
@@ -151,11 +151,11 @@ struct tlv {
 	 * and it must be an integer multiple of 8B.
 	 */
 	uint16_t	length;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Input */
 /* input (size:128b/16B) */
-struct input {
+__rte_packed_begin struct input {
 	/*
 	 * This value indicates what type of request this is. The format
 	 * for the rest of the command is determined by this field.
@@ -184,11 +184,11 @@ struct input {
 	 * and must be cleared to zero before the request is made.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Output */
 /* output (size:64b/8B) */
-struct output {
+__rte_packed_begin struct output {
 	/*
 	 * Pass/Fail or error type
 	 *
@@ -207,11 +207,11 @@ struct output {
 	 * memory.
 	 */
 	uint16_t	resp_len;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Short Command Structure */
 /* hwrm_short_input (size:128b/16B) */
-struct hwrm_short_input {
+__rte_packed_begin struct hwrm_short_input {
 	/*
 	 * This field indicates the type of request in the request buffer.
 	 * The format for the rest of the command (request) is determined
@@ -243,7 +243,7 @@ struct hwrm_short_input {
 	 * This area must be 16B aligned.
 	 */
 	uint64_t	req_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Command numbering
@@ -251,7 +251,7 @@ struct hwrm_short_input {
  * #        So only structure definition is provided here.
  */
 /* cmd_nums (size:64b/8B) */
-struct cmd_nums {
+__rte_packed_begin struct cmd_nums {
 	/*
 	 * This version of the specification defines the commands listed in
 	 * the table below. The following are general implementation
@@ -1046,11 +1046,11 @@ struct cmd_nums {
 	#define HWRM_NVM_RAW_WRITE_BLK                    UINT32_C(0xffff)
 	#define HWRM_LAST                                HWRM_NVM_RAW_WRITE_BLK
 	uint16_t	unused_0[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /* Return Codes */
 /* ret_codes (size:64b/8B) */
-struct ret_codes {
+__rte_packed_begin struct ret_codes {
 	uint16_t	error_code;
 	/* Request was successfully executed by the HWRM. */
 	#define HWRM_ERR_CODE_SUCCESS                      UINT32_C(0x0)
@@ -1169,11 +1169,11 @@ struct ret_codes {
 	#define HWRM_ERR_CODE_LAST \
 		HWRM_ERR_CODE_CMD_NOT_SUPPORTED
 	uint16_t	unused_0[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /* Output */
 /* hwrm_err_output (size:128b/16B) */
-struct hwrm_err_output {
+__rte_packed_begin struct hwrm_err_output {
 	/*
 	 * Pass/Fail or error type
 	 *
@@ -1209,7 +1209,7 @@ struct hwrm_err_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 /*
  * Following is the signature for HWRM message field that indicates not
  * applicable (All F's). Need to cast it the size of the field if needed.
@@ -1255,7 +1255,7 @@ struct hwrm_err_output {
 
 
 /* hwrm_ver_get_input (size:192b/24B) */
-struct hwrm_ver_get_input {
+__rte_packed_begin struct hwrm_ver_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -1312,10 +1312,10 @@ struct hwrm_ver_get_input {
 	 */
 	uint8_t	hwrm_intf_upd;
 	uint8_t	unused_0[5];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ver_get_output (size:1408b/176B) */
-struct hwrm_ver_get_output {
+__rte_packed_begin struct hwrm_ver_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -1842,10 +1842,10 @@ struct hwrm_ver_get_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* cfa_bds_read_cmd_data_msg (size:128b/16B) */
-struct cfa_bds_read_cmd_data_msg {
+__rte_packed_begin struct cfa_bds_read_cmd_data_msg {
 	/* This value selects the format for the mid-path command for the CFA. */
 	uint8_t	opcode;
 	/*
@@ -1888,10 +1888,10 @@ struct cfa_bds_read_cmd_data_msg {
 	 * zero. The size of the write is controlled by the data_size field.
 	 */
 	uint64_t	host_address;
-} __rte_packed;
+} __rte_packed_end;
 
 /* cfa_bds_write_cmd_data_msg (size:1152b/144B) */
-struct cfa_bds_write_cmd_data_msg {
+__rte_packed_begin struct cfa_bds_write_cmd_data_msg {
 	/* This value selects the format for the mid-path command for the CFA. */
 	uint8_t	opcode;
 	/*
@@ -1941,10 +1941,10 @@ struct cfa_bds_write_cmd_data_msg {
 	 * WRITE_CMD message is extracted from the BD.
 	 */
 	uint32_t	dta[32];
-} __rte_packed;
+} __rte_packed_end;
 
 /* cfa_bds_read_clr_cmd_data_msg (size:256b/32B) */
-struct cfa_bds_read_clr_cmd_data_msg {
+__rte_packed_begin struct cfa_bds_read_clr_cmd_data_msg {
 	/* This value selects the format for the mid-path command for the CFA. */
 	uint8_t	opcode;
 	/*
@@ -1997,10 +1997,10 @@ struct cfa_bds_read_clr_cmd_data_msg {
 	uint16_t	clear_mask;
 	uint16_t	unused0[3];
 	uint16_t	unused1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* cfa_bds_em_insert_cmd_data_msg (size:1152b/144B) */
-struct cfa_bds_em_insert_cmd_data_msg {
+__rte_packed_begin struct cfa_bds_em_insert_cmd_data_msg {
 	/* This value selects the format for the mid-path command for the CFA. */
 	uint8_t	opcode;
 	/*
@@ -2049,10 +2049,10 @@ struct cfa_bds_em_insert_cmd_data_msg {
 	 * the data_size field. The bd_cnt in the encapsulating BD must also be
 	 */
 	uint32_t	dta[32];
-} __rte_packed;
+} __rte_packed_end;
 
 /* cfa_bds_em_delete_cmd_data_msg (size:256b/32B) */
-struct cfa_bds_em_delete_cmd_data_msg {
+__rte_packed_begin struct cfa_bds_em_delete_cmd_data_msg {
 	/* This value selects the format for the mid-path command for the CFA. */
 	uint8_t	opcode;
 	/* An exact match table delete will be attempted. */
@@ -2094,10 +2094,10 @@ struct cfa_bds_em_delete_cmd_data_msg {
 	 */
 	uint64_t	dta;
 	uint32_t	unused1[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* cfa_bds_invalidate_cmd_data_msg (size:128b/16B) */
-struct cfa_bds_invalidate_cmd_data_msg {
+__rte_packed_begin struct cfa_bds_invalidate_cmd_data_msg {
 	/* This value selects the format for the mid-path command for the CFA. */
 	uint8_t	opcode;
 	/*
@@ -2134,10 +2134,10 @@ struct cfa_bds_invalidate_cmd_data_msg {
 		UINT32_C(0x3ffffff)
 	#define CFA_BDS_INVALIDATE_CMD_DATA_MSG_TABLE_INDEX_SFT 0
 	uint32_t	unused[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* cfa_bds_event_collect_cmd_data_msg (size:128b/16B) */
-struct cfa_bds_event_collect_cmd_data_msg {
+__rte_packed_begin struct cfa_bds_event_collect_cmd_data_msg {
 	/* This value selects the format for the mid-path command for the CFA. */
 	uint8_t	opcode;
 	/* Reads notification messages from the Host Notification Queue. */
@@ -2164,10 +2164,10 @@ struct cfa_bds_event_collect_cmd_data_msg {
 	 * data will be written to the same function as the one that owns the SQ
 	 */
 	uint64_t	host_address;
-} __rte_packed;
+} __rte_packed_end;
 
 /* ce_bds_add_data_msg (size:576b/72B) */
-struct ce_bds_add_data_msg {
+__rte_packed_begin struct ce_bds_add_data_msg {
 	uint32_t	version_algorithm_kid_opcode;
 	/*
 	 * This value selects the operation for the mid-path command for the
@@ -2281,10 +2281,10 @@ struct ce_bds_add_data_msg {
 	 * the two end points. This field is used for TLS1.3 only.
 	 */
 	uint8_t	addl_iv[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* ce_bds_delete_data_msg (size:32b/4B) */
-struct ce_bds_delete_data_msg {
+__rte_packed_begin struct ce_bds_delete_data_msg {
 	uint32_t	kid_opcode_ctx_kind;
 	/*
 	 * This value selects the operation for the mid-path command for the
@@ -2323,10 +2323,10 @@ struct ce_bds_delete_data_msg {
 	#define CE_BDS_DELETE_DATA_MSG_CTX_KIND_QUIC_RX  (UINT32_C(0x15) << 24)
 	#define CE_BDS_DELETE_DATA_MSG_CTX_KIND_LAST \
 		CE_BDS_DELETE_DATA_MSG_CTX_KIND_QUIC_RX
-} __rte_packed;
+} __rte_packed_end;
 
 /* ce_bds_resync_resp_ack_msg (size:128b/16B) */
-struct ce_bds_resync_resp_ack_msg {
+__rte_packed_begin struct ce_bds_resync_resp_ack_msg {
 	uint32_t	resync_status_kid_opcode;
 	/*
 	 * This value selects the operation for the mid-path command for the
@@ -2376,10 +2376,10 @@ struct ce_bds_resync_resp_ack_msg {
 	 * resume decrypting records.
 	 */
 	uint64_t	resync_record_seq_num;
-} __rte_packed;
+} __rte_packed_end;
 
 /* ce_bds_resync_resp_nack_msg (size:64b/8B) */
-struct ce_bds_resync_resp_nack_msg {
+__rte_packed_begin struct ce_bds_resync_resp_nack_msg {
 	uint32_t	resync_status_kid_opcode;
 	/*
 	 * This value selects the operation for the mid-path command for the
@@ -2423,10 +2423,10 @@ struct ce_bds_resync_resp_nack_msg {
 	 * response.
 	 */
 	uint32_t	resync_record_tcp_seq_num;
-} __rte_packed;
+} __rte_packed_end;
 
 /* crypto_presync_bd_cmd (size:256b/32B) */
-struct crypto_presync_bd_cmd {
+__rte_packed_begin struct crypto_presync_bd_cmd {
 	uint8_t	flags;
 	/*
 	 * Typically, presync BDs are used for packet retransmissions. Source
@@ -2519,10 +2519,10 @@ struct crypto_presync_bd_cmd {
 	 * field.
 	 */
 	uint64_t	record_seq_num;
-} __rte_packed;
+} __rte_packed_end;
 
 /* ce_bds_quic_add_data_msg (size:832b/104B) */
-struct ce_bds_quic_add_data_msg {
+__rte_packed_begin struct ce_bds_quic_add_data_msg {
 	uint32_t	ver_algo_kid_opcode;
 	/*
 	 * This value selects the operation for the mid-path command for the
@@ -2622,10 +2622,10 @@ struct ce_bds_quic_add_data_msg {
 	uint8_t	hp_key[32];
 	/* Packet number associated with the QUIC connection. */
 	uint64_t	pkt_number;
-} __rte_packed;
+} __rte_packed_end;
 
 /* bd_base (size:64b/8B) */
-struct bd_base {
+__rte_packed_begin struct bd_base {
 	uint8_t	type;
 	/* This value identifies the type of buffer descriptor. */
 	#define BD_BASE_TYPE_MASK             UINT32_C(0x3f)
@@ -2684,10 +2684,10 @@ struct bd_base {
 	#define BD_BASE_TYPE_TX_BD_LONG_INLINE  UINT32_C(0x11)
 	#define BD_BASE_TYPE_LAST              BD_BASE_TYPE_TX_BD_LONG_INLINE
 	uint8_t	unused_1[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* tx_bd_short (size:128b/16B) */
-struct tx_bd_short {
+__rte_packed_begin struct tx_bd_short {
 	/*
 	 * All bits in this field must be valid on the first BD of a packet.
 	 * Only the packet_end bit must be valid for the remaining BDs
@@ -2798,10 +2798,10 @@ struct tx_bd_short {
 	 * This value must be valid on all BDs of a packet.
 	 */
 	uint64_t	address;
-} __rte_packed;
+} __rte_packed_end;
 
 /* tx_bd_long (size:128b/16B) */
-struct tx_bd_long {
+__rte_packed_begin struct tx_bd_long {
 	/* This value identifies the type of buffer descriptor. */
 	uint16_t	flags_type;
 	/*
@@ -2910,11 +2910,11 @@ struct tx_bd_long {
 	 * This value must be valid on all BDs of a packet.
 	 */
 	uint64_t	address;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Last 16 bytes of tx_bd_long. */
 /* tx_bd_long_hi (size:128b/16B) */
-struct tx_bd_long_hi {
+__rte_packed_begin struct tx_bd_long_hi {
 	/*
 	 * All bits in this field must be valid on the first BD of a packet.
 	 * Their value on other BDs of the packet will be ignored.
@@ -3196,7 +3196,7 @@ struct tx_bd_long_hi {
 		(UINT32_C(0x2) << 28)
 	#define TX_BD_LONG_CFA_META_KEY_LAST \
 		TX_BD_LONG_CFA_META_KEY_METADATA_TRANSFER
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This structure is used to inform the NIC of packet data that needs to
@@ -3206,7 +3206,7 @@ struct tx_bd_long_hi {
  * the additional extended features supported by long BDs.
  */
 /* tx_bd_long_inline (size:256b/32B) */
-struct tx_bd_long_inline {
+__rte_packed_begin struct tx_bd_long_inline {
 	uint16_t	flags_type;
 	/* This value identifies the type of buffer descriptor. */
 	#define TX_BD_LONG_INLINE_TYPE_MASK             UINT32_C(0x3f)
@@ -3492,10 +3492,10 @@ struct tx_bd_long_inline {
 		(UINT32_C(0x2) << 28)
 	#define TX_BD_LONG_INLINE_CFA_META_KEY_LAST \
 		TX_BD_LONG_INLINE_CFA_META_KEY_METADATA_TRANSFER
-} __rte_packed;
+} __rte_packed_end;
 
 /* tx_bd_empty (size:128b/16B) */
-struct tx_bd_empty {
+__rte_packed_begin struct tx_bd_empty {
 	/* This value identifies the type of buffer descriptor. */
 	uint8_t	type;
 	#define TX_BD_EMPTY_TYPE_MASK       UINT32_C(0x3f)
@@ -3510,10 +3510,10 @@ struct tx_bd_empty {
 	uint8_t	unused_2;
 	uint8_t	unused_3[3];
 	uint8_t	unused_4[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* tx_bd_mp_cmd (size:128b/16B) */
-struct tx_bd_mp_cmd {
+__rte_packed_begin struct tx_bd_mp_cmd {
 	/* Unless otherwise stated, sub-fields of this field are always valid. */
 	uint16_t	flags_type;
 	/* This value identifies the type of buffer descriptor. */
@@ -3549,10 +3549,10 @@ struct tx_bd_mp_cmd {
 	 */
 	uint32_t	opaque;
 	uint64_t	unused1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* tx_bd_presync_cmd (size:128b/16B) */
-struct tx_bd_presync_cmd {
+__rte_packed_begin struct tx_bd_presync_cmd {
 	/* Unless otherwise stated, sub-fields of this field are always valid. */
 	uint16_t	flags_type;
 	/* This value identifies the type of buffer descriptor. */
@@ -3601,7 +3601,7 @@ struct tx_bd_presync_cmd {
 	#define TX_BD_PRESYNC_CMD_KID_VAL_MASK UINT32_C(0xfffff)
 	#define TX_BD_PRESYNC_CMD_KID_VAL_SFT 0
 	uint32_t	unused_1;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This structure is used to send additional information for transmitting
@@ -3610,7 +3610,7 @@ struct tx_bd_presync_cmd {
  * BDs will follow the timed transmit BD.
  */
 /* tx_bd_timedtx (size:128b/16B) */
-struct tx_bd_timedtx {
+__rte_packed_begin struct tx_bd_timedtx {
 	uint16_t	flags_type;
 	/* This value identifies the type of buffer descriptor. */
 	#define TX_BD_TIMEDTX_TYPE_MASK           UINT32_C(0x3f)
@@ -3686,10 +3686,10 @@ struct tx_bd_timedtx {
 	 * This field is applicable only if flags.kind is so_txtime.
 	 */
 	uint64_t	tx_time;
-} __rte_packed;
+} __rte_packed_end;
 
 /* rx_prod_pkt_bd (size:128b/16B) */
-struct rx_prod_pkt_bd {
+__rte_packed_begin struct rx_prod_pkt_bd {
 	/* This value identifies the type of buffer descriptor. */
 	uint16_t	flags_type;
 	/* This value identifies the type of buffer descriptor. */
@@ -3746,10 +3746,10 @@ struct rx_prod_pkt_bd {
 	 * be placed in host memory.
 	 */
 	uint64_t	address;
-} __rte_packed;
+} __rte_packed_end;
 
 /* rx_prod_bfr_bd (size:128b/16B) */
-struct rx_prod_bfr_bd {
+__rte_packed_begin struct rx_prod_bfr_bd {
 	/* This value identifies the type of buffer descriptor. */
 	uint16_t	flags_type;
 	/* This value identifies the type of buffer descriptor. */
@@ -3775,10 +3775,10 @@ struct rx_prod_bfr_bd {
 	 * be placed in host memory.
 	 */
 	uint64_t	address;
-} __rte_packed;
+} __rte_packed_end;
 
 /* rx_prod_agg_bd (size:128b/16B) */
-struct rx_prod_agg_bd {
+__rte_packed_begin struct rx_prod_agg_bd {
 	/* This value identifies the type of buffer descriptor. */
 	uint16_t	flags_type;
 	/* This value identifies the type of buffer descriptor. */
@@ -3814,10 +3814,10 @@ struct rx_prod_agg_bd {
 	 * be placed in host memory.
 	 */
 	uint64_t	address;
-} __rte_packed;
+} __rte_packed_end;
 
 /* cfa_cmpls_cmp_data_msg (size:128b/16B) */
-struct cfa_cmpls_cmp_data_msg {
+__rte_packed_begin struct cfa_cmpls_cmp_data_msg {
 	uint32_t	mp_client_dma_length_opcode_status_type;
 	/*
 	 * This field represents the Mid-Path client that generated the
@@ -3996,38 +3996,38 @@ struct cfa_cmpls_cmp_data_msg {
 	 */
 	#define CFA_CMPLS_CMP_DATA_MSG_TABLE_INDEX_MASK UINT32_C(0x3ffffff)
 	#define CFA_CMPLS_CMP_DATA_MSG_TABLE_INDEX_SFT 0
-} __rte_packed;
+} __rte_packed_end;
 
 /* CFA Mid-Path 32B DMA Message */
 /* cfa_dma32b_data_msg (size:256b/32B) */
-struct cfa_dma32b_data_msg {
+__rte_packed_begin struct cfa_dma32b_data_msg {
 	/* DMA data value. */
 	uint32_t	dta[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* CFA Mid-Path 64B DMA Message */
 /* cfa_dma64b_data_msg (size:512b/64B) */
-struct cfa_dma64b_data_msg {
+__rte_packed_begin struct cfa_dma64b_data_msg {
 	/* DMA data value. */
 	uint32_t	dta[16];
-} __rte_packed;
+} __rte_packed_end;
 
 /* CFA Mid-Path 96B DMA Message */
 /* cfa_dma96b_data_msg (size:768b/96B) */
-struct cfa_dma96b_data_msg {
+__rte_packed_begin struct cfa_dma96b_data_msg {
 	/* DMA data value. */
 	uint32_t	dta[24];
-} __rte_packed;
+} __rte_packed_end;
 
 /* CFA Mid-Path 128B DMA Message */
 /* cfa_dma128b_data_msg (size:1024b/128B) */
-struct cfa_dma128b_data_msg {
+__rte_packed_begin struct cfa_dma128b_data_msg {
 	/* DMA data value. */
 	uint32_t	dta[32];
-} __rte_packed;
+} __rte_packed_end;
 
 /* ce_cmpls_cmp_data_msg (size:128b/16B) */
-struct ce_cmpls_cmp_data_msg {
+__rte_packed_begin struct ce_cmpls_cmp_data_msg {
 	uint16_t	client_subtype_type;
 	/*
 	 * This field indicates the exact type of the completion. By
@@ -4117,10 +4117,10 @@ struct ce_cmpls_cmp_data_msg {
 	#define CE_CMPLS_CMP_DATA_MSG_KID_SFT     0
 	#define CE_CMPLS_CMP_DATA_MSG_UNUSED3_MASK UINT32_C(0xfff00000)
 	#define CE_CMPLS_CMP_DATA_MSG_UNUSED3_SFT 20
-} __rte_packed;
+} __rte_packed_end;
 
 /* cmpl_base (size:128b/16B) */
-struct cmpl_base {
+__rte_packed_begin struct cmpl_base {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -4273,10 +4273,10 @@ struct cmpl_base {
 	#define CMPL_BASE_INFO3_SFT 1
 	/* info4 is 32 b */
 	uint32_t	info4;
-} __rte_packed;
+} __rte_packed_end;
 
 /* tx_cmpl (size:128b/16B) */
-struct tx_cmpl {
+__rte_packed_begin struct tx_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -4392,10 +4392,10 @@ struct tx_cmpl {
 	uint16_t	unused_1;
 	/* unused3 is 32 b */
 	uint32_t	unused_2;
-} __rte_packed;
+} __rte_packed_end;
 
 /* tx_cmpl_coal (size:128b/16B) */
-struct tx_cmpl_coal {
+__rte_packed_begin struct tx_cmpl_coal {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -4529,10 +4529,10 @@ struct tx_cmpl_coal {
 	 */
 	#define TX_CMPL_COAL_SQ_CONS_IDX_MASK UINT32_C(0xffffff)
 	#define TX_CMPL_COAL_SQ_CONS_IDX_SFT 0
-} __rte_packed;
+} __rte_packed_end;
 
 /* tx_cmpl_packet_timestamp (size:128b/16B) */
-struct tx_cmpl_packet_timestamp {
+__rte_packed_begin struct tx_cmpl_packet_timestamp {
 	uint16_t	ts_sub_ns_flags_type;
 	/*
 	 * This field indicates the exact type of the completion. By
@@ -4709,10 +4709,10 @@ struct tx_cmpl_packet_timestamp {
 	 * PA for PA timestamps. This field is in units of ns.
 	 */
 	uint32_t	ts_ns_lo;
-} __rte_packed;
+} __rte_packed_end;
 
 /* rx_pkt_cmpl (size:128b/16B) */
-struct rx_pkt_cmpl {
+__rte_packed_begin struct rx_pkt_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -4926,11 +4926,11 @@ struct rx_pkt_cmpl {
 	 * based on the mode bits and key value in the VNIC.
 	 */
 	uint32_t	rss_hash;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Last 16 bytes of rx_pkt_cmpl. */
 /* rx_pkt_cmpl_hi (size:128b/16B) */
-struct rx_pkt_cmpl_hi {
+__rte_packed_begin struct rx_pkt_cmpl_hi {
 	uint32_t	flags2;
 	/*
 	 * This indicates that the ip checksum was calculated for the
@@ -5272,10 +5272,10 @@ struct rx_pkt_cmpl_hi {
 	 */
 	#define RX_PKT_CMPL_REORDER_MASK UINT32_C(0xffffff)
 	#define RX_PKT_CMPL_REORDER_SFT 0
-} __rte_packed;
+} __rte_packed_end;
 
 /* rx_pkt_v2_cmpl (size:128b/16B) */
-struct rx_pkt_v2_cmpl {
+__rte_packed_begin struct rx_pkt_v2_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -5534,11 +5534,11 @@ struct rx_pkt_v2_cmpl {
 	 * from the first BD used to place the packet.
 	 */
 	uint32_t	rss_hash;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Last 16 bytes of RX Packet V2 Completion Record */
 /* rx_pkt_v2_cmpl_hi (size:128b/16B) */
-struct rx_pkt_v2_cmpl_hi {
+__rte_packed_begin struct rx_pkt_v2_cmpl_hi {
 	uint32_t	flags2;
 	/*
 	 * When this bit is '0', the cs_ok field has the following definition:-
@@ -5937,10 +5937,10 @@ struct rx_pkt_v2_cmpl_hi {
 	 * the MAC.
 	 */
 	uint32_t	timestamp;
-} __rte_packed;
+} __rte_packed_end;
 
 /* rx_pkt_v3_cmpl (size:128b/16B) */
-struct rx_pkt_v3_cmpl {
+__rte_packed_begin struct rx_pkt_v3_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -6263,11 +6263,11 @@ struct rx_pkt_v3_cmpl {
 	 * from the first BD used to place the packet.
 	 */
 	uint32_t	rss_hash;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Last 16 bytes of RX Packet V3 Completion Record */
 /* rx_pkt_v3_cmpl_hi (size:128b/16B) */
-struct rx_pkt_v3_cmpl_hi {
+__rte_packed_begin struct rx_pkt_v3_cmpl_hi {
 	uint32_t	flags2;
 	/*
 	 * This indicates that the ip checksum was calculated for the inner
@@ -6623,10 +6623,10 @@ struct rx_pkt_v3_cmpl_hi {
 	 * host address from the first BD used to place the packet.
 	 */
 	uint32_t	timestamp;
-} __rte_packed;
+} __rte_packed_end;
 
 /* rx_pkt_compress_cmpl (size:128b/16B) */
-struct rx_pkt_compress_cmpl {
+__rte_packed_begin struct rx_pkt_compress_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -7031,14 +7031,14 @@ struct rx_pkt_compress_cmpl {
 		UINT32_C(0xe0000000)
 	#define RX_PKT_COMPRESS_CMPL_ERRORS_AGG_BUFS_OPAQUE_UNUSED1_SFT \
 		29
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This TPA completion structure is used on devices where the
  * `hwrm_vnic_qcaps.max_aggs_supported` value is 0.
  */
 /* rx_tpa_start_cmpl (size:128b/16B) */
-struct rx_tpa_start_cmpl {
+__rte_packed_begin struct rx_tpa_start_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -7196,7 +7196,7 @@ struct rx_tpa_start_cmpl {
 	 * based on the mode bits and key value in the VNIC.
 	 */
 	uint32_t	rss_hash;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Last 16 bytes of rx_tpa_start_cmpl.
@@ -7205,7 +7205,7 @@ struct rx_tpa_start_cmpl {
  * `hwrm_vnic_qcaps.max_aggs_supported` value is 0.
  */
 /* rx_tpa_start_cmpl_hi (size:128b/16B) */
-struct rx_tpa_start_cmpl_hi {
+__rte_packed_begin struct rx_tpa_start_cmpl_hi {
 	uint32_t	flags2;
 	/*
 	 * This indicates that the ip checksum was calculated for the
@@ -7313,7 +7313,7 @@ struct rx_tpa_start_cmpl_hi {
 	 */
 	#define RX_TPA_START_CMPL_INNER_L4_SIZE_MASK  UINT32_C(0xf8000000)
 	#define RX_TPA_START_CMPL_INNER_L4_SIZE_SFT   27
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This TPA completion structure is used on devices where the
@@ -7322,7 +7322,7 @@ struct rx_tpa_start_cmpl_hi {
  * struct)
  */
 /* rx_tpa_start_v2_cmpl (size:128b/16B) */
-struct rx_tpa_start_v2_cmpl {
+__rte_packed_begin struct rx_tpa_start_v2_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -7549,7 +7549,7 @@ struct rx_tpa_start_v2_cmpl {
 	 * 32b of the host address from the first BD used to place the packet.
 	 */
 	uint32_t	rss_hash;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Last 16 bytes of RX L2 TPA Start V2 Completion Record
@@ -7558,7 +7558,7 @@ struct rx_tpa_start_v2_cmpl {
  * `hwrm_vnic_qcaps.max_aggs_supported` value is 0.
  */
 /* rx_tpa_start_v2_cmpl_hi (size:128b/16B) */
-struct rx_tpa_start_v2_cmpl_hi {
+__rte_packed_begin struct rx_tpa_start_v2_cmpl_hi {
 	uint32_t	flags2;
 	/* This indicates that the aggregation was done using GRO rules. */
 	#define RX_TPA_START_V2_CMPL_FLAGS2_AGG_GRO \
@@ -7760,7 +7760,7 @@ struct rx_tpa_start_v2_cmpl_hi {
 	 * hdr_offsets[31:27] contains the inner_l4_size.
 	 */
 	uint32_t	hdr_offsets;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This TPA completion structure is used on devices where the
@@ -7769,7 +7769,7 @@ struct rx_tpa_start_v2_cmpl_hi {
  * struct)
  */
 /* rx_tpa_start_v3_cmpl (size:128b/16B) */
-struct rx_tpa_start_v3_cmpl {
+__rte_packed_begin struct rx_tpa_start_v3_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -8016,7 +8016,7 @@ struct rx_tpa_start_v3_cmpl {
 	 * 32b of the host address from the first BD used to place the packet.
 	 */
 	uint32_t	rss_hash;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Last 16 bytes of RX L2 TPA Start V3 Completion Record
@@ -8025,7 +8025,7 @@ struct rx_tpa_start_v3_cmpl {
  * `hwrm_vnic_qcaps.max_aggs_supported` value is 0.
  */
 /* rx_tpa_start_v3_cmpl_hi (size:128b/16B) */
-struct rx_tpa_start_v3_cmpl_hi {
+__rte_packed_begin struct rx_tpa_start_v3_cmpl_hi {
 	uint32_t	flags2;
 	/*
 	 * This indicates that the ip checksum was calculated for the inner
@@ -8241,14 +8241,14 @@ struct rx_tpa_start_v3_cmpl_hi {
 	 * hdr_offsets[31:27] contains the inner_l4_size.
 	 */
 	uint32_t	hdr_offsets;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This TPA completion structure is used on devices where the
  * `hwrm_vnic_qcaps.max_aggs_supported` value is 0.
  */
 /* rx_tpa_end_cmpl (size:128b/16B) */
-struct rx_tpa_end_cmpl {
+__rte_packed_begin struct rx_tpa_end_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -8425,7 +8425,7 @@ struct rx_tpa_end_cmpl {
 	 *     option is present in the packet.
 	 */
 	uint32_t	tsdelta;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Last 16 bytes of rx_tpa_end_cmpl.
@@ -8434,7 +8434,7 @@ struct rx_tpa_end_cmpl {
  * `hwrm_vnic_qcaps.max_aggs_supported` value is 0.
  */
 /* rx_tpa_end_cmpl_hi (size:128b/16B) */
-struct rx_tpa_end_cmpl_hi {
+__rte_packed_begin struct rx_tpa_end_cmpl_hi {
 	uint32_t	tpa_dup_acks;
 	/*
 	 * This value is the number of duplicate ACKs that have been
@@ -8507,14 +8507,14 @@ struct rx_tpa_end_cmpl_hi {
 	 * completion that corresponds to this TPA end completion.
 	 */
 	uint32_t	start_opaque;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This TPA completion structure is used on devices where the
  * `hwrm_vnic_qcaps.max_aggs_supported` value is greater than 0.
  */
 /* rx_tpa_v2_start_cmpl (size:128b/16B) */
-struct rx_tpa_v2_start_cmpl {
+__rte_packed_begin struct rx_tpa_v2_start_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -8678,7 +8678,7 @@ struct rx_tpa_v2_start_cmpl {
 	 * based on the mode bits and key value in the VNIC.
 	 */
 	uint32_t	rss_hash;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Last 16 bytes of rx_tpa_v2_start_cmpl.
@@ -8687,7 +8687,7 @@ struct rx_tpa_v2_start_cmpl {
  * `hwrm_vnic_qcaps.max_aggs_supported` value is greater than 0.
  */
 /* rx_tpa_v2_start_cmpl_hi (size:128b/16B) */
-struct rx_tpa_v2_start_cmpl_hi {
+__rte_packed_begin struct rx_tpa_v2_start_cmpl_hi {
 	uint32_t	flags2;
 	/*
 	 * This indicates that the ip checksum was calculated for the
@@ -8893,14 +8893,14 @@ struct rx_tpa_v2_start_cmpl_hi {
 	 */
 	#define RX_TPA_V2_START_CMPL_INNER_L4_SIZE_MASK  UINT32_C(0xf8000000)
 	#define RX_TPA_V2_START_CMPL_INNER_L4_SIZE_SFT   27
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This TPA completion structure is used on devices where the
  * `hwrm_vnic_qcaps.max_aggs_supported` value is greater than 0.
  */
 /* rx_tpa_v2_end_cmpl (size:128b/16B) */
-struct rx_tpa_v2_end_cmpl {
+__rte_packed_begin struct rx_tpa_v2_end_cmpl {
 	uint16_t	flags_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -9049,7 +9049,7 @@ struct rx_tpa_v2_end_cmpl {
 	 *     option is present in the packet.
 	 */
 	uint32_t	tsdelta;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Last 16 bytes of rx_tpa_v2_end_cmpl.
@@ -9058,7 +9058,7 @@ struct rx_tpa_v2_end_cmpl {
  * `hwrm_vnic_qcaps.max_aggs_supported` value is greater than 0.
  */
 /* rx_tpa_v2_end_cmpl_hi (size:128b/16B) */
-struct rx_tpa_v2_end_cmpl_hi {
+__rte_packed_begin struct rx_tpa_v2_end_cmpl_hi {
 	/*
 	 * This value is the number of duplicate ACKs that have been
 	 * received as part of the TPA operation.
@@ -9159,14 +9159,14 @@ struct rx_tpa_v2_end_cmpl_hi {
 	 * completion that corresponds to this TPA end completion.
 	 */
 	uint32_t	start_opaque;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This TPA completion structure is used on devices where the
  * `hwrm_vnic_qcaps.max_aggs_supported` value is greater than 0.
  */
 /* rx_tpa_v2_abuf_cmpl (size:128b/16B) */
-struct rx_tpa_v2_abuf_cmpl {
+__rte_packed_begin struct rx_tpa_v2_abuf_cmpl {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -9213,10 +9213,10 @@ struct rx_tpa_v2_abuf_cmpl {
 	 */
 	uint16_t	agg_id;
 	uint32_t	unused_1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* rx_abuf_cmpl (size:128b/16B) */
-struct rx_abuf_cmpl {
+__rte_packed_begin struct rx_abuf_cmpl {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -9257,11 +9257,11 @@ struct rx_abuf_cmpl {
 	#define RX_ABUF_CMPL_V     UINT32_C(0x1)
 	/* unused3 is 32 b */
 	uint32_t	unused_2;
-} __rte_packed;
+} __rte_packed_end;
 
 /* VEE FLUSH Completion Record (16 bytes) */
 /* vee_flush (size:128b/16B) */
-struct vee_flush {
+__rte_packed_begin struct vee_flush {
 	uint32_t	downstream_path_type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -9303,10 +9303,10 @@ struct vee_flush {
 	#define VEE_FLUSH_V     UINT32_C(0x1)
 	/* unused3 is 32 b */
 	uint32_t	unused_3;
-} __rte_packed;
+} __rte_packed_end;
 
 /* eject_cmpl (size:128b/16B) */
-struct eject_cmpl {
+__rte_packed_begin struct eject_cmpl {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -9385,10 +9385,10 @@ struct eject_cmpl {
 	uint16_t	reserved16;
 	/* unused3 is 32 b */
 	uint32_t	unused_2;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cmpl (size:128b/16B) */
-struct hwrm_cmpl {
+__rte_packed_begin struct hwrm_cmpl {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -9418,10 +9418,10 @@ struct hwrm_cmpl {
 	#define HWRM_CMPL_V     UINT32_C(0x1)
 	/* unused4 is 32 b */
 	uint32_t	unused_3;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_fwd_req_cmpl (size:128b/16B) */
-struct hwrm_fwd_req_cmpl {
+__rte_packed_begin struct hwrm_fwd_req_cmpl {
 	/*
 	 * This field indicates the exact type of the completion.
 	 * By convention, the LSB identifies the length of the
@@ -9467,10 +9467,10 @@ struct hwrm_fwd_req_cmpl {
 	/* Address of forwarded request. */
 	#define HWRM_FWD_REQ_CMPL_REQ_BUF_ADDR_MASK UINT32_C(0xfffffffe)
 	#define HWRM_FWD_REQ_CMPL_REQ_BUF_ADDR_SFT 1
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_fwd_resp_cmpl (size:128b/16B) */
-struct hwrm_fwd_resp_cmpl {
+__rte_packed_begin struct hwrm_fwd_resp_cmpl {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -9508,10 +9508,10 @@ struct hwrm_fwd_resp_cmpl {
 	/* Address of forwarded request. */
 	#define HWRM_FWD_RESP_CMPL_RESP_BUF_ADDR_MASK UINT32_C(0xfffffffe)
 	#define HWRM_FWD_RESP_CMPL_RESP_BUF_ADDR_SFT 1
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl (size:128b/16B) */
-struct hwrm_async_event_cmpl {
+__rte_packed_begin struct hwrm_async_event_cmpl {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -9784,10 +9784,10 @@ struct hwrm_async_event_cmpl {
 	uint16_t	timestamp_hi;
 	/* Event specific data */
 	uint32_t	event_data1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_link_status_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_link_status_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_link_status_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -9863,10 +9863,10 @@ struct hwrm_async_event_cmpl_link_status_change {
 		UINT32_C(0xff00000)
 	#define HWRM_ASYNC_EVENT_CMPL_LINK_STATUS_CHANGE_EVENT_DATA1_PF_ID_SFT \
 		20
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_link_mtu_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_link_mtu_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_link_mtu_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -9913,10 +9913,10 @@ struct hwrm_async_event_cmpl_link_mtu_change {
 	#define HWRM_ASYNC_EVENT_CMPL_LINK_MTU_CHANGE_EVENT_DATA1_NEW_MTU_MASK \
 		UINT32_C(0xffff)
 	#define HWRM_ASYNC_EVENT_CMPL_LINK_MTU_CHANGE_EVENT_DATA1_NEW_MTU_SFT 0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_link_speed_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_link_speed_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_link_speed_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10008,10 +10008,10 @@ struct hwrm_async_event_cmpl_link_speed_change {
 		UINT32_C(0xffff0000)
 	#define HWRM_ASYNC_EVENT_CMPL_LINK_SPEED_CHANGE_EVENT_DATA1_PORT_ID_SFT \
 		16
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_dcb_config_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_dcb_config_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_dcb_config_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10092,10 +10092,10 @@ struct hwrm_async_event_cmpl_dcb_config_change {
 		(UINT32_C(0xff) << 24)
 	#define HWRM_ASYNC_EVENT_CMPL_DCB_CONFIG_CHANGE_EVENT_DATA1_RECOMMEND_L2_PRIORITY_LAST \
 		HWRM_ASYNC_EVENT_CMPL_DCB_CONFIG_CHANGE_EVENT_DATA1_RECOMMEND_L2_PRIORITY_NONE
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_port_conn_not_allowed (size:128b/16B) */
-struct hwrm_async_event_cmpl_port_conn_not_allowed {
+__rte_packed_begin struct hwrm_async_event_cmpl_port_conn_not_allowed {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10168,10 +10168,10 @@ struct hwrm_async_event_cmpl_port_conn_not_allowed {
 		(UINT32_C(0x3) << 16)
 	#define HWRM_ASYNC_EVENT_CMPL_PORT_CONN_NOT_ALLOWED_EVENT_DATA1_ENFORCEMENT_POLICY_LAST \
 		HWRM_ASYNC_EVENT_CMPL_PORT_CONN_NOT_ALLOWED_EVENT_DATA1_ENFORCEMENT_POLICY_PWRDOWN
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_link_speed_cfg_not_allowed (size:128b/16B) */
-struct hwrm_async_event_cmpl_link_speed_cfg_not_allowed {
+__rte_packed_begin struct hwrm_async_event_cmpl_link_speed_cfg_not_allowed {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10221,10 +10221,10 @@ struct hwrm_async_event_cmpl_link_speed_cfg_not_allowed {
 		UINT32_C(0xffff)
 	#define HWRM_ASYNC_EVENT_CMPL_LINK_SPEED_CFG_NOT_ALLOWED_EVENT_DATA1_PORT_ID_SFT \
 		0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_link_speed_cfg_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_link_speed_cfg_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_link_speed_cfg_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10290,10 +10290,10 @@ struct hwrm_async_event_cmpl_link_speed_cfg_change {
 	 */
 	#define HWRM_ASYNC_EVENT_CMPL_LINK_SPEED_CFG_CHANGE_EVENT_DATA1_ILLEGAL_LINK_SPEED_CFG \
 		UINT32_C(0x20000)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_port_phy_cfg_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_port_phy_cfg_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_port_phy_cfg_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10366,10 +10366,10 @@ struct hwrm_async_event_cmpl_port_phy_cfg_change {
 	 */
 	#define HWRM_ASYNC_EVENT_CMPL_PORT_PHY_CFG_CHANGE_EVENT_DATA1_PAUSE_CFG_CHANGE \
 		UINT32_C(0x40000)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_reset_notify (size:128b/16B) */
-struct hwrm_async_event_cmpl_reset_notify {
+__rte_packed_begin struct hwrm_async_event_cmpl_reset_notify {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10488,10 +10488,10 @@ struct hwrm_async_event_cmpl_reset_notify {
 		UINT32_C(0xffff0000)
 	#define HWRM_ASYNC_EVENT_CMPL_RESET_NOTIFY_EVENT_DATA1_DELAY_IN_100MS_TICKS_SFT \
 		16
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_error_recovery (size:128b/16B) */
-struct hwrm_async_event_cmpl_error_recovery {
+__rte_packed_begin struct hwrm_async_event_cmpl_error_recovery {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10557,10 +10557,10 @@ struct hwrm_async_event_cmpl_error_recovery {
 	 */
 	#define HWRM_ASYNC_EVENT_CMPL_ERROR_RECOVERY_EVENT_DATA1_FLAGS_RECOVERY_ENABLED \
 		UINT32_C(0x2)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_ring_monitor_msg (size:128b/16B) */
-struct hwrm_async_event_cmpl_ring_monitor_msg {
+__rte_packed_begin struct hwrm_async_event_cmpl_ring_monitor_msg {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10622,10 +10622,10 @@ struct hwrm_async_event_cmpl_ring_monitor_msg {
 	 * then this field will indicate the ring id.
 	 */
 	uint32_t	event_data1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_func_drvr_unload (size:128b/16B) */
-struct hwrm_async_event_cmpl_func_drvr_unload {
+__rte_packed_begin struct hwrm_async_event_cmpl_func_drvr_unload {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10673,10 +10673,10 @@ struct hwrm_async_event_cmpl_func_drvr_unload {
 		UINT32_C(0xffff)
 	#define HWRM_ASYNC_EVENT_CMPL_FUNC_DRVR_UNLOAD_EVENT_DATA1_FUNC_ID_SFT \
 		0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_func_drvr_load (size:128b/16B) */
-struct hwrm_async_event_cmpl_func_drvr_load {
+__rte_packed_begin struct hwrm_async_event_cmpl_func_drvr_load {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10722,10 +10722,10 @@ struct hwrm_async_event_cmpl_func_drvr_load {
 	#define HWRM_ASYNC_EVENT_CMPL_FUNC_DRVR_LOAD_EVENT_DATA1_FUNC_ID_MASK \
 		UINT32_C(0xffff)
 	#define HWRM_ASYNC_EVENT_CMPL_FUNC_DRVR_LOAD_EVENT_DATA1_FUNC_ID_SFT 0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_func_flr_proc_cmplt (size:128b/16B) */
-struct hwrm_async_event_cmpl_func_flr_proc_cmplt {
+__rte_packed_begin struct hwrm_async_event_cmpl_func_flr_proc_cmplt {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10775,10 +10775,10 @@ struct hwrm_async_event_cmpl_func_flr_proc_cmplt {
 		UINT32_C(0xffff)
 	#define HWRM_ASYNC_EVENT_CMPL_FUNC_FLR_PROC_CMPLT_EVENT_DATA1_FUNC_ID_SFT \
 		0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_pf_drvr_unload (size:128b/16B) */
-struct hwrm_async_event_cmpl_pf_drvr_unload {
+__rte_packed_begin struct hwrm_async_event_cmpl_pf_drvr_unload {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10828,10 +10828,10 @@ struct hwrm_async_event_cmpl_pf_drvr_unload {
 	#define HWRM_ASYNC_EVENT_CMPL_PF_DRVR_UNLOAD_EVENT_DATA1_PORT_MASK \
 		UINT32_C(0x70000)
 	#define HWRM_ASYNC_EVENT_CMPL_PF_DRVR_UNLOAD_EVENT_DATA1_PORT_SFT    16
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_pf_drvr_load (size:128b/16B) */
-struct hwrm_async_event_cmpl_pf_drvr_load {
+__rte_packed_begin struct hwrm_async_event_cmpl_pf_drvr_load {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10881,10 +10881,10 @@ struct hwrm_async_event_cmpl_pf_drvr_load {
 	#define HWRM_ASYNC_EVENT_CMPL_PF_DRVR_LOAD_EVENT_DATA1_PORT_MASK \
 		UINT32_C(0x70000)
 	#define HWRM_ASYNC_EVENT_CMPL_PF_DRVR_LOAD_EVENT_DATA1_PORT_SFT    16
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_vf_flr (size:128b/16B) */
-struct hwrm_async_event_cmpl_vf_flr {
+__rte_packed_begin struct hwrm_async_event_cmpl_vf_flr {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10933,10 +10933,10 @@ struct hwrm_async_event_cmpl_vf_flr {
 	#define HWRM_ASYNC_EVENT_CMPL_VF_FLR_EVENT_DATA1_PF_ID_MASK \
 		UINT32_C(0xff0000)
 	#define HWRM_ASYNC_EVENT_CMPL_VF_FLR_EVENT_DATA1_PF_ID_SFT 16
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_vf_mac_addr_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_vf_mac_addr_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_vf_mac_addr_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -10985,10 +10985,10 @@ struct hwrm_async_event_cmpl_vf_mac_addr_change {
 		UINT32_C(0xffff)
 	#define HWRM_ASYNC_EVENT_CMPL_VF_MAC_ADDR_CHANGE_EVENT_DATA1_VF_ID_SFT \
 		0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_pf_vf_comm_status_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_pf_vf_comm_status_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_pf_vf_comm_status_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11041,10 +11041,10 @@ struct hwrm_async_event_cmpl_pf_vf_comm_status_change {
 	 */
 	#define HWRM_ASYNC_EVENT_CMPL_PF_VF_COMM_STATUS_CHANGE_EVENT_DATA1_COMM_ESTABLISHED \
 		UINT32_C(0x1)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_vf_cfg_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_vf_cfg_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_vf_cfg_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11145,10 +11145,10 @@ struct hwrm_async_event_cmpl_vf_cfg_change {
 	 */
 	#define HWRM_ASYNC_EVENT_CMPL_VF_CFG_CHANGE_EVENT_DATA1_TF_OWNERSHIP_RELEASE \
 		UINT32_C(0x20)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_llfc_pfc_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_llfc_pfc_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_llfc_pfc_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11224,10 +11224,10 @@ struct hwrm_async_event_cmpl_llfc_pfc_change {
 		UINT32_C(0x1fffe0)
 	#define HWRM_ASYNC_EVENT_CMPL_LLFC_PFC_CHANGE_EVENT_DATA1_PORT_ID_SFT \
 		5
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_default_vnic_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_default_vnic_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_default_vnic_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11306,10 +11306,10 @@ struct hwrm_async_event_cmpl_default_vnic_change {
 		UINT32_C(0x3fffc00)
 	#define HWRM_ASYNC_EVENT_CMPL_DEFAULT_VNIC_CHANGE_EVENT_DATA1_VF_ID_SFT \
 		10
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_hw_flow_aged (size:128b/16B) */
-struct hwrm_async_event_cmpl_hw_flow_aged {
+__rte_packed_begin struct hwrm_async_event_cmpl_hw_flow_aged {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11373,10 +11373,10 @@ struct hwrm_async_event_cmpl_hw_flow_aged {
 		(UINT32_C(0x1) << 31)
 	#define HWRM_ASYNC_EVENT_CMPL_HW_FLOW_AGED_EVENT_DATA1_FLOW_DIRECTION_LAST \
 		HWRM_ASYNC_EVENT_CMPL_HW_FLOW_AGED_EVENT_DATA1_FLOW_DIRECTION_TX
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_eem_cache_flush_req (size:128b/16B) */
-struct hwrm_async_event_cmpl_eem_cache_flush_req {
+__rte_packed_begin struct hwrm_async_event_cmpl_eem_cache_flush_req {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11421,10 +11421,10 @@ struct hwrm_async_event_cmpl_eem_cache_flush_req {
 	uint16_t	timestamp_hi;
 	/* Event specific data */
 	uint32_t	event_data1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_eem_cache_flush_done (size:128b/16B) */
-struct hwrm_async_event_cmpl_eem_cache_flush_done {
+__rte_packed_begin struct hwrm_async_event_cmpl_eem_cache_flush_done {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11477,10 +11477,10 @@ struct hwrm_async_event_cmpl_eem_cache_flush_done {
 		UINT32_C(0xffff)
 	#define HWRM_ASYNC_EVENT_CMPL_EEM_CACHE_FLUSH_DONE_EVENT_DATA1_FID_SFT \
 		0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_tcp_flag_action_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_tcp_flag_action_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_tcp_flag_action_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11525,10 +11525,10 @@ struct hwrm_async_event_cmpl_tcp_flag_action_change {
 	uint16_t	timestamp_hi;
 	/* Event specific data */
 	uint32_t	event_data1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_eem_flow_active (size:128b/16B) */
-struct hwrm_async_event_cmpl_eem_flow_active {
+__rte_packed_begin struct hwrm_async_event_cmpl_eem_flow_active {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11625,10 +11625,10 @@ struct hwrm_async_event_cmpl_eem_flow_active {
 		(UINT32_C(0x1) << 31)
 	#define HWRM_ASYNC_EVENT_CMPL_EEM_FLOW_ACTIVE_EVENT_DATA1_MODE_LAST \
 		HWRM_ASYNC_EVENT_CMPL_EEM_FLOW_ACTIVE_EVENT_DATA1_MODE_1
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_eem_cfg_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_eem_cfg_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_eem_cfg_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11682,10 +11682,10 @@ struct hwrm_async_event_cmpl_eem_cfg_change {
 	 */
 	#define HWRM_ASYNC_EVENT_CMPL_EEM_CFG_CHANGE_EVENT_DATA1_EEM_RX_ENABLE \
 		UINT32_C(0x2)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_quiesce_done (size:128b/16B) */
-struct hwrm_async_event_cmpl_quiesce_done {
+__rte_packed_begin struct hwrm_async_event_cmpl_quiesce_done {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11785,10 +11785,10 @@ struct hwrm_async_event_cmpl_quiesce_done {
 	/* Time stamp for error event */
 	#define HWRM_ASYNC_EVENT_CMPL_QUIESCE_DONE_EVENT_DATA1_TIMESTAMP \
 		UINT32_C(0x1)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_deferred_response (size:128b/16B) */
-struct hwrm_async_event_cmpl_deferred_response {
+__rte_packed_begin struct hwrm_async_event_cmpl_deferred_response {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11846,10 +11846,10 @@ struct hwrm_async_event_cmpl_deferred_response {
 	uint16_t	timestamp_hi;
 	/* Estimated remaining time of command execution in ms (if not zero) */
 	uint32_t	event_data1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_pfc_watchdog_cfg_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_pfc_watchdog_cfg_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_pfc_watchdog_cfg_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11931,10 +11931,10 @@ struct hwrm_async_event_cmpl_pfc_watchdog_cfg_change {
 		UINT32_C(0xffff00)
 	#define HWRM_ASYNC_EVENT_CMPL_PFC_WATCHDOG_CFG_CHANGE_EVENT_DATA1_PORT_ID_SFT \
 		8
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_echo_request (size:128b/16B) */
-struct hwrm_async_event_cmpl_echo_request {
+__rte_packed_begin struct hwrm_async_event_cmpl_echo_request {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -11979,10 +11979,10 @@ struct hwrm_async_event_cmpl_echo_request {
 	uint16_t	timestamp_hi;
 	/* Event specific data that should be provided in the echo response */
 	uint32_t	event_data1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_phc_update (size:128b/16B) */
-struct hwrm_async_event_cmpl_phc_update {
+__rte_packed_begin struct hwrm_async_event_cmpl_phc_update {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12078,10 +12078,10 @@ struct hwrm_async_event_cmpl_phc_update {
 		UINT32_C(0xffff0)
 	#define HWRM_ASYNC_EVENT_CMPL_PHC_UPDATE_EVENT_DATA1_PHC_TIME_MSB_SFT \
 		4
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_pps_timestamp (size:128b/16B) */
-struct hwrm_async_event_cmpl_pps_timestamp {
+__rte_packed_begin struct hwrm_async_event_cmpl_pps_timestamp {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12162,10 +12162,10 @@ struct hwrm_async_event_cmpl_pps_timestamp {
 		UINT32_C(0xffffffff)
 	#define HWRM_ASYNC_EVENT_CMPL_PPS_TIMESTAMP_EVENT_DATA1_PPS_TIMESTAMP_LOWER_SFT \
 		0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_error_report (size:128b/16B) */
-struct hwrm_async_event_cmpl_error_report {
+__rte_packed_begin struct hwrm_async_event_cmpl_error_report {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12218,10 +12218,10 @@ struct hwrm_async_event_cmpl_error_report {
 	#define HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_EVENT_DATA1_ERROR_TYPE_MASK \
 		UINT32_C(0xff)
 	#define HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_EVENT_DATA1_ERROR_TYPE_SFT 0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_doorbell_pacing_threshold (size:128b/16B) */
-struct hwrm_async_event_cmpl_doorbell_pacing_threshold {
+__rte_packed_begin struct hwrm_async_event_cmpl_doorbell_pacing_threshold {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12271,10 +12271,10 @@ struct hwrm_async_event_cmpl_doorbell_pacing_threshold {
 	uint16_t	timestamp_hi;
 	/* Event specific data */
 	uint32_t	event_data1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_rss_change (size:128b/16B) */
-struct hwrm_async_event_cmpl_rss_change {
+__rte_packed_begin struct hwrm_async_event_cmpl_rss_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12320,10 +12320,10 @@ struct hwrm_async_event_cmpl_rss_change {
 	uint16_t	timestamp_hi;
 	/* Event specific data */
 	uint32_t	event_data1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_doorbell_pacing_nq_update (size:128b/16B) */
-struct hwrm_async_event_cmpl_doorbell_pacing_nq_update {
+__rte_packed_begin struct hwrm_async_event_cmpl_doorbell_pacing_nq_update {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12373,10 +12373,10 @@ struct hwrm_async_event_cmpl_doorbell_pacing_nq_update {
 	uint16_t	timestamp_hi;
 	/* Event specific data */
 	uint32_t	event_data1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_hw_doorbell_recovery_read_error (size:128b/16B) */
-struct hwrm_async_event_cmpl_hw_doorbell_recovery_read_error {
+__rte_packed_begin struct hwrm_async_event_cmpl_hw_doorbell_recovery_read_error {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12460,10 +12460,10 @@ struct hwrm_async_event_cmpl_hw_doorbell_recovery_read_error {
 	 */
 	#define HWRM_ASYNC_EVENT_CMPL_HW_DOORBELL_RECOVERY_READ_ERROR_EVENT_DATA1_READ_ERROR_FLAGS_CQ_ERR \
 		UINT32_C(0x8)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_ctx_error (size:128b/16B) */
-struct hwrm_async_event_cmpl_ctx_error {
+__rte_packed_begin struct hwrm_async_event_cmpl_ctx_error {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12534,10 +12534,10 @@ struct hwrm_async_event_cmpl_ctx_error {
 	#define HWRM_ASYNC_EVENT_CMPL_CTX_ERROR_EVENT_DATA1_START_XID_MASK \
 		UINT32_C(0xffffffff)
 	#define HWRM_ASYNC_EVENT_CMPL_CTX_ERROR_EVENT_DATA1_START_XID_SFT 0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_udcc_session_change (size:128b/16B) */
-struct hwrm_async_event_udcc_session_change {
+__rte_packed_begin struct hwrm_async_event_udcc_session_change {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12600,10 +12600,10 @@ struct hwrm_async_event_udcc_session_change {
 		UINT32_C(0xffff)
 	#define HWRM_ASYNC_EVENT_UDCC_SESSION_CHANGE_EVENT_DATA1_UDCC_SESSION_ID_SFT \
 		0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_dbg_buf_producer (size:128b/16B) */
-struct hwrm_async_event_cmpl_dbg_buf_producer {
+__rte_packed_begin struct hwrm_async_event_cmpl_dbg_buf_producer {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12690,10 +12690,10 @@ struct hwrm_async_event_cmpl_dbg_buf_producer {
 		UINT32_C(0x6)
 	#define HWRM_ASYNC_EVENT_CMPL_DBG_BUF_PRODUCER_EVENT_DATA1_TYPE_LAST \
 		HWRM_ASYNC_EVENT_CMPL_DBG_BUF_PRODUCER_EVENT_DATA1_TYPE_ROCE_HWRM_TRACE
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_fw_trace_msg (size:128b/16B) */
-struct hwrm_async_event_cmpl_fw_trace_msg {
+__rte_packed_begin struct hwrm_async_event_cmpl_fw_trace_msg {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12797,10 +12797,10 @@ struct hwrm_async_event_cmpl_fw_trace_msg {
 	#define HWRM_ASYNC_EVENT_CMPL_FW_TRACE_MSG_EVENT_DATA1_BYTE9_MASK \
 		UINT32_C(0xff000000)
 	#define HWRM_ASYNC_EVENT_CMPL_FW_TRACE_MSG_EVENT_DATA1_BYTE9_SFT 24
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_hwrm_error (size:128b/16B) */
-struct hwrm_async_event_cmpl_hwrm_error {
+__rte_packed_begin struct hwrm_async_event_cmpl_hwrm_error {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12860,10 +12860,10 @@ struct hwrm_async_event_cmpl_hwrm_error {
 	/* Time stamp for error event */
 	#define HWRM_ASYNC_EVENT_CMPL_HWRM_ERROR_EVENT_DATA1_TIMESTAMP \
 		UINT32_C(0x1)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_error_report_base (size:128b/16B) */
-struct hwrm_async_event_cmpl_error_report_base {
+__rte_packed_begin struct hwrm_async_event_cmpl_error_report_base {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -12961,10 +12961,10 @@ struct hwrm_async_event_cmpl_error_report_base {
 		UINT32_C(0x6)
 	#define HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_BASE_EVENT_DATA1_ERROR_TYPE_LAST \
 		HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_BASE_EVENT_DATA1_ERROR_TYPE_DUAL_DATA_RATE_NOT_SUPPORTED
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_error_report_pause_storm (size:128b/16B) */
-struct hwrm_async_event_cmpl_error_report_pause_storm {
+__rte_packed_begin struct hwrm_async_event_cmpl_error_report_pause_storm {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -13026,10 +13026,10 @@ struct hwrm_async_event_cmpl_error_report_pause_storm {
 		UINT32_C(0x1)
 	#define HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_PAUSE_STORM_EVENT_DATA1_ERROR_TYPE_LAST \
 		HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_PAUSE_STORM_EVENT_DATA1_ERROR_TYPE_PAUSE_STORM
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_error_report_invalid_signal (size:128b/16B) */
-struct hwrm_async_event_cmpl_error_report_invalid_signal {
+__rte_packed_begin struct hwrm_async_event_cmpl_error_report_invalid_signal {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -13099,10 +13099,10 @@ struct hwrm_async_event_cmpl_error_report_invalid_signal {
 		UINT32_C(0x2)
 	#define HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_INVALID_SIGNAL_EVENT_DATA1_ERROR_TYPE_LAST \
 		HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_INVALID_SIGNAL_EVENT_DATA1_ERROR_TYPE_INVALID_SIGNAL
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_error_report_nvm (size:128b/16B) */
-struct hwrm_async_event_cmpl_error_report_nvm {
+__rte_packed_begin struct hwrm_async_event_cmpl_error_report_nvm {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -13188,10 +13188,10 @@ struct hwrm_async_event_cmpl_error_report_nvm {
 		(UINT32_C(0x2) << 8)
 	#define HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_NVM_EVENT_DATA1_NVM_ERR_TYPE_LAST \
 		HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_NVM_EVENT_DATA1_NVM_ERR_TYPE_ERASE
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_error_report_doorbell_drop_threshold (size:128b/16B) */
-struct hwrm_async_event_cmpl_error_report_doorbell_drop_threshold {
+__rte_packed_begin struct hwrm_async_event_cmpl_error_report_doorbell_drop_threshold {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -13263,10 +13263,10 @@ struct hwrm_async_event_cmpl_error_report_doorbell_drop_threshold {
 		UINT32_C(0xffffff00)
 	#define HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_DOORBELL_DROP_THRESHOLD_EVENT_DATA1_EPOCH_SFT \
 		8
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_error_report_thermal (size:128b/16B) */
-struct hwrm_async_event_cmpl_error_report_thermal {
+__rte_packed_begin struct hwrm_async_event_cmpl_error_report_thermal {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -13382,10 +13382,10 @@ struct hwrm_async_event_cmpl_error_report_thermal {
 		(UINT32_C(0x1) << 11)
 	#define HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_THERMAL_EVENT_DATA1_TRANSITION_DIR_LAST \
 		HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_THERMAL_EVENT_DATA1_TRANSITION_DIR_INCREASING
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_async_event_cmpl_error_report_dual_data_rate_not_supported (size:128b/16B) */
-struct hwrm_async_event_cmpl_error_report_dual_data_rate_not_supported {
+__rte_packed_begin struct hwrm_async_event_cmpl_error_report_dual_data_rate_not_supported {
 	uint16_t	type;
 	/*
 	 * This field indicates the exact type of the completion.
@@ -13448,10 +13448,10 @@ struct hwrm_async_event_cmpl_error_report_dual_data_rate_not_supported {
 		UINT32_C(0x6)
 	#define HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_DUAL_DATA_RATE_NOT_SUPPORTED_EVENT_DATA1_ERROR_TYPE_LAST \
 		HWRM_ASYNC_EVENT_CMPL_ERROR_REPORT_DUAL_DATA_RATE_NOT_SUPPORTED_EVENT_DATA1_ERROR_TYPE_DUAL_DATA_RATE_NOT_SUPPORTED
-} __rte_packed;
+} __rte_packed_end;
 
 /* metadata_base_msg (size:64b/8B) */
-struct metadata_base_msg {
+__rte_packed_begin struct metadata_base_msg {
 	uint16_t	md_type_link;
 	/* This field classifies the data present in the meta-data. */
 	#define METADATA_BASE_MSG_MD_TYPE_MASK      UINT32_C(0x1f)
@@ -13489,10 +13489,10 @@ struct metadata_base_msg {
 	#define METADATA_BASE_MSG_LINK_SFT          5
 	uint16_t	unused0;
 	uint32_t	unused1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* tls_metadata_base_msg (size:64b/8B) */
-struct tls_metadata_base_msg {
+__rte_packed_begin struct tls_metadata_base_msg {
 	uint32_t	md_type_link_flags_kid_lo;
 	/* This field classifies the data present in the meta-data. */
 	#define TLS_METADATA_BASE_MSG_MD_TYPE_MASK \
@@ -13659,10 +13659,10 @@ struct tls_metadata_base_msg {
 	#define TLS_METADATA_BASE_MSG_KID_HI_MASK UINT32_C(0x1fff)
 	#define TLS_METADATA_BASE_MSG_KID_HI_SFT 0
 	uint16_t	unused0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* tls_metadata_insync_msg (size:192b/24B) */
-struct tls_metadata_insync_msg {
+__rte_packed_begin struct tls_metadata_insync_msg {
 	uint32_t	md_type_link_flags_kid_lo;
 	/* This field classifies the data present in the meta-data. */
 	#define TLS_METADATA_INSYNC_MSG_MD_TYPE_MASK \
@@ -13847,10 +13847,10 @@ struct tls_metadata_insync_msg {
 	 * only sent out with packet having the TAG field.
 	 */
 	uint8_t	partial_ghash[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* tls_metadata_resync_msg (size:256b/32B) */
-struct tls_metadata_resync_msg {
+__rte_packed_begin struct tls_metadata_resync_msg {
 	uint32_t	md_type_link_flags_kid_lo;
 	/* This field classifies the data present in the meta-data. */
 	#define TLS_METADATA_RESYNC_MSG_MD_TYPE_MASK \
@@ -13998,7 +13998,7 @@ struct tls_metadata_resync_msg {
 	uint64_t	metadata_2;
 	/* This field is unused in this context. */
 	uint64_t	metadata_3;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_func_reset *
@@ -14006,7 +14006,7 @@ struct tls_metadata_resync_msg {
 
 
 /* hwrm_func_reset_input (size:192b/24B) */
-struct hwrm_func_reset_input {
+__rte_packed_begin struct hwrm_func_reset_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -14081,10 +14081,10 @@ struct hwrm_func_reset_input {
 	#define HWRM_FUNC_RESET_INPUT_FUNC_RESET_LEVEL_LAST \
 		HWRM_FUNC_RESET_INPUT_FUNC_RESET_LEVEL_RESETVF
 	uint8_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_reset_output (size:128b/16B) */
-struct hwrm_func_reset_output {
+__rte_packed_begin struct hwrm_func_reset_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -14102,7 +14102,7 @@ struct hwrm_func_reset_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************
  * hwrm_func_getfid *
@@ -14110,7 +14110,7 @@ struct hwrm_func_reset_output {
 
 
 /* hwrm_func_getfid_input (size:192b/24B) */
-struct hwrm_func_getfid_input {
+__rte_packed_begin struct hwrm_func_getfid_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -14153,10 +14153,10 @@ struct hwrm_func_getfid_input {
 	 */
 	uint16_t	pci_id;
 	uint8_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_getfid_output (size:128b/16B) */
-struct hwrm_func_getfid_output {
+__rte_packed_begin struct hwrm_func_getfid_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -14179,7 +14179,7 @@ struct hwrm_func_getfid_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_func_vf_alloc *
@@ -14187,7 +14187,7 @@ struct hwrm_func_getfid_output {
 
 
 /* hwrm_func_vf_alloc_input (size:192b/24B) */
-struct hwrm_func_vf_alloc_input {
+__rte_packed_begin struct hwrm_func_vf_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -14229,10 +14229,10 @@ struct hwrm_func_vf_alloc_input {
 	uint16_t	first_vf_id;
 	/* The number of virtual functions requested. */
 	uint16_t	num_vfs;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_vf_alloc_output (size:128b/16B) */
-struct hwrm_func_vf_alloc_output {
+__rte_packed_begin struct hwrm_func_vf_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -14252,7 +14252,7 @@ struct hwrm_func_vf_alloc_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_func_vf_free *
@@ -14260,7 +14260,7 @@ struct hwrm_func_vf_alloc_output {
 
 
 /* hwrm_func_vf_free_input (size:192b/24B) */
-struct hwrm_func_vf_free_input {
+__rte_packed_begin struct hwrm_func_vf_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -14305,10 +14305,10 @@ struct hwrm_func_vf_free_input {
 	 * 0xFFFF - Cleanup all children of this PF.
 	 */
 	uint16_t	num_vfs;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_vf_free_output (size:128b/16B) */
-struct hwrm_func_vf_free_output {
+__rte_packed_begin struct hwrm_func_vf_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -14326,7 +14326,7 @@ struct hwrm_func_vf_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************
  * hwrm_func_vf_cfg *
@@ -14334,7 +14334,7 @@ struct hwrm_func_vf_free_output {
 
 
 /* hwrm_func_vf_cfg_input (size:576b/72B) */
-struct hwrm_func_vf_cfg_input {
+__rte_packed_begin struct hwrm_func_vf_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -14620,10 +14620,10 @@ struct hwrm_func_vf_cfg_input {
 	uint32_t	num_quic_tx_key_ctxs;
 	/* Number of QUIC Rx Key Contexts requested. */
 	uint32_t	num_quic_rx_key_ctxs;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_vf_cfg_output (size:128b/16B) */
-struct hwrm_func_vf_cfg_output {
+__rte_packed_begin struct hwrm_func_vf_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -14641,7 +14641,7 @@ struct hwrm_func_vf_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_func_qcaps *
@@ -14649,7 +14649,7 @@ struct hwrm_func_vf_cfg_output {
 
 
 /* hwrm_func_qcaps_input (size:192b/24B) */
-struct hwrm_func_qcaps_input {
+__rte_packed_begin struct hwrm_func_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -14687,10 +14687,10 @@ struct hwrm_func_qcaps_input {
 	 */
 	uint16_t	fid;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_qcaps_output (size:1088b/136B) */
-struct hwrm_func_qcaps_output {
+__rte_packed_begin struct hwrm_func_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -15666,7 +15666,7 @@ struct hwrm_func_qcaps_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_func_qcfg *
@@ -15674,7 +15674,7 @@ struct hwrm_func_qcaps_output {
 
 
 /* hwrm_func_qcfg_input (size:192b/24B) */
-struct hwrm_func_qcfg_input {
+__rte_packed_begin struct hwrm_func_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -15712,10 +15712,10 @@ struct hwrm_func_qcfg_input {
 	 */
 	uint16_t	fid;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_qcfg_output (size:1280b/160B) */
-struct hwrm_func_qcfg_output {
+__rte_packed_begin struct hwrm_func_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -16465,7 +16465,7 @@ struct hwrm_func_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************
  * hwrm_func_cfg *
@@ -16473,7 +16473,7 @@ struct hwrm_func_qcfg_output {
 
 
 /* hwrm_func_cfg_input (size:1280b/160B) */
-struct hwrm_func_cfg_input {
+__rte_packed_begin struct hwrm_func_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -17555,10 +17555,10 @@ struct hwrm_func_cfg_input {
 	 */
 	#define HWRM_FUNC_CFG_INPUT_XID_PARTITION_CFG_RX_CK     UINT32_C(0x2)
 	uint16_t	unused_2;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_cfg_output (size:128b/16B) */
-struct hwrm_func_cfg_output {
+__rte_packed_begin struct hwrm_func_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -17576,10 +17576,10 @@ struct hwrm_func_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_cfg_cmd_err (size:64b/8B) */
-struct hwrm_func_cfg_cmd_err {
+__rte_packed_begin struct hwrm_func_cfg_cmd_err {
 	/* command specific error codes for the cmd_err field in hwrm_err_output */
 	uint8_t	code;
 	/* Unknown error. */
@@ -17603,7 +17603,7 @@ struct hwrm_func_cfg_cmd_err {
 	#define HWRM_FUNC_CFG_CMD_ERR_CODE_LAST \
 		HWRM_FUNC_CFG_CMD_ERR_CODE_PARTITION_BW_PERCENT
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /********************
  * hwrm_func_qstats *
@@ -17611,7 +17611,7 @@ struct hwrm_func_cfg_cmd_err {
 
 
 /* hwrm_func_qstats_input (size:192b/24B) */
-struct hwrm_func_qstats_input {
+__rte_packed_begin struct hwrm_func_qstats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -17669,10 +17669,10 @@ struct hwrm_func_qstats_input {
 	 */
 	#define HWRM_FUNC_QSTATS_INPUT_FLAGS_L2_ONLY          UINT32_C(0x4)
 	uint8_t	unused_0[5];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_qstats_output (size:1408b/176B) */
-struct hwrm_func_qstats_output {
+__rte_packed_begin struct hwrm_func_qstats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -17762,7 +17762,7 @@ struct hwrm_func_qstats_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_func_qstats_ext *
@@ -17770,7 +17770,7 @@ struct hwrm_func_qstats_output {
 
 
 /* hwrm_func_qstats_ext_input (size:256b/32B) */
-struct hwrm_func_qstats_ext_input {
+__rte_packed_begin struct hwrm_func_qstats_ext_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -17836,10 +17836,10 @@ struct hwrm_func_qstats_ext_input {
 	 */
 	uint16_t	traffic_class;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_qstats_ext_output (size:1536b/192B) */
-struct hwrm_func_qstats_ext_output {
+__rte_packed_begin struct hwrm_func_qstats_ext_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -17901,7 +17901,7 @@ struct hwrm_func_qstats_ext_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_func_clr_stats *
@@ -17909,7 +17909,7 @@ struct hwrm_func_qstats_ext_output {
 
 
 /* hwrm_func_clr_stats_input (size:192b/24B) */
-struct hwrm_func_clr_stats_input {
+__rte_packed_begin struct hwrm_func_clr_stats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -17945,10 +17945,10 @@ struct hwrm_func_clr_stats_input {
 	 */
 	uint16_t	fid;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_clr_stats_output (size:128b/16B) */
-struct hwrm_func_clr_stats_output {
+__rte_packed_begin struct hwrm_func_clr_stats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -17966,7 +17966,7 @@ struct hwrm_func_clr_stats_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_func_vf_resc_free *
@@ -17974,7 +17974,7 @@ struct hwrm_func_clr_stats_output {
 
 
 /* hwrm_func_vf_resc_free_input (size:192b/24B) */
-struct hwrm_func_vf_resc_free_input {
+__rte_packed_begin struct hwrm_func_vf_resc_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -18009,10 +18009,10 @@ struct hwrm_func_vf_resc_free_input {
 	 */
 	uint16_t	vf_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_vf_resc_free_output (size:128b/16B) */
-struct hwrm_func_vf_resc_free_output {
+__rte_packed_begin struct hwrm_func_vf_resc_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -18030,7 +18030,7 @@ struct hwrm_func_vf_resc_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_func_drv_rgtr *
@@ -18038,7 +18038,7 @@ struct hwrm_func_vf_resc_free_output {
 
 
 /* hwrm_func_drv_rgtr_input (size:896b/112B) */
-struct hwrm_func_drv_rgtr_input {
+__rte_packed_begin struct hwrm_func_drv_rgtr_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -18305,10 +18305,10 @@ struct hwrm_func_drv_rgtr_input {
 	uint16_t	ver_upd;
 	/* This is the 16bit patch version of the driver. */
 	uint16_t	ver_patch;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_drv_rgtr_output (size:128b/16B) */
-struct hwrm_func_drv_rgtr_output {
+__rte_packed_begin struct hwrm_func_drv_rgtr_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -18333,7 +18333,7 @@ struct hwrm_func_drv_rgtr_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_func_drv_unrgtr *
@@ -18341,7 +18341,7 @@ struct hwrm_func_drv_rgtr_output {
 
 
 /* hwrm_func_drv_unrgtr_input (size:192b/24B) */
-struct hwrm_func_drv_unrgtr_input {
+__rte_packed_begin struct hwrm_func_drv_unrgtr_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -18378,10 +18378,10 @@ struct hwrm_func_drv_unrgtr_input {
 	#define HWRM_FUNC_DRV_UNRGTR_INPUT_FLAGS_PREPARE_FOR_SHUTDOWN \
 		UINT32_C(0x1)
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_drv_unrgtr_output (size:128b/16B) */
-struct hwrm_func_drv_unrgtr_output {
+__rte_packed_begin struct hwrm_func_drv_unrgtr_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -18399,7 +18399,7 @@ struct hwrm_func_drv_unrgtr_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_func_buf_rgtr *
@@ -18407,7 +18407,7 @@ struct hwrm_func_drv_unrgtr_output {
 
 
 /* hwrm_func_buf_rgtr_input (size:1024b/128B) */
-struct hwrm_func_buf_rgtr_input {
+__rte_packed_begin struct hwrm_func_buf_rgtr_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -18513,10 +18513,10 @@ struct hwrm_func_buf_rgtr_input {
 	 * HWRM.
 	 */
 	uint64_t	resp_buf_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_buf_rgtr_output (size:128b/16B) */
-struct hwrm_func_buf_rgtr_output {
+__rte_packed_begin struct hwrm_func_buf_rgtr_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -18534,7 +18534,7 @@ struct hwrm_func_buf_rgtr_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_func_buf_unrgtr *
@@ -18542,7 +18542,7 @@ struct hwrm_func_buf_rgtr_output {
 
 
 /* hwrm_func_buf_unrgtr_input (size:192b/24B) */
-struct hwrm_func_buf_unrgtr_input {
+__rte_packed_begin struct hwrm_func_buf_unrgtr_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -18583,10 +18583,10 @@ struct hwrm_func_buf_unrgtr_input {
 	 */
 	uint16_t	vf_id;
 	uint8_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_buf_unrgtr_output (size:128b/16B) */
-struct hwrm_func_buf_unrgtr_output {
+__rte_packed_begin struct hwrm_func_buf_unrgtr_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -18604,7 +18604,7 @@ struct hwrm_func_buf_unrgtr_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_func_drv_qver *
@@ -18612,7 +18612,7 @@ struct hwrm_func_buf_unrgtr_output {
 
 
 /* hwrm_func_drv_qver_input (size:192b/24B) */
-struct hwrm_func_drv_qver_input {
+__rte_packed_begin struct hwrm_func_drv_qver_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -18661,10 +18661,10 @@ struct hwrm_func_drv_qver_input {
 	#define HWRM_FUNC_DRV_QVER_INPUT_DRIVER_TYPE_LAST \
 		HWRM_FUNC_DRV_QVER_INPUT_DRIVER_TYPE_ROCE
 	uint8_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_drv_qver_output (size:256b/32B) */
-struct hwrm_func_drv_qver_output {
+__rte_packed_begin struct hwrm_func_drv_qver_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -18726,7 +18726,7 @@ struct hwrm_func_drv_qver_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_func_resource_qcaps *
@@ -18734,7 +18734,7 @@ struct hwrm_func_drv_qver_output {
 
 
 /* hwrm_func_resource_qcaps_input (size:192b/24B) */
-struct hwrm_func_resource_qcaps_input {
+__rte_packed_begin struct hwrm_func_resource_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -18770,10 +18770,10 @@ struct hwrm_func_resource_qcaps_input {
 	 */
 	uint16_t	fid;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_resource_qcaps_output (size:704b/88B) */
-struct hwrm_func_resource_qcaps_output {
+__rte_packed_begin struct hwrm_func_resource_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -18884,7 +18884,7 @@ struct hwrm_func_resource_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_func_vf_resource_cfg *
@@ -18892,7 +18892,7 @@ struct hwrm_func_resource_qcaps_output {
 
 
 /* hwrm_func_vf_resource_cfg_input (size:704b/88B) */
-struct hwrm_func_vf_resource_cfg_input {
+__rte_packed_begin struct hwrm_func_vf_resource_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -18983,10 +18983,10 @@ struct hwrm_func_vf_resource_cfg_input {
 	uint32_t	min_quic_rx_key_ctxs;
 	/* Maximum non-guaranteed number of QUIC Rx Key Contexts */
 	uint32_t	max_quic_rx_key_ctxs;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_vf_resource_cfg_output (size:384b/48B) */
-struct hwrm_func_vf_resource_cfg_output {
+__rte_packed_begin struct hwrm_func_vf_resource_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -19028,7 +19028,7 @@ struct hwrm_func_vf_resource_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************************
  * hwrm_func_backing_store_qcaps *
@@ -19036,7 +19036,7 @@ struct hwrm_func_vf_resource_cfg_output {
 
 
 /* hwrm_func_backing_store_qcaps_input (size:128b/16B) */
-struct hwrm_func_backing_store_qcaps_input {
+__rte_packed_begin struct hwrm_func_backing_store_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -19065,10 +19065,10 @@ struct hwrm_func_backing_store_qcaps_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_backing_store_qcaps_output (size:832b/104B) */
-struct hwrm_func_backing_store_qcaps_output {
+__rte_packed_begin struct hwrm_func_backing_store_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -19327,10 +19327,10 @@ struct hwrm_func_backing_store_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* tqm_fp_ring_cfg (size:128b/16B) */
-struct tqm_fp_ring_cfg {
+__rte_packed_begin struct tqm_fp_ring_cfg {
 	/* TQM ring page size and level. */
 	uint8_t	tqm_ring_pg_size_tqm_ring_lvl;
 	/* TQM ring PBL indirect levels. */
@@ -19380,7 +19380,7 @@ struct tqm_fp_ring_cfg {
 	uint32_t	tqm_ring_num_entries;
 	/* TQM ring page directory. */
 	uint64_t	tqm_ring_page_dir;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_func_backing_store_cfg *
@@ -19388,7 +19388,7 @@ struct tqm_fp_ring_cfg {
 
 
 /* hwrm_func_backing_store_cfg_input (size:2688b/336B) */
-struct hwrm_func_backing_store_cfg_input {
+__rte_packed_begin struct hwrm_func_backing_store_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -20736,10 +20736,10 @@ struct hwrm_func_backing_store_cfg_input {
 	 * function to support fast QP modify destroy feature.
 	 */
 	uint16_t	qp_num_fast_qpmd_entries;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_backing_store_cfg_output (size:128b/16B) */
-struct hwrm_func_backing_store_cfg_output {
+__rte_packed_begin struct hwrm_func_backing_store_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -20757,7 +20757,7 @@ struct hwrm_func_backing_store_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************************
  * hwrm_func_backing_store_qcfg *
@@ -20765,7 +20765,7 @@ struct hwrm_func_backing_store_cfg_output {
 
 
 /* hwrm_func_backing_store_qcfg_input (size:128b/16B) */
-struct hwrm_func_backing_store_qcfg_input {
+__rte_packed_begin struct hwrm_func_backing_store_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -20794,10 +20794,10 @@ struct hwrm_func_backing_store_qcfg_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_backing_store_qcfg_output (size:2496b/312B) */
-struct hwrm_func_backing_store_qcfg_output {
+__rte_packed_begin struct hwrm_func_backing_store_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -22009,7 +22009,7 @@ struct hwrm_func_backing_store_qcfg_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_error_recovery_qcfg *
@@ -22017,7 +22017,7 @@ struct hwrm_func_backing_store_qcfg_output {
 
 
 /* hwrm_error_recovery_qcfg_input (size:192b/24B) */
-struct hwrm_error_recovery_qcfg_input {
+__rte_packed_begin struct hwrm_error_recovery_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -22047,10 +22047,10 @@ struct hwrm_error_recovery_qcfg_input {
 	 */
 	uint64_t	resp_addr;
 	uint8_t	unused_0[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_error_recovery_qcfg_output (size:1664b/208B) */
-struct hwrm_error_recovery_qcfg_output {
+__rte_packed_begin struct hwrm_error_recovery_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -22423,7 +22423,7 @@ struct hwrm_error_recovery_qcfg_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_func_echo_response *
@@ -22431,7 +22431,7 @@ struct hwrm_error_recovery_qcfg_output {
 
 
 /* hwrm_func_echo_response_input (size:192b/24B) */
-struct hwrm_func_echo_response_input {
+__rte_packed_begin struct hwrm_func_echo_response_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -22462,10 +22462,10 @@ struct hwrm_func_echo_response_input {
 	uint64_t	resp_addr;
 	uint32_t	event_data1;
 	uint32_t	event_data2;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_echo_response_output (size:128b/16B) */
-struct hwrm_func_echo_response_output {
+__rte_packed_begin struct hwrm_func_echo_response_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -22483,7 +22483,7 @@ struct hwrm_func_echo_response_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_func_ptp_pin_qcfg *
@@ -22491,7 +22491,7 @@ struct hwrm_func_echo_response_output {
 
 
 /* hwrm_func_ptp_pin_qcfg_input (size:192b/24B) */
-struct hwrm_func_ptp_pin_qcfg_input {
+__rte_packed_begin struct hwrm_func_ptp_pin_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -22521,10 +22521,10 @@ struct hwrm_func_ptp_pin_qcfg_input {
 	 */
 	uint64_t	resp_addr;
 	uint8_t	unused_0[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_ptp_pin_qcfg_output (size:128b/16B) */
-struct hwrm_func_ptp_pin_qcfg_output {
+__rte_packed_begin struct hwrm_func_ptp_pin_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -22651,7 +22651,7 @@ struct hwrm_func_ptp_pin_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_func_ptp_pin_cfg *
@@ -22659,7 +22659,7 @@ struct hwrm_func_ptp_pin_qcfg_output {
 
 
 /* hwrm_func_ptp_pin_cfg_input (size:256b/32B) */
-struct hwrm_func_ptp_pin_cfg_input {
+__rte_packed_begin struct hwrm_func_ptp_pin_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -22848,10 +22848,10 @@ struct hwrm_func_ptp_pin_cfg_input {
 	#define HWRM_FUNC_PTP_PIN_CFG_INPUT_PIN3_USAGE_LAST \
 		HWRM_FUNC_PTP_PIN_CFG_INPUT_PIN3_USAGE_SYNCE_SECONDARY_CLOCK_OUT
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_ptp_pin_cfg_output (size:128b/16B) */
-struct hwrm_func_ptp_pin_cfg_output {
+__rte_packed_begin struct hwrm_func_ptp_pin_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -22869,7 +22869,7 @@ struct hwrm_func_ptp_pin_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_func_ptp_cfg *
@@ -22877,7 +22877,7 @@ struct hwrm_func_ptp_pin_cfg_output {
 
 
 /* hwrm_func_ptp_cfg_input (size:384b/48B) */
-struct hwrm_func_ptp_cfg_input {
+__rte_packed_begin struct hwrm_func_ptp_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -23056,10 +23056,10 @@ struct hwrm_func_ptp_cfg_input {
 	 * to indicate the programmed upper 16 bits.
 	 */
 	uint64_t	ptp_set_time;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_ptp_cfg_output (size:128b/16B) */
-struct hwrm_func_ptp_cfg_output {
+__rte_packed_begin struct hwrm_func_ptp_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -23077,7 +23077,7 @@ struct hwrm_func_ptp_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_func_ptp_ts_query *
@@ -23085,7 +23085,7 @@ struct hwrm_func_ptp_cfg_output {
 
 
 /* hwrm_func_ptp_ts_query_input (size:192b/24B) */
-struct hwrm_func_ptp_ts_query_input {
+__rte_packed_begin struct hwrm_func_ptp_ts_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -23120,10 +23120,10 @@ struct hwrm_func_ptp_ts_query_input {
 	/* If set, the response includes PTM timestamps */
 	#define HWRM_FUNC_PTP_TS_QUERY_INPUT_FLAGS_PTM_TIME     UINT32_C(0x2)
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_ptp_ts_query_output (size:320b/40B) */
-struct hwrm_func_ptp_ts_query_output {
+__rte_packed_begin struct hwrm_func_ptp_ts_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -23162,7 +23162,7 @@ struct hwrm_func_ptp_ts_query_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_func_ptp_ext_cfg *
@@ -23170,7 +23170,7 @@ struct hwrm_func_ptp_ts_query_output {
 
 
 /* hwrm_func_ptp_ext_cfg_input (size:256b/32B) */
-struct hwrm_func_ptp_ext_cfg_input {
+__rte_packed_begin struct hwrm_func_ptp_ext_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -23288,10 +23288,10 @@ struct hwrm_func_ptp_ext_cfg_input {
 	 */
 	uint32_t	failover_timer;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_ptp_ext_cfg_output (size:128b/16B) */
-struct hwrm_func_ptp_ext_cfg_output {
+__rte_packed_begin struct hwrm_func_ptp_ext_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -23309,7 +23309,7 @@ struct hwrm_func_ptp_ext_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_func_ptp_ext_qcfg *
@@ -23317,7 +23317,7 @@ struct hwrm_func_ptp_ext_cfg_output {
 
 
 /* hwrm_func_ptp_ext_qcfg_input (size:192b/24B) */
-struct hwrm_func_ptp_ext_qcfg_input {
+__rte_packed_begin struct hwrm_func_ptp_ext_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -23347,10 +23347,10 @@ struct hwrm_func_ptp_ext_qcfg_input {
 	 */
 	uint64_t	resp_addr;
 	uint8_t	unused_0[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_ptp_ext_qcfg_output (size:256b/32B) */
-struct hwrm_func_ptp_ext_qcfg_output {
+__rte_packed_begin struct hwrm_func_ptp_ext_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -23404,7 +23404,7 @@ struct hwrm_func_ptp_ext_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_func_key_ctx_alloc *
@@ -23412,7 +23412,7 @@ struct hwrm_func_ptp_ext_qcfg_output {
 
 
 /* hwrm_func_key_ctx_alloc_input (size:384b/48B) */
-struct hwrm_func_key_ctx_alloc_input {
+__rte_packed_begin struct hwrm_func_key_ctx_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -23496,10 +23496,10 @@ struct hwrm_func_key_ctx_alloc_input {
 	 */
 	uint32_t	partition_start_xid;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_key_ctx_alloc_output (size:192b/24B) */
-struct hwrm_func_key_ctx_alloc_output {
+__rte_packed_begin struct hwrm_func_key_ctx_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -23537,7 +23537,7 @@ struct hwrm_func_key_ctx_alloc_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_func_key_ctx_free *
@@ -23545,7 +23545,7 @@ struct hwrm_func_key_ctx_alloc_output {
 
 
 /* hwrm_func_key_ctx_free_input (size:256b/32B) */
-struct hwrm_func_key_ctx_free_input {
+__rte_packed_begin struct hwrm_func_key_ctx_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -23602,10 +23602,10 @@ struct hwrm_func_key_ctx_free_input {
 	 */
 	uint16_t	num_entries;
 	uint8_t	unused_1[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_key_ctx_free_output (size:128b/16B) */
-struct hwrm_func_key_ctx_free_output {
+__rte_packed_begin struct hwrm_func_key_ctx_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -23624,7 +23624,7 @@ struct hwrm_func_key_ctx_free_output {
 	 * that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************************
  * hwrm_func_backing_store_cfg_v2 *
@@ -23632,7 +23632,7 @@ struct hwrm_func_key_ctx_free_output {
 
 
 /* hwrm_func_backing_store_cfg_v2_input (size:448b/56B) */
-struct hwrm_func_backing_store_cfg_v2_input {
+__rte_packed_begin struct hwrm_func_backing_store_cfg_v2_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -23877,10 +23877,10 @@ struct hwrm_func_backing_store_cfg_v2_input {
 	uint32_t	split_entry_2;
 	/* Split entry #3. */
 	uint32_t	split_entry_3;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_backing_store_cfg_v2_output (size:128b/16B) */
-struct hwrm_func_backing_store_cfg_v2_output {
+__rte_packed_begin struct hwrm_func_backing_store_cfg_v2_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -23899,7 +23899,7 @@ struct hwrm_func_backing_store_cfg_v2_output {
 	 * that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************************
  * hwrm_func_backing_store_qcfg_v2 *
@@ -23907,7 +23907,7 @@ struct hwrm_func_backing_store_cfg_v2_output {
 
 
 /* hwrm_func_backing_store_qcfg_v2_input (size:192b/24B) */
-struct hwrm_func_backing_store_qcfg_v2_input {
+__rte_packed_begin struct hwrm_func_backing_store_qcfg_v2_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -24034,10 +24034,10 @@ struct hwrm_func_backing_store_qcfg_v2_input {
 	 */
 	uint16_t	instance;
 	uint8_t	rsvd[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_backing_store_qcfg_v2_output (size:448b/56B) */
-struct hwrm_func_backing_store_qcfg_v2_output {
+__rte_packed_begin struct hwrm_func_backing_store_qcfg_v2_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -24226,7 +24226,7 @@ struct hwrm_func_backing_store_qcfg_v2_output {
 	 * that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Common structure to cast QPC split entries. This casting is required in the
  * following HWRM command inputs/outputs if the backing store type is QPC.
@@ -24235,7 +24235,7 @@ struct hwrm_func_backing_store_qcfg_v2_output {
  * 3. hwrm_func_backing_store_qcaps_v2_output
  */
 /* qpc_split_entries (size:128b/16B) */
-struct qpc_split_entries {
+__rte_packed_begin struct qpc_split_entries {
 	/* Number of L2 QP backing store entries. */
 	uint32_t	qp_num_l2_entries;
 	/* Number of QP1 entries. */
@@ -24246,7 +24246,7 @@ struct qpc_split_entries {
 	 */
 	uint32_t	qp_num_fast_qpmd_entries;
 	uint32_t	rsvd;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Common structure to cast SRQ split entries. This casting is required in the
  * following HWRM command inputs/outputs if the backing store type is SRQ.
@@ -24255,12 +24255,12 @@ struct qpc_split_entries {
  * 3. hwrm_func_backing_store_qcaps_v2_output
  */
 /* srq_split_entries (size:128b/16B) */
-struct srq_split_entries {
+__rte_packed_begin struct srq_split_entries {
 	/* Number of L2 SRQ backing store entries. */
 	uint32_t	srq_num_l2_entries;
 	uint32_t	rsvd;
 	uint32_t	rsvd2[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* Common structure to cast CQ split entries. This casting is required in the
  * following HWRM command inputs/outputs if the backing store type is CQ.
@@ -24269,12 +24269,12 @@ struct srq_split_entries {
  * 3. hwrm_func_backing_store_qcaps_v2_output
  */
 /* cq_split_entries (size:128b/16B) */
-struct cq_split_entries {
+__rte_packed_begin struct cq_split_entries {
 	/* Number of L2 CQ backing store entries. */
 	uint32_t	cq_num_l2_entries;
 	uint32_t	rsvd;
 	uint32_t	rsvd2[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* Common structure to cast VNIC split entries. This casting is required in the
  * following HWRM command inputs/outputs if the backing store type is VNIC.
@@ -24283,12 +24283,12 @@ struct cq_split_entries {
  * 3. hwrm_func_backing_store_qcaps_v2_output
  */
 /* vnic_split_entries (size:128b/16B) */
-struct vnic_split_entries {
+__rte_packed_begin struct vnic_split_entries {
 	/* Number of VNIC backing store entries. */
 	uint32_t	vnic_num_vnic_entries;
 	uint32_t	rsvd;
 	uint32_t	rsvd2[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* Common structure to cast MRAV split entries. This casting is required in the
  * following HWRM command inputs/outputs if the backing store type is MRAV.
@@ -24297,12 +24297,12 @@ struct vnic_split_entries {
  * 3. hwrm_func_backing_store_qcaps_v2_output
  */
 /* mrav_split_entries (size:128b/16B) */
-struct mrav_split_entries {
+__rte_packed_begin struct mrav_split_entries {
 	/* Number of AV backing store entries. */
 	uint32_t	mrav_num_av_entries;
 	uint32_t	rsvd;
 	uint32_t	rsvd2[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* Common structure to cast TBL_SCOPE split entries. This casting is required
  * in the following HWRM command inputs/outputs if the backing store type is
@@ -24312,7 +24312,7 @@ struct mrav_split_entries {
  * 3. hwrm_func_backing_store_qcaps_v2_output
  */
 /* ts_split_entries (size:128b/16B) */
-struct ts_split_entries {
+__rte_packed_begin struct ts_split_entries {
 	/* Max number of TBL_SCOPE region entries (QCAPS). */
 	uint32_t	region_num_entries;
 	/* tsid to configure (CFG). */
@@ -24324,7 +24324,7 @@ struct ts_split_entries {
 	uint8_t	lkup_static_bkt_cnt_exp[2];
 	uint8_t	rsvd;
 	uint32_t	rsvd2[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* Common structure to cast crypto key split entries. This casting is required
  * in the following HWRM command inputs/outputs if the backing store type is
@@ -24334,7 +24334,7 @@ struct ts_split_entries {
  * 3. hwrm_func_backing_store_qcaps_v2_output
  */
 /* ck_split_entries (size:128b/16B) */
-struct ck_split_entries {
+__rte_packed_begin struct ck_split_entries {
 	/*
 	 * Number of QUIC backing store entries. That means the number of KTLS
 	 * backing store entries is the difference between this number and the
@@ -24343,7 +24343,7 @@ struct ck_split_entries {
 	uint32_t	num_quic_entries;
 	uint32_t	rsvd;
 	uint32_t	rsvd2[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /************************************
  * hwrm_func_backing_store_qcaps_v2 *
@@ -24351,7 +24351,7 @@ struct ck_split_entries {
 
 
 /* hwrm_func_backing_store_qcaps_v2_input (size:192b/24B) */
-struct hwrm_func_backing_store_qcaps_v2_input {
+__rte_packed_begin struct hwrm_func_backing_store_qcaps_v2_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -24463,10 +24463,10 @@ struct hwrm_func_backing_store_qcaps_v2_input {
 	#define HWRM_FUNC_BACKING_STORE_QCAPS_V2_INPUT_TYPE_LAST \
 		HWRM_FUNC_BACKING_STORE_QCAPS_V2_INPUT_TYPE_INVALID
 	uint8_t	rsvd[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_backing_store_qcaps_v2_output (size:448b/56B) */
-struct hwrm_func_backing_store_qcaps_v2_output {
+__rte_packed_begin struct hwrm_func_backing_store_qcaps_v2_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -24721,7 +24721,7 @@ struct hwrm_func_backing_store_qcaps_v2_output {
 	 * that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_func_dbr_pacing_cfg *
@@ -24729,7 +24729,7 @@ struct hwrm_func_backing_store_qcaps_v2_output {
 
 
 /* hwrm_func_dbr_pacing_cfg_input (size:320b/40B) */
-struct hwrm_func_dbr_pacing_cfg_input {
+__rte_packed_begin struct hwrm_func_dbr_pacing_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -24794,10 +24794,10 @@ struct hwrm_func_dbr_pacing_cfg_input {
 	 */
 	uint32_t	pacing_threshold;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_dbr_pacing_cfg_output (size:128b/16B) */
-struct hwrm_func_dbr_pacing_cfg_output {
+__rte_packed_begin struct hwrm_func_dbr_pacing_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -24816,7 +24816,7 @@ struct hwrm_func_dbr_pacing_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_func_dbr_pacing_qcfg *
@@ -24824,7 +24824,7 @@ struct hwrm_func_dbr_pacing_cfg_output {
 
 
 /* hwrm_func_dbr_pacing_qcfg_input (size:128b/16B) */
-struct hwrm_func_dbr_pacing_qcfg_input {
+__rte_packed_begin struct hwrm_func_dbr_pacing_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -24853,10 +24853,10 @@ struct hwrm_func_dbr_pacing_qcfg_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_dbr_pacing_qcfg_output (size:512b/64B) */
-struct hwrm_func_dbr_pacing_qcfg_output {
+__rte_packed_begin struct hwrm_func_dbr_pacing_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -25020,7 +25020,7 @@ struct hwrm_func_dbr_pacing_qcfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************************
  * hwrm_func_dbr_pacing_broadcast_event *
@@ -25028,7 +25028,7 @@ struct hwrm_func_dbr_pacing_qcfg_output {
 
 
 /* hwrm_func_dbr_pacing_broadcast_event_input (size:128b/16B) */
-struct hwrm_func_dbr_pacing_broadcast_event_input {
+__rte_packed_begin struct hwrm_func_dbr_pacing_broadcast_event_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -25057,10 +25057,10 @@ struct hwrm_func_dbr_pacing_broadcast_event_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_dbr_pacing_broadcast_event_output (size:128b/16B) */
-struct hwrm_func_dbr_pacing_broadcast_event_output {
+__rte_packed_begin struct hwrm_func_dbr_pacing_broadcast_event_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -25079,7 +25079,7 @@ struct hwrm_func_dbr_pacing_broadcast_event_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************************
  * hwrm_func_dbr_pacing_nqlist_query *
@@ -25087,7 +25087,7 @@ struct hwrm_func_dbr_pacing_broadcast_event_output {
 
 
 /* hwrm_func_dbr_pacing_nqlist_query_input (size:128b/16B) */
-struct hwrm_func_dbr_pacing_nqlist_query_input {
+__rte_packed_begin struct hwrm_func_dbr_pacing_nqlist_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -25116,10 +25116,10 @@ struct hwrm_func_dbr_pacing_nqlist_query_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_dbr_pacing_nqlist_query_output (size:384b/48B) */
-struct hwrm_func_dbr_pacing_nqlist_query_output {
+__rte_packed_begin struct hwrm_func_dbr_pacing_nqlist_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -25171,7 +25171,7 @@ struct hwrm_func_dbr_pacing_nqlist_query_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************************
  * hwrm_func_dbr_recovery_completed *
@@ -25179,7 +25179,7 @@ struct hwrm_func_dbr_pacing_nqlist_query_output {
 
 
 /* hwrm_func_dbr_recovery_completed_input (size:192b/24B) */
-struct hwrm_func_dbr_recovery_completed_input {
+__rte_packed_begin struct hwrm_func_dbr_recovery_completed_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -25219,10 +25219,10 @@ struct hwrm_func_dbr_recovery_completed_input {
 		UINT32_C(0xffffff)
 	#define HWRM_FUNC_DBR_RECOVERY_COMPLETED_INPUT_EPOCH_VALUE_SFT 0
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_dbr_recovery_completed_output (size:128b/16B) */
-struct hwrm_func_dbr_recovery_completed_output {
+__rte_packed_begin struct hwrm_func_dbr_recovery_completed_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -25241,7 +25241,7 @@ struct hwrm_func_dbr_recovery_completed_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_func_synce_cfg *
@@ -25249,7 +25249,7 @@ struct hwrm_func_dbr_recovery_completed_output {
 
 
 /* hwrm_func_synce_cfg_input (size:192b/24B) */
-struct hwrm_func_synce_cfg_input {
+__rte_packed_begin struct hwrm_func_synce_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -25332,10 +25332,10 @@ struct hwrm_func_synce_cfg_input {
 	#define HWRM_FUNC_SYNCE_CFG_INPUT_SECONDARY_CLOCK_STATE_LAST \
 		HWRM_FUNC_SYNCE_CFG_INPUT_SECONDARY_CLOCK_STATE_ENABLE
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_synce_cfg_output (size:128b/16B) */
-struct hwrm_func_synce_cfg_output {
+__rte_packed_begin struct hwrm_func_synce_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -25353,7 +25353,7 @@ struct hwrm_func_synce_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_func_synce_qcfg *
@@ -25361,7 +25361,7 @@ struct hwrm_func_synce_cfg_output {
 
 
 /* hwrm_func_synce_qcfg_input (size:192b/24B) */
-struct hwrm_func_synce_qcfg_input {
+__rte_packed_begin struct hwrm_func_synce_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -25391,10 +25391,10 @@ struct hwrm_func_synce_qcfg_input {
 	 */
 	uint64_t	resp_addr;
 	uint8_t	unused_0[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_synce_qcfg_output (size:128b/16B) */
-struct hwrm_func_synce_qcfg_output {
+__rte_packed_begin struct hwrm_func_synce_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -25436,7 +25436,7 @@ struct hwrm_func_synce_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_func_lag_create *
@@ -25444,7 +25444,7 @@ struct hwrm_func_synce_qcfg_output {
 
 
 /* hwrm_func_lag_create_input (size:192b/24B) */
-struct hwrm_func_lag_create_input {
+__rte_packed_begin struct hwrm_func_lag_create_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -25577,10 +25577,10 @@ struct hwrm_func_lag_create_input {
 	#define HWRM_FUNC_LAG_CREATE_INPUT_AGGR_MODE_LAST \
 		HWRM_FUNC_LAG_CREATE_INPUT_AGGR_MODE_802_3_AD
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_lag_create_output (size:128b/16B) */
-struct hwrm_func_lag_create_output {
+__rte_packed_begin struct hwrm_func_lag_create_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -25603,7 +25603,7 @@ struct hwrm_func_lag_create_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_func_lag_update *
@@ -25611,7 +25611,7 @@ struct hwrm_func_lag_create_output {
 
 
 /* hwrm_func_lag_update_input (size:192b/24B) */
-struct hwrm_func_lag_update_input {
+__rte_packed_begin struct hwrm_func_lag_update_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -25746,10 +25746,10 @@ struct hwrm_func_lag_update_input {
 	#define HWRM_FUNC_LAG_UPDATE_INPUT_AGGR_MODE_LAST \
 		HWRM_FUNC_LAG_UPDATE_INPUT_AGGR_MODE_802_3_AD
 	uint8_t	unused_0[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_lag_update_output (size:128b/16B) */
-struct hwrm_func_lag_update_output {
+__rte_packed_begin struct hwrm_func_lag_update_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -25767,7 +25767,7 @@ struct hwrm_func_lag_update_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_func_lag_free *
@@ -25775,7 +25775,7 @@ struct hwrm_func_lag_update_output {
 
 
 /* hwrm_func_lag_free_input (size:192b/24B) */
-struct hwrm_func_lag_free_input {
+__rte_packed_begin struct hwrm_func_lag_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -25807,10 +25807,10 @@ struct hwrm_func_lag_free_input {
 	/* Link aggregation group ID of the LAG to be freed. */
 	uint8_t	fw_lag_id;
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_lag_free_output (size:128b/16B) */
-struct hwrm_func_lag_free_output {
+__rte_packed_begin struct hwrm_func_lag_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -25828,7 +25828,7 @@ struct hwrm_func_lag_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_func_lag_qcfg *
@@ -25836,7 +25836,7 @@ struct hwrm_func_lag_free_output {
 
 
 /* hwrm_func_lag_qcfg_input (size:192b/24B) */
-struct hwrm_func_lag_qcfg_input {
+__rte_packed_begin struct hwrm_func_lag_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -25868,10 +25868,10 @@ struct hwrm_func_lag_qcfg_input {
 	/* Link aggregation group ID of the LAG to be queried. */
 	uint8_t	fw_lag_id;
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_lag_qcfg_output (size:128b/16B) */
-struct hwrm_func_lag_qcfg_output {
+__rte_packed_begin struct hwrm_func_lag_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -25968,7 +25968,7 @@ struct hwrm_func_lag_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_func_lag_mode_cfg *
@@ -25976,7 +25976,7 @@ struct hwrm_func_lag_qcfg_output {
 
 
 /* hwrm_func_lag_mode_cfg_input (size:192b/24B) */
-struct hwrm_func_lag_mode_cfg_input {
+__rte_packed_begin struct hwrm_func_lag_mode_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -26139,10 +26139,10 @@ struct hwrm_func_lag_mode_cfg_input {
 	/* Link aggregation group idx being used. */
 	uint8_t	lag_id;
 	uint8_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_lag_mode_cfg_output (size:128b/16B) */
-struct hwrm_func_lag_mode_cfg_output {
+__rte_packed_begin struct hwrm_func_lag_mode_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -26162,7 +26162,7 @@ struct hwrm_func_lag_mode_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_func_lag_mode_qcfg *
@@ -26170,7 +26170,7 @@ struct hwrm_func_lag_mode_cfg_output {
 
 
 /* hwrm_func_lag_mode_qcfg_input (size:192b/24B) */
-struct hwrm_func_lag_mode_qcfg_input {
+__rte_packed_begin struct hwrm_func_lag_mode_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -26200,10 +26200,10 @@ struct hwrm_func_lag_mode_qcfg_input {
 	 */
 	uint64_t	resp_addr;
 	uint8_t	unused_0[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_lag_mode_qcfg_output (size:128b/16B) */
-struct hwrm_func_lag_mode_qcfg_output {
+__rte_packed_begin struct hwrm_func_lag_mode_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -26315,7 +26315,7 @@ struct hwrm_func_lag_mode_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_func_vlan_qcfg *
@@ -26323,7 +26323,7 @@ struct hwrm_func_lag_mode_qcfg_output {
 
 
 /* hwrm_func_vlan_qcfg_input (size:192b/24B) */
-struct hwrm_func_vlan_qcfg_input {
+__rte_packed_begin struct hwrm_func_vlan_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -26360,10 +26360,10 @@ struct hwrm_func_vlan_qcfg_input {
 	 */
 	uint16_t	fid;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_vlan_qcfg_output (size:320b/40B) */
-struct hwrm_func_vlan_qcfg_output {
+__rte_packed_begin struct hwrm_func_vlan_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -26406,7 +26406,7 @@ struct hwrm_func_vlan_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_func_vlan_cfg *
@@ -26414,7 +26414,7 @@ struct hwrm_func_vlan_qcfg_output {
 
 
 /* hwrm_func_vlan_cfg_input (size:384b/48B) */
-struct hwrm_func_vlan_cfg_input {
+__rte_packed_begin struct hwrm_func_vlan_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -26507,10 +26507,10 @@ struct hwrm_func_vlan_cfg_input {
 	/* Future use. */
 	uint32_t	rsvd2;
 	uint8_t	unused_3[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_vlan_cfg_output (size:128b/16B) */
-struct hwrm_func_vlan_cfg_output {
+__rte_packed_begin struct hwrm_func_vlan_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -26528,7 +26528,7 @@ struct hwrm_func_vlan_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_func_vf_vnic_ids_query *
@@ -26536,7 +26536,7 @@ struct hwrm_func_vlan_cfg_output {
 
 
 /* hwrm_func_vf_vnic_ids_query_input (size:256b/32B) */
-struct hwrm_func_vf_vnic_ids_query_input {
+__rte_packed_begin struct hwrm_func_vf_vnic_ids_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -26575,10 +26575,10 @@ struct hwrm_func_vf_vnic_ids_query_input {
 	uint32_t	max_vnic_id_cnt;
 	/* This is the address for VF VNIC ID table */
 	uint64_t	vnic_id_tbl_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_vf_vnic_ids_query_output (size:128b/16B) */
-struct hwrm_func_vf_vnic_ids_query_output {
+__rte_packed_begin struct hwrm_func_vf_vnic_ids_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -26602,7 +26602,7 @@ struct hwrm_func_vf_vnic_ids_query_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_func_vf_bw_cfg *
@@ -26610,7 +26610,7 @@ struct hwrm_func_vf_vnic_ids_query_output {
 
 
 /* hwrm_func_vf_bw_cfg_input (size:960b/120B) */
-struct hwrm_func_vf_bw_cfg_input {
+__rte_packed_begin struct hwrm_func_vf_bw_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -26706,10 +26706,10 @@ struct hwrm_func_vf_bw_cfg_input {
 		(UINT32_C(0xf) << 12)
 	#define HWRM_FUNC_VF_BW_CFG_INPUT_VFN_RATE_LAST \
 		HWRM_FUNC_VF_BW_CFG_INPUT_VFN_RATE_PCT_100
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_vf_bw_cfg_output (size:128b/16B) */
-struct hwrm_func_vf_bw_cfg_output {
+__rte_packed_begin struct hwrm_func_vf_bw_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -26727,7 +26727,7 @@ struct hwrm_func_vf_bw_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_func_vf_bw_qcfg *
@@ -26735,7 +26735,7 @@ struct hwrm_func_vf_bw_cfg_output {
 
 
 /* hwrm_func_vf_bw_qcfg_input (size:960b/120B) */
-struct hwrm_func_vf_bw_qcfg_input {
+__rte_packed_begin struct hwrm_func_vf_bw_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -26776,10 +26776,10 @@ struct hwrm_func_vf_bw_qcfg_input {
 	/* The physical VF id of interest */
 	#define HWRM_FUNC_VF_BW_QCFG_INPUT_VFN_VFID_MASK UINT32_C(0xfff)
 	#define HWRM_FUNC_VF_BW_QCFG_INPUT_VFN_VFID_SFT 0
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_vf_bw_qcfg_output (size:960b/120B) */
-struct hwrm_func_vf_bw_qcfg_output {
+__rte_packed_begin struct hwrm_func_vf_bw_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -26865,7 +26865,7 @@ struct hwrm_func_vf_bw_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_func_drv_if_change *
@@ -26873,7 +26873,7 @@ struct hwrm_func_vf_bw_qcfg_output {
 
 
 /* hwrm_func_drv_if_change_input (size:192b/24B) */
-struct hwrm_func_drv_if_change_input {
+__rte_packed_begin struct hwrm_func_drv_if_change_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -26918,10 +26918,10 @@ struct hwrm_func_drv_if_change_input {
 	 */
 	#define HWRM_FUNC_DRV_IF_CHANGE_INPUT_FLAGS_UP     UINT32_C(0x1)
 	uint32_t	unused;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_drv_if_change_output (size:128b/16B) */
-struct hwrm_func_drv_if_change_output {
+__rte_packed_begin struct hwrm_func_drv_if_change_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -26965,7 +26965,7 @@ struct hwrm_func_drv_if_change_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_func_host_pf_ids_query *
@@ -26973,7 +26973,7 @@ struct hwrm_func_drv_if_change_output {
 
 
 /* hwrm_func_host_pf_ids_query_input (size:192b/24B) */
-struct hwrm_func_host_pf_ids_query_input {
+__rte_packed_begin struct hwrm_func_host_pf_ids_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -27051,10 +27051,10 @@ struct hwrm_func_host_pf_ids_query_input {
 	#define HWRM_FUNC_HOST_PF_IDS_QUERY_INPUT_FILTER_LAST \
 		HWRM_FUNC_HOST_PF_IDS_QUERY_INPUT_FILTER_ROCE
 	uint8_t	unused_1[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_host_pf_ids_query_output (size:128b/16B) */
-struct hwrm_func_host_pf_ids_query_output {
+__rte_packed_begin struct hwrm_func_host_pf_ids_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -27171,7 +27171,7 @@ struct hwrm_func_host_pf_ids_query_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_func_spd_cfg *
@@ -27179,7 +27179,7 @@ struct hwrm_func_host_pf_ids_query_output {
 
 
 /* hwrm_func_spd_cfg_input (size:384b/48B) */
-struct hwrm_func_spd_cfg_input {
+__rte_packed_begin struct hwrm_func_spd_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -27355,10 +27355,10 @@ struct hwrm_func_spd_cfg_input {
 	uint64_t	ring_grp_tbl_addr;
 	/* This is the address for rss hash key table */
 	uint64_t	hash_key_tbl_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_spd_cfg_output (size:128b/16B) */
-struct hwrm_func_spd_cfg_output {
+__rte_packed_begin struct hwrm_func_spd_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -27376,7 +27376,7 @@ struct hwrm_func_spd_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_func_spd_qcfg *
@@ -27384,7 +27384,7 @@ struct hwrm_func_spd_cfg_output {
 
 
 /* hwrm_func_spd_qcfg_input (size:128b/16B) */
-struct hwrm_func_spd_qcfg_input {
+__rte_packed_begin struct hwrm_func_spd_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -27413,10 +27413,10 @@ struct hwrm_func_spd_qcfg_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_func_spd_qcfg_output (size:512b/64B) */
-struct hwrm_func_spd_qcfg_output {
+__rte_packed_begin struct hwrm_func_spd_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -27539,7 +27539,7 @@ struct hwrm_func_spd_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_port_phy_cfg *
@@ -27547,7 +27547,7 @@ struct hwrm_func_spd_qcfg_output {
 
 
 /* hwrm_port_phy_cfg_input (size:512b/64B) */
-struct hwrm_port_phy_cfg_input {
+__rte_packed_begin struct hwrm_port_phy_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -28360,10 +28360,10 @@ struct hwrm_port_phy_cfg_input {
 	#define HWRM_PORT_PHY_CFG_INPUT_AUTO_LINK_SPEEDS2_MASK_800GB_PAM4_112 \
 		UINT32_C(0x2000)
 	uint8_t	unused_2[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_phy_cfg_output (size:128b/16B) */
-struct hwrm_port_phy_cfg_output {
+__rte_packed_begin struct hwrm_port_phy_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -28381,10 +28381,10 @@ struct hwrm_port_phy_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_phy_cfg_cmd_err (size:64b/8B) */
-struct hwrm_port_phy_cfg_cmd_err {
+__rte_packed_begin struct hwrm_port_phy_cfg_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -28410,7 +28410,7 @@ struct hwrm_port_phy_cfg_cmd_err {
 	#define HWRM_PORT_PHY_CFG_CMD_ERR_CODE_LAST \
 		HWRM_PORT_PHY_CFG_CMD_ERR_CODE_RETRY
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_port_phy_qcfg *
@@ -28418,7 +28418,7 @@ struct hwrm_port_phy_cfg_cmd_err {
 
 
 /* hwrm_port_phy_qcfg_input (size:192b/24B) */
-struct hwrm_port_phy_qcfg_input {
+__rte_packed_begin struct hwrm_port_phy_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -28450,10 +28450,10 @@ struct hwrm_port_phy_qcfg_input {
 	/* Port ID of port that is to be queried. */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_phy_qcfg_output (size:832b/104B) */
-struct hwrm_port_phy_qcfg_output {
+__rte_packed_begin struct hwrm_port_phy_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -29754,7 +29754,7 @@ struct hwrm_port_phy_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_port_mac_cfg *
@@ -29762,7 +29762,7 @@ struct hwrm_port_phy_qcfg_output {
 
 
 /* hwrm_port_mac_cfg_input (size:448b/56B) */
-struct hwrm_port_mac_cfg_input {
+__rte_packed_begin struct hwrm_port_mac_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -30209,10 +30209,10 @@ struct hwrm_port_mac_cfg_input {
 	 * nanoseconds.
 	 */
 	int64_t	ptp_adj_phase;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_mac_cfg_output (size:128b/16B) */
-struct hwrm_port_mac_cfg_output {
+__rte_packed_begin struct hwrm_port_mac_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -30263,7 +30263,7 @@ struct hwrm_port_mac_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_port_mac_qcfg *
@@ -30271,7 +30271,7 @@ struct hwrm_port_mac_cfg_output {
 
 
 /* hwrm_port_mac_qcfg_input (size:192b/24B) */
-struct hwrm_port_mac_qcfg_input {
+__rte_packed_begin struct hwrm_port_mac_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -30303,10 +30303,10 @@ struct hwrm_port_mac_qcfg_input {
 	/* Port ID of port that is to be configured. */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_mac_qcfg_output (size:256b/32B) */
-struct hwrm_port_mac_qcfg_output {
+__rte_packed_begin struct hwrm_port_mac_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -30586,7 +30586,7 @@ struct hwrm_port_mac_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_port_mac_ptp_qcfg *
@@ -30594,7 +30594,7 @@ struct hwrm_port_mac_qcfg_output {
 
 
 /* hwrm_port_mac_ptp_qcfg_input (size:192b/24B) */
-struct hwrm_port_mac_ptp_qcfg_input {
+__rte_packed_begin struct hwrm_port_mac_ptp_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -30626,10 +30626,10 @@ struct hwrm_port_mac_ptp_qcfg_input {
 	/* Port ID of port that is being queried. */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_mac_ptp_qcfg_output (size:704b/88B) */
-struct hwrm_port_mac_ptp_qcfg_output {
+__rte_packed_begin struct hwrm_port_mac_ptp_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -30736,11 +30736,11 @@ struct hwrm_port_mac_ptp_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Port Tx Statistics Format */
 /* tx_port_stats (size:3264b/408B) */
-struct tx_port_stats {
+__rte_packed_begin struct tx_port_stats {
 	/* Total Number of 64 Bytes frames transmitted */
 	uint64_t	tx_64b_frames;
 	/* Total Number of 65-127 Bytes frames transmitted */
@@ -30877,11 +30877,11 @@ struct tx_port_stats {
 	uint64_t	tx_stat_discard;
 	/* Total Tx Error Drops per Port reported by STATS block */
 	uint64_t	tx_stat_error;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Port Rx Statistics Format */
 /* rx_port_stats (size:4224b/528B) */
-struct rx_port_stats {
+__rte_packed_begin struct rx_port_stats {
 	/* Total Number of 64 Bytes frames received */
 	uint64_t	rx_64b_frames;
 	/* Total Number of 65-127 Bytes frames received */
@@ -31092,7 +31092,7 @@ struct rx_port_stats {
 	/* Total Rx Discards per Port reported by STATS block */
 	uint64_t	rx_stat_discard;
 	uint64_t	rx_stat_err;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************
  * hwrm_port_qstats *
@@ -31100,7 +31100,7 @@ struct rx_port_stats {
 
 
 /* hwrm_port_qstats_input (size:320b/40B) */
-struct hwrm_port_qstats_input {
+__rte_packed_begin struct hwrm_port_qstats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -31149,10 +31149,10 @@ struct hwrm_port_qstats_input {
 	 * Rx port statistics will be stored
 	 */
 	uint64_t	rx_stat_host_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_qstats_output (size:128b/16B) */
-struct hwrm_port_qstats_output {
+__rte_packed_begin struct hwrm_port_qstats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -31174,11 +31174,11 @@ struct hwrm_port_qstats_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Port Tx Statistics extended Format */
 /* tx_port_stats_ext (size:2048b/256B) */
-struct tx_port_stats_ext {
+__rte_packed_begin struct tx_port_stats_ext {
 	/* Total number of tx bytes count on cos queue 0 */
 	uint64_t	tx_bytes_cos0;
 	/* Total number of tx bytes count on cos queue 1 */
@@ -31291,11 +31291,11 @@ struct tx_port_stats_ext {
 	 * priority 7
 	 */
 	uint64_t	pfc_pri7_tx_transitions;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Port Rx Statistics extended Format */
 /* rx_port_stats_ext (size:3904b/488B) */
-struct rx_port_stats_ext {
+__rte_packed_begin struct rx_port_stats_ext {
 	/* Number of times link state changed to down */
 	uint64_t	link_down_events;
 	/* Number of times the idle rings with pause bit are found */
@@ -31487,7 +31487,7 @@ struct rx_port_stats_ext {
 	 * codeword gets corrected.
 	 */
 	uint64_t	rx_fec_symbol_err;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Port Rx Statistics extended PFC WatchDog Format.
@@ -31504,7 +31504,7 @@ struct rx_port_stats_ext {
  * hwrm_queue_pfc_enable_cfg call.
  */
 /* rx_port_stats_ext_pfc_wd (size:5120b/640B) */
-struct rx_port_stats_ext_pfc_wd {
+__rte_packed_begin struct rx_port_stats_ext_pfc_wd {
 	/*
 	 * Total number of PFC WatchDog StormDetect events detected
 	 * for Pri 0
@@ -31905,7 +31905,7 @@ struct rx_port_stats_ext_pfc_wd {
 	 *  for pri 7
 	 */
 	uint64_t	rx_pfc_watchdog_last_storm_rx_bytes_dropped_pri7;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_port_qstats_ext *
@@ -31913,7 +31913,7 @@ struct rx_port_stats_ext_pfc_wd {
 
 
 /* hwrm_port_qstats_ext_input (size:320b/40B) */
-struct hwrm_port_qstats_ext_input {
+__rte_packed_begin struct hwrm_port_qstats_ext_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -31972,10 +31972,10 @@ struct hwrm_port_qstats_ext_input {
 	 * Rx port statistics will be stored
 	 */
 	uint64_t	rx_stat_host_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_qstats_ext_output (size:128b/16B) */
-struct hwrm_port_qstats_ext_output {
+__rte_packed_begin struct hwrm_port_qstats_ext_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -32005,7 +32005,7 @@ struct hwrm_port_qstats_ext_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_port_qstats_ext_pfc_wd *
@@ -32013,7 +32013,7 @@ struct hwrm_port_qstats_ext_output {
 
 
 /* hwrm_port_qstats_ext_pfc_wd_input (size:256b/32B) */
-struct hwrm_port_qstats_ext_pfc_wd_input {
+__rte_packed_begin struct hwrm_port_qstats_ext_pfc_wd_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -32055,10 +32055,10 @@ struct hwrm_port_qstats_ext_pfc_wd_input {
 	 * rx_port_stats_ext_pfc_wd will be stored
 	 */
 	uint64_t	pfc_wd_stat_host_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_qstats_ext_pfc_wd_output (size:128b/16B) */
-struct hwrm_port_qstats_ext_pfc_wd_output {
+__rte_packed_begin struct hwrm_port_qstats_ext_pfc_wd_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -32081,7 +32081,7 @@ struct hwrm_port_qstats_ext_pfc_wd_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_port_lpbk_qstats *
@@ -32089,7 +32089,7 @@ struct hwrm_port_qstats_ext_pfc_wd_output {
 
 
 /* hwrm_port_lpbk_qstats_input (size:256b/32B) */
-struct hwrm_port_lpbk_qstats_input {
+__rte_packed_begin struct hwrm_port_lpbk_qstats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -32140,10 +32140,10 @@ struct hwrm_port_lpbk_qstats_input {
 	 * loopback statistics will be stored
 	 */
 	uint64_t	lpbk_stat_host_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_lpbk_qstats_output (size:128b/16B) */
-struct hwrm_port_lpbk_qstats_output {
+__rte_packed_begin struct hwrm_port_lpbk_qstats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -32169,11 +32169,11 @@ struct hwrm_port_lpbk_qstats_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Loopback Port Statistic Format */
 /* port_lpbk_stats (size:640b/80B) */
-struct port_lpbk_stats {
+__rte_packed_begin struct port_lpbk_stats {
 	/* Number of transmitted unicast frames */
 	uint64_t	lpbk_ucast_frames;
 	/* Number of transmitted multicast frames */
@@ -32194,7 +32194,7 @@ struct port_lpbk_stats {
 	uint64_t	lpbk_rx_discards;
 	/* Number of error dropped rx packets */
 	uint64_t	lpbk_rx_errors;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_port_ecn_qstats *
@@ -32202,7 +32202,7 @@ struct port_lpbk_stats {
 
 
 /* hwrm_port_ecn_qstats_input (size:256b/32B) */
-struct hwrm_port_ecn_qstats_input {
+__rte_packed_begin struct hwrm_port_ecn_qstats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -32254,10 +32254,10 @@ struct hwrm_port_ecn_qstats_input {
 	 * ECN port statistics will be stored
 	 */
 	uint64_t	ecn_stat_host_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_ecn_qstats_output (size:128b/16B) */
-struct hwrm_port_ecn_qstats_output {
+__rte_packed_begin struct hwrm_port_ecn_qstats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -32282,11 +32282,11 @@ struct hwrm_port_ecn_qstats_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* ECN mark statistics format */
 /* port_stats_ecn (size:512b/64B) */
-struct port_stats_ecn {
+__rte_packed_begin struct port_stats_ecn {
 	/*
 	 * Number of packets marked in CoS queue 0.
 	 * Or, if the driver requested counter masks, a mask to indicate the size
@@ -32335,7 +32335,7 @@ struct port_stats_ecn {
 	 * of the counter.
 	 */
 	uint64_t	mark_cnt_cos7;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_port_clr_stats *
@@ -32343,7 +32343,7 @@ struct port_stats_ecn {
 
 
 /* hwrm_port_clr_stats_input (size:192b/24B) */
-struct hwrm_port_clr_stats_input {
+__rte_packed_begin struct hwrm_port_clr_stats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -32387,10 +32387,10 @@ struct hwrm_port_clr_stats_input {
 	 */
 	#define HWRM_PORT_CLR_STATS_INPUT_FLAGS_ROCE_COUNTERS     UINT32_C(0x1)
 	uint8_t	unused_0[5];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_clr_stats_output (size:128b/16B) */
-struct hwrm_port_clr_stats_output {
+__rte_packed_begin struct hwrm_port_clr_stats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -32408,7 +32408,7 @@ struct hwrm_port_clr_stats_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_port_lpbk_clr_stats *
@@ -32416,7 +32416,7 @@ struct hwrm_port_clr_stats_output {
 
 
 /* hwrm_port_lpbk_clr_stats_input (size:192b/24B) */
-struct hwrm_port_lpbk_clr_stats_input {
+__rte_packed_begin struct hwrm_port_lpbk_clr_stats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -32448,10 +32448,10 @@ struct hwrm_port_lpbk_clr_stats_input {
 	/* Port ID of port that is to be queried. */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_lpbk_clr_stats_output (size:128b/16B) */
-struct hwrm_port_lpbk_clr_stats_output {
+__rte_packed_begin struct hwrm_port_lpbk_clr_stats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -32469,7 +32469,7 @@ struct hwrm_port_lpbk_clr_stats_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_port_phy_qcaps *
@@ -32477,7 +32477,7 @@ struct hwrm_port_lpbk_clr_stats_output {
 
 
 /* hwrm_port_phy_qcaps_input (size:192b/24B) */
-struct hwrm_port_phy_qcaps_input {
+__rte_packed_begin struct hwrm_port_phy_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -32509,10 +32509,10 @@ struct hwrm_port_phy_qcaps_input {
 	/* Port ID of port that is being queried. */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_phy_qcaps_output (size:320b/40B) */
-struct hwrm_port_phy_qcaps_output {
+__rte_packed_begin struct hwrm_port_phy_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -32926,7 +32926,7 @@ struct hwrm_port_phy_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_port_phy_mdio_write *
@@ -32934,7 +32934,7 @@ struct hwrm_port_phy_qcaps_output {
 
 
 /* hwrm_port_phy_mdio_write_input (size:320b/40B) */
-struct hwrm_port_phy_mdio_write_input {
+__rte_packed_begin struct hwrm_port_phy_mdio_write_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -32982,10 +32982,10 @@ struct hwrm_port_phy_mdio_write_input {
 	uint8_t	cl45_mdio;
 	/*  */
 	uint8_t	unused_1[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_phy_mdio_write_output (size:128b/16B) */
-struct hwrm_port_phy_mdio_write_output {
+__rte_packed_begin struct hwrm_port_phy_mdio_write_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -33003,7 +33003,7 @@ struct hwrm_port_phy_mdio_write_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_port_phy_mdio_read *
@@ -33011,7 +33011,7 @@ struct hwrm_port_phy_mdio_write_output {
 
 
 /* hwrm_port_phy_mdio_read_input (size:256b/32B) */
-struct hwrm_port_phy_mdio_read_input {
+__rte_packed_begin struct hwrm_port_phy_mdio_read_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -33057,10 +33057,10 @@ struct hwrm_port_phy_mdio_read_input {
 	uint8_t	cl45_mdio;
 	/*  */
 	uint8_t	unused_1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_phy_mdio_read_output (size:128b/16B) */
-struct hwrm_port_phy_mdio_read_output {
+__rte_packed_begin struct hwrm_port_phy_mdio_read_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -33080,7 +33080,7 @@ struct hwrm_port_phy_mdio_read_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_port_led_cfg *
@@ -33088,7 +33088,7 @@ struct hwrm_port_phy_mdio_read_output {
 
 
 /* hwrm_port_led_cfg_input (size:512b/64B) */
-struct hwrm_port_led_cfg_input {
+__rte_packed_begin struct hwrm_port_led_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -33483,10 +33483,10 @@ struct hwrm_port_led_cfg_input {
 	uint8_t	led3_group_id;
 	/* Reserved field. */
 	uint8_t	rsvd3;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_led_cfg_output (size:128b/16B) */
-struct hwrm_port_led_cfg_output {
+__rte_packed_begin struct hwrm_port_led_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -33504,7 +33504,7 @@ struct hwrm_port_led_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_port_led_qcfg *
@@ -33512,7 +33512,7 @@ struct hwrm_port_led_cfg_output {
 
 
 /* hwrm_port_led_qcfg_input (size:192b/24B) */
-struct hwrm_port_led_qcfg_input {
+__rte_packed_begin struct hwrm_port_led_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -33544,10 +33544,10 @@ struct hwrm_port_led_qcfg_input {
 	/* Port ID of port whose LED configuration is being queried. */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_led_qcfg_output (size:448b/56B) */
-struct hwrm_port_led_qcfg_output {
+__rte_packed_begin struct hwrm_port_led_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -33810,7 +33810,7 @@ struct hwrm_port_led_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_port_led_qcaps *
@@ -33818,7 +33818,7 @@ struct hwrm_port_led_qcfg_output {
 
 
 /* hwrm_port_led_qcaps_input (size:192b/24B) */
-struct hwrm_port_led_qcaps_input {
+__rte_packed_begin struct hwrm_port_led_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -33850,10 +33850,10 @@ struct hwrm_port_led_qcaps_input {
 	/* Port ID of port whose LED configuration is being queried. */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_led_qcaps_output (size:384b/48B) */
-struct hwrm_port_led_qcaps_output {
+__rte_packed_begin struct hwrm_port_led_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -34162,7 +34162,7 @@ struct hwrm_port_led_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_port_prbs_test *
@@ -34170,7 +34170,7 @@ struct hwrm_port_led_qcaps_output {
 
 
 /* hwrm_port_prbs_test_input (size:384b/48B) */
-struct hwrm_port_prbs_test_input {
+__rte_packed_begin struct hwrm_port_prbs_test_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -34293,10 +34293,10 @@ struct hwrm_port_prbs_test_input {
 	 * bit1 = lane1 ..bit31 = lane31
 	 */
 	uint32_t	rx_lane_map;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_prbs_test_output (size:128b/16B) */
-struct hwrm_port_prbs_test_output {
+__rte_packed_begin struct hwrm_port_prbs_test_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -34325,7 +34325,7 @@ struct hwrm_port_prbs_test_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_port_dsc_dump *
@@ -34333,7 +34333,7 @@ struct hwrm_port_prbs_test_output {
 
 
 /* hwrm_port_dsc_dump_input (size:320b/40B) */
-struct hwrm_port_dsc_dump_input {
+__rte_packed_begin struct hwrm_port_dsc_dump_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -34470,10 +34470,10 @@ struct hwrm_port_dsc_dump_input {
 	 */
 	#define HWRM_PORT_DSC_DUMP_INPUT_DSC_DUMP_CONFIG_DEFER_CLOSE \
 		UINT32_C(0x4)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_dsc_dump_output (size:128b/16B) */
-struct hwrm_port_dsc_dump_output {
+__rte_packed_begin struct hwrm_port_dsc_dump_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -34528,7 +34528,7 @@ struct hwrm_port_dsc_dump_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_port_sfp_sideband_cfg *
@@ -34536,7 +34536,7 @@ struct hwrm_port_dsc_dump_output {
 
 
 /* hwrm_port_sfp_sideband_cfg_input (size:256b/32B) */
-struct hwrm_port_sfp_sideband_cfg_input {
+__rte_packed_begin struct hwrm_port_sfp_sideband_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -34648,10 +34648,10 @@ struct hwrm_port_sfp_sideband_cfg_input {
 	/* When this bit is set to '1', the module will be powered down. */
 	#define HWRM_PORT_SFP_SIDEBAND_CFG_INPUT_FLAGS_PWR_DIS \
 		UINT32_C(0x40)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_sfp_sideband_cfg_output (size:128b/16B) */
-struct hwrm_port_sfp_sideband_cfg_output {
+__rte_packed_begin struct hwrm_port_sfp_sideband_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -34669,7 +34669,7 @@ struct hwrm_port_sfp_sideband_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_port_sfp_sideband_qcfg *
@@ -34677,7 +34677,7 @@ struct hwrm_port_sfp_sideband_cfg_output {
 
 
 /* hwrm_port_sfp_sideband_qcfg_input (size:192b/24B) */
-struct hwrm_port_sfp_sideband_qcfg_input {
+__rte_packed_begin struct hwrm_port_sfp_sideband_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -34709,10 +34709,10 @@ struct hwrm_port_sfp_sideband_qcfg_input {
 	/* Port ID of port that is to be queried. */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_sfp_sideband_qcfg_output (size:192b/24B) */
-struct hwrm_port_sfp_sideband_qcfg_output {
+__rte_packed_begin struct hwrm_port_sfp_sideband_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -34792,7 +34792,7 @@ struct hwrm_port_sfp_sideband_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************************
  * hwrm_port_phy_mdio_bus_acquire *
@@ -34800,7 +34800,7 @@ struct hwrm_port_sfp_sideband_qcfg_output {
 
 
 /* hwrm_port_phy_mdio_bus_acquire_input (size:192b/24B) */
-struct hwrm_port_phy_mdio_bus_acquire_input {
+__rte_packed_begin struct hwrm_port_phy_mdio_bus_acquire_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -34847,10 +34847,10 @@ struct hwrm_port_phy_mdio_bus_acquire_input {
 	 */
 	uint16_t	mdio_bus_timeout;
 	uint8_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_phy_mdio_bus_acquire_output (size:128b/16B) */
-struct hwrm_port_phy_mdio_bus_acquire_output {
+__rte_packed_begin struct hwrm_port_phy_mdio_bus_acquire_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -34874,7 +34874,7 @@ struct hwrm_port_phy_mdio_bus_acquire_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************************
  * hwrm_port_phy_mdio_bus_release *
@@ -34882,7 +34882,7 @@ struct hwrm_port_phy_mdio_bus_acquire_output {
 
 
 /* hwrm_port_phy_mdio_bus_release_input (size:192b/24B) */
-struct hwrm_port_phy_mdio_bus_release_input {
+__rte_packed_begin struct hwrm_port_phy_mdio_bus_release_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -34919,10 +34919,10 @@ struct hwrm_port_phy_mdio_bus_release_input {
 	 */
 	uint16_t	client_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_phy_mdio_bus_release_output (size:128b/16B) */
-struct hwrm_port_phy_mdio_bus_release_output {
+__rte_packed_begin struct hwrm_port_phy_mdio_bus_release_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -34943,7 +34943,7 @@ struct hwrm_port_phy_mdio_bus_release_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_port_tx_fir_cfg *
@@ -34951,7 +34951,7 @@ struct hwrm_port_phy_mdio_bus_release_output {
 
 
 /* hwrm_port_tx_fir_cfg_input (size:320b/40B) */
-struct hwrm_port_tx_fir_cfg_input {
+__rte_packed_begin struct hwrm_port_tx_fir_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -35010,10 +35010,10 @@ struct hwrm_port_tx_fir_cfg_input {
 	/* Value4 of TX FIR, required for PAM4. */
 	uint32_t	txfir_val_4;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_tx_fir_cfg_output (size:128b/16B) */
-struct hwrm_port_tx_fir_cfg_output {
+__rte_packed_begin struct hwrm_port_tx_fir_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -35031,7 +35031,7 @@ struct hwrm_port_tx_fir_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_port_tx_fir_qcfg *
@@ -35039,7 +35039,7 @@ struct hwrm_port_tx_fir_cfg_output {
 
 
 /* hwrm_port_tx_fir_qcfg_input (size:192b/24B) */
-struct hwrm_port_tx_fir_qcfg_input {
+__rte_packed_begin struct hwrm_port_tx_fir_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -35089,10 +35089,10 @@ struct hwrm_port_tx_fir_qcfg_input {
 	/* The ID of the lane TX FIR will be queried. */
 	uint8_t	lane_id;
 	uint8_t	unused[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_tx_fir_qcfg_output (size:256b/32B) */
-struct hwrm_port_tx_fir_qcfg_output {
+__rte_packed_begin struct hwrm_port_tx_fir_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -35118,7 +35118,7 @@ struct hwrm_port_tx_fir_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_port_ep_tx_cfg *
@@ -35126,7 +35126,7 @@ struct hwrm_port_tx_fir_qcfg_output {
 
 
 /* hwrm_port_ep_tx_cfg_input (size:256b/32B) */
-struct hwrm_port_ep_tx_cfg_input {
+__rte_packed_begin struct hwrm_port_ep_tx_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -35240,10 +35240,10 @@ struct hwrm_port_ep_tx_cfg_input {
 	 */
 	uint8_t	ep3_max_bw;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_ep_tx_cfg_output (size:128b/16B) */
-struct hwrm_port_ep_tx_cfg_output {
+__rte_packed_begin struct hwrm_port_ep_tx_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -35262,10 +35262,10 @@ struct hwrm_port_ep_tx_cfg_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_ep_tx_cfg_cmd_err (size:64b/8B) */
-struct hwrm_port_ep_tx_cfg_cmd_err {
+__rte_packed_begin struct hwrm_port_ep_tx_cfg_cmd_err {
 	/*
 	 * command specific error codes for the cmd_err field in
 	 * hwrm_err_output
@@ -35301,7 +35301,7 @@ struct hwrm_port_ep_tx_cfg_cmd_err {
 	#define HWRM_PORT_EP_TX_CFG_CMD_ERR_CODE_LAST \
 		HWRM_PORT_EP_TX_CFG_CMD_ERR_CODE_MIN_BW_UNSUPPORTED
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_port_ep_tx_qcfg *
@@ -35309,7 +35309,7 @@ struct hwrm_port_ep_tx_cfg_cmd_err {
 
 
 /* hwrm_port_ep_tx_qcfg_input (size:192b/24B) */
-struct hwrm_port_ep_tx_qcfg_input {
+__rte_packed_begin struct hwrm_port_ep_tx_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -35341,10 +35341,10 @@ struct hwrm_port_ep_tx_qcfg_input {
 	/* The port whose endpoint rate limits are queried. */
 	uint8_t	port_id;
 	uint8_t	unused[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_ep_tx_qcfg_output (size:192b/24B) */
-struct hwrm_port_ep_tx_qcfg_output {
+__rte_packed_begin struct hwrm_port_ep_tx_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -35427,7 +35427,7 @@ struct hwrm_port_ep_tx_qcfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************
  * hwrm_port_cfg *
@@ -35435,7 +35435,7 @@ struct hwrm_port_ep_tx_qcfg_output {
 
 
 /* hwrm_port_cfg_input (size:256b/32B) */
-struct hwrm_port_cfg_input {
+__rte_packed_begin struct hwrm_port_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -35481,10 +35481,10 @@ struct hwrm_port_cfg_input {
 	 * field is '1'.
 	 */
 	uint32_t	tx_rate_limit;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_cfg_output (size:128b/16B) */
-struct hwrm_port_cfg_output {
+__rte_packed_begin struct hwrm_port_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -35502,7 +35502,7 @@ struct hwrm_port_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_port_qcfg *
@@ -35510,7 +35510,7 @@ struct hwrm_port_cfg_output {
 
 
 /* hwrm_port_qcfg_input (size:192b/24B) */
-struct hwrm_port_qcfg_input {
+__rte_packed_begin struct hwrm_port_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -35542,10 +35542,10 @@ struct hwrm_port_qcfg_input {
 	/* Port ID of port that is to be queried. */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_qcfg_output (size:192b/24B) */
-struct hwrm_port_qcfg_output {
+__rte_packed_begin struct hwrm_port_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -35581,7 +35581,7 @@ struct hwrm_port_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_port_mac_qcaps *
@@ -35589,7 +35589,7 @@ struct hwrm_port_qcfg_output {
 
 
 /* hwrm_port_mac_qcaps_input (size:192b/24B) */
-struct hwrm_port_mac_qcaps_input {
+__rte_packed_begin struct hwrm_port_mac_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -35621,10 +35621,10 @@ struct hwrm_port_mac_qcaps_input {
 	/* Port ID of port that is being queried. */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_mac_qcaps_output (size:128b/16B) */
-struct hwrm_port_mac_qcaps_output {
+__rte_packed_begin struct hwrm_port_mac_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -35656,7 +35656,7 @@ struct hwrm_port_mac_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_queue_qportcfg *
@@ -35664,7 +35664,7 @@ struct hwrm_port_mac_qcaps_output {
 
 
 /* hwrm_queue_qportcfg_input (size:192b/24B) */
-struct hwrm_queue_qportcfg_input {
+__rte_packed_begin struct hwrm_queue_qportcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -35723,10 +35723,10 @@ struct hwrm_queue_qportcfg_input {
 	#define HWRM_QUEUE_QPORTCFG_INPUT_DRV_QMAP_CAP_LAST \
 		HWRM_QUEUE_QPORTCFG_INPUT_DRV_QMAP_CAP_ENABLED
 	uint8_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_qportcfg_output (size:1344b/168B) */
-struct hwrm_queue_qportcfg_output {
+__rte_packed_begin struct hwrm_queue_qportcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -36280,7 +36280,7 @@ struct hwrm_queue_qportcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_queue_qcfg *
@@ -36288,7 +36288,7 @@ struct hwrm_queue_qportcfg_output {
 
 
 /* hwrm_queue_qcfg_input (size:192b/24B) */
-struct hwrm_queue_qcfg_input {
+__rte_packed_begin struct hwrm_queue_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -36332,10 +36332,10 @@ struct hwrm_queue_qcfg_input {
 		HWRM_QUEUE_QCFG_INPUT_FLAGS_PATH_RX
 	/* Queue ID of the queue. */
 	uint32_t	queue_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_qcfg_output (size:128b/16B) */
-struct hwrm_queue_qcfg_output {
+__rte_packed_begin struct hwrm_queue_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -36378,7 +36378,7 @@ struct hwrm_queue_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_queue_cfg *
@@ -36386,7 +36386,7 @@ struct hwrm_queue_qcfg_output {
 
 
 /* hwrm_queue_cfg_input (size:320b/40B) */
-struct hwrm_queue_cfg_input {
+__rte_packed_begin struct hwrm_queue_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -36461,10 +36461,10 @@ struct hwrm_queue_cfg_input {
 	#define HWRM_QUEUE_CFG_INPUT_SERVICE_PROFILE_LAST \
 		HWRM_QUEUE_CFG_INPUT_SERVICE_PROFILE_UNKNOWN
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_cfg_output (size:128b/16B) */
-struct hwrm_queue_cfg_output {
+__rte_packed_begin struct hwrm_queue_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -36482,7 +36482,7 @@ struct hwrm_queue_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_queue_pfcenable_qcfg *
@@ -36490,7 +36490,7 @@ struct hwrm_queue_cfg_output {
 
 
 /* hwrm_queue_pfcenable_qcfg_input (size:192b/24B) */
-struct hwrm_queue_pfcenable_qcfg_input {
+__rte_packed_begin struct hwrm_queue_pfcenable_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -36526,10 +36526,10 @@ struct hwrm_queue_pfcenable_qcfg_input {
 	 */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_pfcenable_qcfg_output (size:128b/16B) */
-struct hwrm_queue_pfcenable_qcfg_output {
+__rte_packed_begin struct hwrm_queue_pfcenable_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -36596,7 +36596,7 @@ struct hwrm_queue_pfcenable_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_queue_pfcenable_cfg *
@@ -36604,7 +36604,7 @@ struct hwrm_queue_pfcenable_qcfg_output {
 
 
 /* hwrm_queue_pfcenable_cfg_input (size:192b/24B) */
-struct hwrm_queue_pfcenable_cfg_input {
+__rte_packed_begin struct hwrm_queue_pfcenable_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -36689,10 +36689,10 @@ struct hwrm_queue_pfcenable_cfg_input {
 	 */
 	uint16_t	port_id;
 	uint8_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_pfcenable_cfg_output (size:128b/16B) */
-struct hwrm_queue_pfcenable_cfg_output {
+__rte_packed_begin struct hwrm_queue_pfcenable_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -36710,7 +36710,7 @@ struct hwrm_queue_pfcenable_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_queue_pri2cos_qcfg *
@@ -36718,7 +36718,7 @@ struct hwrm_queue_pfcenable_cfg_output {
 
 
 /* hwrm_queue_pri2cos_qcfg_input (size:192b/24B) */
-struct hwrm_queue_pri2cos_qcfg_input {
+__rte_packed_begin struct hwrm_queue_pri2cos_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -36774,10 +36774,10 @@ struct hwrm_queue_pri2cos_qcfg_input {
 	 */
 	uint8_t	port_id;
 	uint8_t	unused_0[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_pri2cos_qcfg_output (size:192b/24B) */
-struct hwrm_queue_pri2cos_qcfg_output {
+__rte_packed_begin struct hwrm_queue_pri2cos_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -36861,7 +36861,7 @@ struct hwrm_queue_pri2cos_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_queue_pri2cos_cfg *
@@ -36869,7 +36869,7 @@ struct hwrm_queue_pri2cos_qcfg_output {
 
 
 /* hwrm_queue_pri2cos_cfg_input (size:320b/40B) */
-struct hwrm_queue_pri2cos_cfg_input {
+__rte_packed_begin struct hwrm_queue_pri2cos_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -37017,10 +37017,10 @@ struct hwrm_queue_pri2cos_cfg_input {
 	 */
 	uint8_t	pri7_cos_queue_id;
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_pri2cos_cfg_output (size:128b/16B) */
-struct hwrm_queue_pri2cos_cfg_output {
+__rte_packed_begin struct hwrm_queue_pri2cos_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -37038,7 +37038,7 @@ struct hwrm_queue_pri2cos_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_queue_cos2bw_qcfg *
@@ -37046,7 +37046,7 @@ struct hwrm_queue_pri2cos_cfg_output {
 
 
 /* hwrm_queue_cos2bw_qcfg_input (size:192b/24B) */
-struct hwrm_queue_cos2bw_qcfg_input {
+__rte_packed_begin struct hwrm_queue_cos2bw_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -37082,10 +37082,10 @@ struct hwrm_queue_cos2bw_qcfg_input {
 	 */
 	uint16_t	port_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_cos2bw_qcfg_output (size:896b/112B) */
-struct hwrm_queue_cos2bw_qcfg_output {
+__rte_packed_begin struct hwrm_queue_cos2bw_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -38081,7 +38081,7 @@ struct hwrm_queue_cos2bw_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_queue_cos2bw_cfg *
@@ -38089,7 +38089,7 @@ struct hwrm_queue_cos2bw_qcfg_output {
 
 
 /* hwrm_queue_cos2bw_cfg_input (size:1024b/128B) */
-struct hwrm_queue_cos2bw_cfg_input {
+__rte_packed_begin struct hwrm_queue_cos2bw_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -39152,10 +39152,10 @@ struct hwrm_queue_cos2bw_cfg_input {
 	 */
 	uint8_t	queue_id7_bw_weight;
 	uint8_t	unused_1[5];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_cos2bw_cfg_output (size:128b/16B) */
-struct hwrm_queue_cos2bw_cfg_output {
+__rte_packed_begin struct hwrm_queue_cos2bw_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -39173,7 +39173,7 @@ struct hwrm_queue_cos2bw_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_queue_dscp_qcaps *
@@ -39181,7 +39181,7 @@ struct hwrm_queue_cos2bw_cfg_output {
 
 
 /* hwrm_queue_dscp_qcaps_input (size:192b/24B) */
-struct hwrm_queue_dscp_qcaps_input {
+__rte_packed_begin struct hwrm_queue_dscp_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -39217,10 +39217,10 @@ struct hwrm_queue_dscp_qcaps_input {
 	 */
 	uint8_t	port_id;
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_dscp_qcaps_output (size:128b/16B) */
-struct hwrm_queue_dscp_qcaps_output {
+__rte_packed_begin struct hwrm_queue_dscp_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -39243,7 +39243,7 @@ struct hwrm_queue_dscp_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_queue_dscp2pri_qcfg *
@@ -39251,7 +39251,7 @@ struct hwrm_queue_dscp_qcaps_output {
 
 
 /* hwrm_queue_dscp2pri_qcfg_input (size:256b/32B) */
-struct hwrm_queue_dscp2pri_qcfg_input {
+__rte_packed_begin struct hwrm_queue_dscp2pri_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -39295,10 +39295,10 @@ struct hwrm_queue_dscp2pri_qcfg_input {
 	/* Size of the buffer pointed to by dest_data_addr. */
 	uint16_t	dest_data_buffer_size;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_dscp2pri_qcfg_output (size:128b/16B) */
-struct hwrm_queue_dscp2pri_qcfg_output {
+__rte_packed_begin struct hwrm_queue_dscp2pri_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -39326,7 +39326,7 @@ struct hwrm_queue_dscp2pri_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_queue_dscp2pri_cfg *
@@ -39334,7 +39334,7 @@ struct hwrm_queue_dscp2pri_qcfg_output {
 
 
 /* hwrm_queue_dscp2pri_cfg_input (size:320b/40B) */
-struct hwrm_queue_dscp2pri_cfg_input {
+__rte_packed_begin struct hwrm_queue_dscp2pri_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -39400,10 +39400,10 @@ struct hwrm_queue_dscp2pri_cfg_input {
 	 */
 	uint16_t	entry_cnt;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_dscp2pri_cfg_output (size:128b/16B) */
-struct hwrm_queue_dscp2pri_cfg_output {
+__rte_packed_begin struct hwrm_queue_dscp2pri_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -39421,7 +39421,7 @@ struct hwrm_queue_dscp2pri_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_queue_mpls_qcaps *
@@ -39429,7 +39429,7 @@ struct hwrm_queue_dscp2pri_cfg_output {
 
 
 /* hwrm_queue_mpls_qcaps_input (size:192b/24B) */
-struct hwrm_queue_mpls_qcaps_input {
+__rte_packed_begin struct hwrm_queue_mpls_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -39465,10 +39465,10 @@ struct hwrm_queue_mpls_qcaps_input {
 	 */
 	uint8_t	port_id;
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_mpls_qcaps_output (size:128b/16B) */
-struct hwrm_queue_mpls_qcaps_output {
+__rte_packed_begin struct hwrm_queue_mpls_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -39504,7 +39504,7 @@ struct hwrm_queue_mpls_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_queue_mplstc2pri_qcfg *
@@ -39512,7 +39512,7 @@ struct hwrm_queue_mpls_qcaps_output {
 
 
 /* hwrm_queue_mplstc2pri_qcfg_input (size:192b/24B) */
-struct hwrm_queue_mplstc2pri_qcfg_input {
+__rte_packed_begin struct hwrm_queue_mplstc2pri_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -39548,10 +39548,10 @@ struct hwrm_queue_mplstc2pri_qcfg_input {
 	 */
 	uint8_t	port_id;
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_mplstc2pri_qcfg_output (size:192b/24B) */
-struct hwrm_queue_mplstc2pri_qcfg_output {
+__rte_packed_begin struct hwrm_queue_mplstc2pri_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -39625,7 +39625,7 @@ struct hwrm_queue_mplstc2pri_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_queue_mplstc2pri_cfg *
@@ -39633,7 +39633,7 @@ struct hwrm_queue_mplstc2pri_qcfg_output {
 
 
 /* hwrm_queue_mplstc2pri_cfg_input (size:256b/32B) */
-struct hwrm_queue_mplstc2pri_cfg_input {
+__rte_packed_begin struct hwrm_queue_mplstc2pri_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -39758,10 +39758,10 @@ struct hwrm_queue_mplstc2pri_cfg_input {
 	 * be changed before traffic has started.
 	 */
 	uint8_t	tc7_pri_queue_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_mplstc2pri_cfg_output (size:128b/16B) */
-struct hwrm_queue_mplstc2pri_cfg_output {
+__rte_packed_begin struct hwrm_queue_mplstc2pri_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -39779,7 +39779,7 @@ struct hwrm_queue_mplstc2pri_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_queue_vlanpri_qcaps *
@@ -39787,7 +39787,7 @@ struct hwrm_queue_mplstc2pri_cfg_output {
 
 
 /* hwrm_queue_vlanpri_qcaps_input (size:192b/24B) */
-struct hwrm_queue_vlanpri_qcaps_input {
+__rte_packed_begin struct hwrm_queue_vlanpri_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -39823,10 +39823,10 @@ struct hwrm_queue_vlanpri_qcaps_input {
 	 */
 	uint8_t	port_id;
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_vlanpri_qcaps_output (size:128b/16B) */
-struct hwrm_queue_vlanpri_qcaps_output {
+__rte_packed_begin struct hwrm_queue_vlanpri_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -39849,7 +39849,7 @@ struct hwrm_queue_vlanpri_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_queue_vlanpri2pri_qcfg *
@@ -39857,7 +39857,7 @@ struct hwrm_queue_vlanpri_qcaps_output {
 
 
 /* hwrm_queue_vlanpri2pri_qcfg_input (size:192b/24B) */
-struct hwrm_queue_vlanpri2pri_qcfg_input {
+__rte_packed_begin struct hwrm_queue_vlanpri2pri_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -39893,10 +39893,10 @@ struct hwrm_queue_vlanpri2pri_qcfg_input {
 	 */
 	uint8_t	port_id;
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_vlanpri2pri_qcfg_output (size:192b/24B) */
-struct hwrm_queue_vlanpri2pri_qcfg_output {
+__rte_packed_begin struct hwrm_queue_vlanpri2pri_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -39962,7 +39962,7 @@ struct hwrm_queue_vlanpri2pri_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_queue_vlanpri2pri_cfg *
@@ -39970,7 +39970,7 @@ struct hwrm_queue_vlanpri2pri_qcfg_output {
 
 
 /* hwrm_queue_vlanpri2pri_cfg_input (size:256b/32B) */
-struct hwrm_queue_vlanpri2pri_cfg_input {
+__rte_packed_begin struct hwrm_queue_vlanpri2pri_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -40095,10 +40095,10 @@ struct hwrm_queue_vlanpri2pri_cfg_input {
 	 * be changed before traffic has started.
 	 */
 	uint8_t	vlanpri7_user_pri_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_vlanpri2pri_cfg_output (size:128b/16B) */
-struct hwrm_queue_vlanpri2pri_cfg_output {
+__rte_packed_begin struct hwrm_queue_vlanpri2pri_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -40116,7 +40116,7 @@ struct hwrm_queue_vlanpri2pri_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_queue_global_cfg *
@@ -40124,7 +40124,7 @@ struct hwrm_queue_vlanpri2pri_cfg_output {
 
 
 /* hwrm_queue_global_cfg_input (size:192b/24B) */
-struct hwrm_queue_global_cfg_input {
+__rte_packed_begin struct hwrm_queue_global_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -40227,10 +40227,10 @@ struct hwrm_queue_global_cfg_input {
 	 * indicates no rate limit.
 	 */
 	uint8_t	g3_max_bw;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_global_cfg_output (size:128b/16B) */
-struct hwrm_queue_global_cfg_output {
+__rte_packed_begin struct hwrm_queue_global_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -40248,7 +40248,7 @@ struct hwrm_queue_global_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_queue_global_qcfg *
@@ -40256,7 +40256,7 @@ struct hwrm_queue_global_cfg_output {
 
 
 /* hwrm_queue_global_qcfg_input (size:128b/16B) */
-struct hwrm_queue_global_qcfg_input {
+__rte_packed_begin struct hwrm_queue_global_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -40285,10 +40285,10 @@ struct hwrm_queue_global_qcfg_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_global_qcfg_output (size:320b/40B) */
-struct hwrm_queue_global_qcfg_output {
+__rte_packed_begin struct hwrm_queue_global_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -40394,7 +40394,7 @@ struct hwrm_queue_global_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************************
  * hwrm_queue_adptv_qos_rx_feature_qcfg *
@@ -40402,7 +40402,7 @@ struct hwrm_queue_global_qcfg_output {
 
 
 /* hwrm_queue_adptv_qos_rx_feature_qcfg_input (size:128b/16B) */
-struct hwrm_queue_adptv_qos_rx_feature_qcfg_input {
+__rte_packed_begin struct hwrm_queue_adptv_qos_rx_feature_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -40431,10 +40431,10 @@ struct hwrm_queue_adptv_qos_rx_feature_qcfg_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_adptv_qos_rx_feature_qcfg_output (size:128b/16B) */
-struct hwrm_queue_adptv_qos_rx_feature_qcfg_output {
+__rte_packed_begin struct hwrm_queue_adptv_qos_rx_feature_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -40646,7 +40646,7 @@ struct hwrm_queue_adptv_qos_rx_feature_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************************
  * hwrm_queue_adptv_qos_rx_feature_cfg *
@@ -40654,7 +40654,7 @@ struct hwrm_queue_adptv_qos_rx_feature_qcfg_output {
 
 
 /* hwrm_queue_adptv_qos_rx_feature_cfg_input (size:192b/24B) */
-struct hwrm_queue_adptv_qos_rx_feature_cfg_input {
+__rte_packed_begin struct hwrm_queue_adptv_qos_rx_feature_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -40885,10 +40885,10 @@ struct hwrm_queue_adptv_qos_rx_feature_cfg_input {
 	#define HWRM_QUEUE_ADPTV_QOS_RX_FEATURE_CFG_INPUT_QUEUE_MODE_QID7_MODE_LAST \
 		HWRM_QUEUE_ADPTV_QOS_RX_FEATURE_CFG_INPUT_QUEUE_MODE_QID7_MODE_LOSSLESS
 	uint8_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_adptv_qos_rx_feature_cfg_output (size:128b/16B) */
-struct hwrm_queue_adptv_qos_rx_feature_cfg_output {
+__rte_packed_begin struct hwrm_queue_adptv_qos_rx_feature_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -40906,7 +40906,7 @@ struct hwrm_queue_adptv_qos_rx_feature_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************************
  * hwrm_queue_adptv_qos_tx_feature_qcfg *
@@ -40914,7 +40914,7 @@ struct hwrm_queue_adptv_qos_rx_feature_cfg_output {
 
 
 /* hwrm_queue_adptv_qos_tx_feature_qcfg_input (size:128b/16B) */
-struct hwrm_queue_adptv_qos_tx_feature_qcfg_input {
+__rte_packed_begin struct hwrm_queue_adptv_qos_tx_feature_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -40943,10 +40943,10 @@ struct hwrm_queue_adptv_qos_tx_feature_qcfg_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_adptv_qos_tx_feature_qcfg_output (size:128b/16B) */
-struct hwrm_queue_adptv_qos_tx_feature_qcfg_output {
+__rte_packed_begin struct hwrm_queue_adptv_qos_tx_feature_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -41061,7 +41061,7 @@ struct hwrm_queue_adptv_qos_tx_feature_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************************
  * hwrm_queue_adptv_qos_tx_feature_cfg *
@@ -41069,7 +41069,7 @@ struct hwrm_queue_adptv_qos_tx_feature_qcfg_output {
 
 
 /* hwrm_queue_adptv_qos_tx_feature_cfg_input (size:192b/24B) */
-struct hwrm_queue_adptv_qos_tx_feature_cfg_input {
+__rte_packed_begin struct hwrm_queue_adptv_qos_tx_feature_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -41200,10 +41200,10 @@ struct hwrm_queue_adptv_qos_tx_feature_cfg_input {
 	#define HWRM_QUEUE_ADPTV_QOS_TX_FEATURE_CFG_INPUT_QUEUE_ENABLE_QID7_ENABLE_LAST \
 		HWRM_QUEUE_ADPTV_QOS_TX_FEATURE_CFG_INPUT_QUEUE_ENABLE_QID7_ENABLE_ENABLED
 	uint8_t	unused_0[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_adptv_qos_tx_feature_cfg_output (size:128b/16B) */
-struct hwrm_queue_adptv_qos_tx_feature_cfg_output {
+__rte_packed_begin struct hwrm_queue_adptv_qos_tx_feature_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -41221,7 +41221,7 @@ struct hwrm_queue_adptv_qos_tx_feature_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************
  * hwrm_queue_qcaps *
@@ -41229,7 +41229,7 @@ struct hwrm_queue_adptv_qos_tx_feature_cfg_output {
 
 
 /* hwrm_queue_qcaps_input (size:128b/16B) */
-struct hwrm_queue_qcaps_input {
+__rte_packed_begin struct hwrm_queue_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -41258,10 +41258,10 @@ struct hwrm_queue_qcaps_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_qcaps_output (size:256b/32B) */
-struct hwrm_queue_qcaps_output {
+__rte_packed_begin struct hwrm_queue_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -41509,7 +41509,7 @@ struct hwrm_queue_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************************
  * hwrm_queue_adptv_qos_rx_tuning_qcfg *
@@ -41517,7 +41517,7 @@ struct hwrm_queue_qcaps_output {
 
 
 /* hwrm_queue_adptv_qos_rx_tuning_qcfg_input (size:128b/16B) */
-struct hwrm_queue_adptv_qos_rx_tuning_qcfg_input {
+__rte_packed_begin struct hwrm_queue_adptv_qos_rx_tuning_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -41546,10 +41546,10 @@ struct hwrm_queue_adptv_qos_rx_tuning_qcfg_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_adptv_qos_rx_tuning_qcfg_output (size:576b/72B) */
-struct hwrm_queue_adptv_qos_rx_tuning_qcfg_output {
+__rte_packed_begin struct hwrm_queue_adptv_qos_rx_tuning_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -41642,7 +41642,7 @@ struct hwrm_queue_adptv_qos_rx_tuning_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************************
  * hwrm_queue_adptv_qos_rx_tuning_cfg *
@@ -41650,7 +41650,7 @@ struct hwrm_queue_adptv_qos_rx_tuning_qcfg_output {
 
 
 /* hwrm_queue_adptv_qos_rx_tuning_cfg_input (size:640b/80B) */
-struct hwrm_queue_adptv_qos_rx_tuning_cfg_input {
+__rte_packed_begin struct hwrm_queue_adptv_qos_rx_tuning_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -41798,10 +41798,10 @@ struct hwrm_queue_adptv_qos_rx_tuning_cfg_input {
 	 */
 	uint32_t	shaper_refill_timer;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_adptv_qos_rx_tuning_cfg_output (size:128b/16B) */
-struct hwrm_queue_adptv_qos_rx_tuning_cfg_output {
+__rte_packed_begin struct hwrm_queue_adptv_qos_rx_tuning_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -41819,7 +41819,7 @@ struct hwrm_queue_adptv_qos_rx_tuning_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************************
  * hwrm_queue_adptv_qos_tx_tuning_qcfg *
@@ -41827,7 +41827,7 @@ struct hwrm_queue_adptv_qos_rx_tuning_cfg_output {
 
 
 /* hwrm_queue_adptv_qos_tx_tuning_qcfg_input (size:128b/16B) */
-struct hwrm_queue_adptv_qos_tx_tuning_qcfg_input {
+__rte_packed_begin struct hwrm_queue_adptv_qos_tx_tuning_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -41856,10 +41856,10 @@ struct hwrm_queue_adptv_qos_tx_tuning_qcfg_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_adptv_qos_tx_tuning_qcfg_output (size:448b/56B) */
-struct hwrm_queue_adptv_qos_tx_tuning_qcfg_output {
+__rte_packed_begin struct hwrm_queue_adptv_qos_tx_tuning_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -41928,7 +41928,7 @@ struct hwrm_queue_adptv_qos_tx_tuning_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************************
  * hwrm_queue_adptv_qos_tx_tuning_cfg *
@@ -41936,7 +41936,7 @@ struct hwrm_queue_adptv_qos_tx_tuning_qcfg_output {
 
 
 /* hwrm_queue_adptv_qos_tx_tuning_cfg_input (size:512b/64B) */
-struct hwrm_queue_adptv_qos_tx_tuning_cfg_input {
+__rte_packed_begin struct hwrm_queue_adptv_qos_tx_tuning_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -42048,10 +42048,10 @@ struct hwrm_queue_adptv_qos_tx_tuning_cfg_input {
 	 */
 	uint32_t	shaper_refill_timer;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_adptv_qos_tx_tuning_cfg_output (size:128b/16B) */
-struct hwrm_queue_adptv_qos_tx_tuning_cfg_output {
+__rte_packed_begin struct hwrm_queue_adptv_qos_tx_tuning_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -42069,7 +42069,7 @@ struct hwrm_queue_adptv_qos_tx_tuning_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************************
  * hwrm_queue_pfcwd_timeout_qcaps *
@@ -42077,7 +42077,7 @@ struct hwrm_queue_adptv_qos_tx_tuning_cfg_output {
 
 
 /* hwrm_queue_pfcwd_timeout_qcaps_input (size:128b/16B) */
-struct hwrm_queue_pfcwd_timeout_qcaps_input {
+__rte_packed_begin struct hwrm_queue_pfcwd_timeout_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -42106,10 +42106,10 @@ struct hwrm_queue_pfcwd_timeout_qcaps_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_pfcwd_timeout_qcaps_output (size:128b/16B) */
-struct hwrm_queue_pfcwd_timeout_qcaps_output {
+__rte_packed_begin struct hwrm_queue_pfcwd_timeout_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -42129,7 +42129,7 @@ struct hwrm_queue_pfcwd_timeout_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************************
  * hwrm_queue_pfcwd_timeout_cfg *
@@ -42137,7 +42137,7 @@ struct hwrm_queue_pfcwd_timeout_qcaps_output {
 
 
 /* hwrm_queue_pfcwd_timeout_cfg_input (size:192b/24B) */
-struct hwrm_queue_pfcwd_timeout_cfg_input {
+__rte_packed_begin struct hwrm_queue_pfcwd_timeout_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -42169,10 +42169,10 @@ struct hwrm_queue_pfcwd_timeout_cfg_input {
 	/* pfc watchdog timeout value in msec. */
 	uint32_t	pfcwd_timeout_value;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_pfcwd_timeout_cfg_output (size:128b/16B) */
-struct hwrm_queue_pfcwd_timeout_cfg_output {
+__rte_packed_begin struct hwrm_queue_pfcwd_timeout_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -42190,7 +42190,7 @@ struct hwrm_queue_pfcwd_timeout_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************************
  * hwrm_queue_pfcwd_timeout_qcfg *
@@ -42198,7 +42198,7 @@ struct hwrm_queue_pfcwd_timeout_cfg_output {
 
 
 /* hwrm_queue_pfcwd_timeout_qcfg_input (size:128b/16B) */
-struct hwrm_queue_pfcwd_timeout_qcfg_input {
+__rte_packed_begin struct hwrm_queue_pfcwd_timeout_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -42227,10 +42227,10 @@ struct hwrm_queue_pfcwd_timeout_qcfg_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_queue_pfcwd_timeout_qcfg_output (size:128b/16B) */
-struct hwrm_queue_pfcwd_timeout_qcfg_output {
+__rte_packed_begin struct hwrm_queue_pfcwd_timeout_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -42250,7 +42250,7 @@ struct hwrm_queue_pfcwd_timeout_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_vnic_alloc *
@@ -42258,7 +42258,7 @@ struct hwrm_queue_pfcwd_timeout_qcfg_output {
 
 
 /* hwrm_vnic_alloc_input (size:192b/24B) */
-struct hwrm_vnic_alloc_input {
+__rte_packed_begin struct hwrm_vnic_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -42308,10 +42308,10 @@ struct hwrm_vnic_alloc_input {
 	 */
 	uint16_t	virtio_net_fid;
 	uint8_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_alloc_output (size:128b/16B) */
-struct hwrm_vnic_alloc_output {
+__rte_packed_begin struct hwrm_vnic_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -42331,7 +42331,7 @@ struct hwrm_vnic_alloc_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************
  * hwrm_vnic_update *
@@ -42339,7 +42339,7 @@ struct hwrm_vnic_alloc_output {
 
 
 /* hwrm_vnic_update_input (size:256b/32B) */
-struct hwrm_vnic_update_input {
+__rte_packed_begin struct hwrm_vnic_update_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -42425,10 +42425,10 @@ struct hwrm_vnic_update_input {
 	 */
 	uint16_t	mru;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_update_output (size:128b/16B) */
-struct hwrm_vnic_update_output {
+__rte_packed_begin struct hwrm_vnic_update_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -42447,7 +42447,7 @@ struct hwrm_vnic_update_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_vnic_free *
@@ -42455,7 +42455,7 @@ struct hwrm_vnic_update_output {
 
 
 /* hwrm_vnic_free_input (size:192b/24B) */
-struct hwrm_vnic_free_input {
+__rte_packed_begin struct hwrm_vnic_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -42487,10 +42487,10 @@ struct hwrm_vnic_free_input {
 	/* Logical vnic ID */
 	uint32_t	vnic_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_free_output (size:128b/16B) */
-struct hwrm_vnic_free_output {
+__rte_packed_begin struct hwrm_vnic_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -42508,7 +42508,7 @@ struct hwrm_vnic_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************
  * hwrm_vnic_cfg *
@@ -42516,7 +42516,7 @@ struct hwrm_vnic_free_output {
 
 
 /* hwrm_vnic_cfg_input (size:384b/48B) */
-struct hwrm_vnic_cfg_input {
+__rte_packed_begin struct hwrm_vnic_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -42799,10 +42799,10 @@ struct hwrm_vnic_cfg_input {
 	#define HWRM_VNIC_CFG_INPUT_L2_CQE_MODE_LAST \
 		HWRM_VNIC_CFG_INPUT_L2_CQE_MODE_MIXED
 	uint8_t	unused0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_cfg_output (size:128b/16B) */
-struct hwrm_vnic_cfg_output {
+__rte_packed_begin struct hwrm_vnic_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -42820,7 +42820,7 @@ struct hwrm_vnic_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_vnic_qcfg *
@@ -42828,7 +42828,7 @@ struct hwrm_vnic_cfg_output {
 
 
 /* hwrm_vnic_qcfg_input (size:256b/32B) */
-struct hwrm_vnic_qcfg_input {
+__rte_packed_begin struct hwrm_vnic_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -42868,10 +42868,10 @@ struct hwrm_vnic_qcfg_input {
 	/* ID of Virtual Function whose VNIC resource is being queried. */
 	uint16_t	vf_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_qcfg_output (size:256b/32B) */
-struct hwrm_vnic_qcfg_output {
+__rte_packed_begin struct hwrm_vnic_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -43064,7 +43064,7 @@ struct hwrm_vnic_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_vnic_qcaps *
@@ -43072,7 +43072,7 @@ struct hwrm_vnic_qcfg_output {
 
 
 /* hwrm_vnic_qcaps_input (size:192b/24B) */
-struct hwrm_vnic_qcaps_input {
+__rte_packed_begin struct hwrm_vnic_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -43103,10 +43103,10 @@ struct hwrm_vnic_qcaps_input {
 	uint64_t	resp_addr;
 	uint32_t	enables;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_qcaps_output (size:192b/24B) */
-struct hwrm_vnic_qcaps_output {
+__rte_packed_begin struct hwrm_vnic_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -43362,7 +43362,7 @@ struct hwrm_vnic_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_vnic_tpa_cfg *
@@ -43370,7 +43370,7 @@ struct hwrm_vnic_qcaps_output {
 
 
 /* hwrm_vnic_tpa_cfg_input (size:384b/48B) */
-struct hwrm_vnic_tpa_cfg_input {
+__rte_packed_begin struct hwrm_vnic_tpa_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -43664,10 +43664,10 @@ struct hwrm_vnic_tpa_cfg_input {
 	#define HWRM_VNIC_TPA_CFG_INPUT_TNL_TPA_EN_BITMAP_UPAR8 \
 		UINT32_C(0x10000)
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_tpa_cfg_output (size:128b/16B) */
-struct hwrm_vnic_tpa_cfg_output {
+__rte_packed_begin struct hwrm_vnic_tpa_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -43685,7 +43685,7 @@ struct hwrm_vnic_tpa_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_vnic_tpa_qcfg *
@@ -43693,7 +43693,7 @@ struct hwrm_vnic_tpa_cfg_output {
 
 
 /* hwrm_vnic_tpa_qcfg_input (size:192b/24B) */
-struct hwrm_vnic_tpa_qcfg_input {
+__rte_packed_begin struct hwrm_vnic_tpa_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -43725,10 +43725,10 @@ struct hwrm_vnic_tpa_qcfg_input {
 	/* Logical vnic ID */
 	uint16_t	vnic_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_tpa_qcfg_output (size:256b/32B) */
-struct hwrm_vnic_tpa_qcfg_output {
+__rte_packed_begin struct hwrm_vnic_tpa_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -43967,7 +43967,7 @@ struct hwrm_vnic_tpa_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_vnic_rss_cfg *
@@ -43975,7 +43975,7 @@ struct hwrm_vnic_tpa_qcfg_output {
 
 
 /* hwrm_vnic_rss_cfg_input (size:384b/48B) */
-struct hwrm_vnic_rss_cfg_input {
+__rte_packed_begin struct hwrm_vnic_rss_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -44225,10 +44225,10 @@ struct hwrm_vnic_rss_cfg_input {
 	#define HWRM_VNIC_RSS_CFG_INPUT_RING_SELECT_MODE_LAST \
 		HWRM_VNIC_RSS_CFG_INPUT_RING_SELECT_MODE_TOEPLITZ_CHECKSUM
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_rss_cfg_output (size:128b/16B) */
-struct hwrm_vnic_rss_cfg_output {
+__rte_packed_begin struct hwrm_vnic_rss_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -44246,10 +44246,10 @@ struct hwrm_vnic_rss_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_rss_cfg_cmd_err (size:64b/8B) */
-struct hwrm_vnic_rss_cfg_cmd_err {
+__rte_packed_begin struct hwrm_vnic_rss_cfg_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -44267,7 +44267,7 @@ struct hwrm_vnic_rss_cfg_cmd_err {
 	#define HWRM_VNIC_RSS_CFG_CMD_ERR_CODE_LAST \
 		HWRM_VNIC_RSS_CFG_CMD_ERR_CODE_INTERFACE_NOT_READY
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_vnic_rss_qcfg *
@@ -44275,7 +44275,7 @@ struct hwrm_vnic_rss_cfg_cmd_err {
 
 
 /* hwrm_vnic_rss_qcfg_input (size:192b/24B) */
-struct hwrm_vnic_rss_qcfg_input {
+__rte_packed_begin struct hwrm_vnic_rss_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -44315,10 +44315,10 @@ struct hwrm_vnic_rss_qcfg_input {
 	 */
 	uint16_t	vnic_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_rss_qcfg_output (size:512b/64B) */
-struct hwrm_vnic_rss_qcfg_output {
+__rte_packed_begin struct hwrm_vnic_rss_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -44509,7 +44509,7 @@ struct hwrm_vnic_rss_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_vnic_plcmodes_cfg *
@@ -44517,7 +44517,7 @@ struct hwrm_vnic_rss_qcfg_output {
 
 
 /* hwrm_vnic_plcmodes_cfg_input (size:320b/40B) */
-struct hwrm_vnic_plcmodes_cfg_input {
+__rte_packed_begin struct hwrm_vnic_plcmodes_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -44679,10 +44679,10 @@ struct hwrm_vnic_plcmodes_cfg_input {
 	 */
 	uint16_t	max_bds;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_plcmodes_cfg_output (size:128b/16B) */
-struct hwrm_vnic_plcmodes_cfg_output {
+__rte_packed_begin struct hwrm_vnic_plcmodes_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -44701,7 +44701,7 @@ struct hwrm_vnic_plcmodes_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_vnic_plcmodes_qcfg *
@@ -44709,7 +44709,7 @@ struct hwrm_vnic_plcmodes_cfg_output {
 
 
 /* hwrm_vnic_plcmodes_qcfg_input (size:192b/24B) */
-struct hwrm_vnic_plcmodes_qcfg_input {
+__rte_packed_begin struct hwrm_vnic_plcmodes_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -44741,10 +44741,10 @@ struct hwrm_vnic_plcmodes_qcfg_input {
 	/* Logical vnic ID */
 	uint32_t	vnic_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_plcmodes_qcfg_output (size:192b/24B) */
-struct hwrm_vnic_plcmodes_qcfg_output {
+__rte_packed_begin struct hwrm_vnic_plcmodes_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -44852,7 +44852,7 @@ struct hwrm_vnic_plcmodes_qcfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************************
  * hwrm_vnic_rss_cos_lb_ctx_alloc *
@@ -44860,7 +44860,7 @@ struct hwrm_vnic_plcmodes_qcfg_output {
 
 
 /* hwrm_vnic_rss_cos_lb_ctx_alloc_input (size:128b/16B) */
-struct hwrm_vnic_rss_cos_lb_ctx_alloc_input {
+__rte_packed_begin struct hwrm_vnic_rss_cos_lb_ctx_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -44889,10 +44889,10 @@ struct hwrm_vnic_rss_cos_lb_ctx_alloc_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_rss_cos_lb_ctx_alloc_output (size:128b/16B) */
-struct hwrm_vnic_rss_cos_lb_ctx_alloc_output {
+__rte_packed_begin struct hwrm_vnic_rss_cos_lb_ctx_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -44912,7 +44912,7 @@ struct hwrm_vnic_rss_cos_lb_ctx_alloc_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************************
  * hwrm_vnic_rss_cos_lb_ctx_free *
@@ -44920,7 +44920,7 @@ struct hwrm_vnic_rss_cos_lb_ctx_alloc_output {
 
 
 /* hwrm_vnic_rss_cos_lb_ctx_free_input (size:192b/24B) */
-struct hwrm_vnic_rss_cos_lb_ctx_free_input {
+__rte_packed_begin struct hwrm_vnic_rss_cos_lb_ctx_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -44952,10 +44952,10 @@ struct hwrm_vnic_rss_cos_lb_ctx_free_input {
 	/* rss_cos_lb_ctx_id is 16 b */
 	uint16_t	rss_cos_lb_ctx_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vnic_rss_cos_lb_ctx_free_output (size:128b/16B) */
-struct hwrm_vnic_rss_cos_lb_ctx_free_output {
+__rte_packed_begin struct hwrm_vnic_rss_cos_lb_ctx_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -44973,7 +44973,7 @@ struct hwrm_vnic_rss_cos_lb_ctx_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_ring_alloc *
@@ -44981,7 +44981,7 @@ struct hwrm_vnic_rss_cos_lb_ctx_free_output {
 
 
 /* hwrm_ring_alloc_input (size:704b/88B) */
-struct hwrm_ring_alloc_input {
+__rte_packed_begin struct hwrm_ring_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -45437,10 +45437,10 @@ struct hwrm_ring_alloc_input {
 	 * record.
 	 */
 	uint64_t	cq_handle;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_alloc_output (size:128b/16B) */
-struct hwrm_ring_alloc_output {
+__rte_packed_begin struct hwrm_ring_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -45478,7 +45478,7 @@ struct hwrm_ring_alloc_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_ring_free *
@@ -45486,7 +45486,7 @@ struct hwrm_ring_alloc_output {
 
 
 /* hwrm_ring_free_input (size:256b/32B) */
-struct hwrm_ring_free_input {
+__rte_packed_begin struct hwrm_ring_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -45562,10 +45562,10 @@ struct hwrm_ring_free_input {
 	 */
 	uint32_t	opaque;
 	uint32_t	unused_1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_free_output (size:128b/16B) */
-struct hwrm_ring_free_output {
+__rte_packed_begin struct hwrm_ring_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -45583,7 +45583,7 @@ struct hwrm_ring_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_ring_reset *
@@ -45591,7 +45591,7 @@ struct hwrm_ring_free_output {
 
 
 /* hwrm_ring_reset_input (size:192b/24B) */
-struct hwrm_ring_reset_input {
+__rte_packed_begin struct hwrm_ring_reset_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -45645,10 +45645,10 @@ struct hwrm_ring_reset_input {
 	 */
 	uint16_t	ring_id;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_reset_output (size:128b/16B) */
-struct hwrm_ring_reset_output {
+__rte_packed_begin struct hwrm_ring_reset_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -45681,7 +45681,7 @@ struct hwrm_ring_reset_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************
  * hwrm_ring_cfg *
@@ -45689,7 +45689,7 @@ struct hwrm_ring_reset_output {
 
 
 /* hwrm_ring_cfg_input (size:320b/40B) */
-struct hwrm_ring_cfg_input {
+__rte_packed_begin struct hwrm_ring_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -45820,10 +45820,10 @@ struct hwrm_ring_cfg_input {
 	 */
 	uint32_t	tx_metadata;
 	uint8_t	unused_2[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_cfg_output (size:128b/16B) */
-struct hwrm_ring_cfg_output {
+__rte_packed_begin struct hwrm_ring_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -45842,7 +45842,7 @@ struct hwrm_ring_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_ring_qcfg *
@@ -45850,7 +45850,7 @@ struct hwrm_ring_cfg_output {
 
 
 /* hwrm_ring_qcfg_input (size:192b/24B) */
-struct hwrm_ring_qcfg_input {
+__rte_packed_begin struct hwrm_ring_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -45890,10 +45890,10 @@ struct hwrm_ring_qcfg_input {
 	uint8_t	unused_0[5];
 	/* Physical number of the ring. */
 	uint16_t	ring_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_qcfg_output (size:256b/32B) */
-struct hwrm_ring_qcfg_output {
+__rte_packed_begin struct hwrm_ring_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -45984,7 +45984,7 @@ struct hwrm_ring_qcfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_ring_aggint_qcaps *
@@ -45992,7 +45992,7 @@ struct hwrm_ring_qcfg_output {
 
 
 /* hwrm_ring_aggint_qcaps_input (size:128b/16B) */
-struct hwrm_ring_aggint_qcaps_input {
+__rte_packed_begin struct hwrm_ring_aggint_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -46021,10 +46021,10 @@ struct hwrm_ring_aggint_qcaps_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_aggint_qcaps_output (size:384b/48B) */
-struct hwrm_ring_aggint_qcaps_output {
+__rte_packed_begin struct hwrm_ring_aggint_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -46134,7 +46134,7 @@ struct hwrm_ring_aggint_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************************
  * hwrm_ring_cmpl_ring_qaggint_params *
@@ -46142,7 +46142,7 @@ struct hwrm_ring_aggint_qcaps_output {
 
 
 /* hwrm_ring_cmpl_ring_qaggint_params_input (size:192b/24B) */
-struct hwrm_ring_cmpl_ring_qaggint_params_input {
+__rte_packed_begin struct hwrm_ring_cmpl_ring_qaggint_params_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -46185,10 +46185,10 @@ struct hwrm_ring_cmpl_ring_qaggint_params_input {
 	#define HWRM_RING_CMPL_RING_QAGGINT_PARAMS_INPUT_FLAGS_IS_NQ \
 		UINT32_C(0x4)
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_cmpl_ring_qaggint_params_output (size:256b/32B) */
-struct hwrm_ring_cmpl_ring_qaggint_params_output {
+__rte_packed_begin struct hwrm_ring_cmpl_ring_qaggint_params_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -46252,7 +46252,7 @@ struct hwrm_ring_cmpl_ring_qaggint_params_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************************
  * hwrm_ring_cmpl_ring_cfg_aggint_params *
@@ -46260,7 +46260,7 @@ struct hwrm_ring_cmpl_ring_qaggint_params_output {
 
 
 /* hwrm_ring_cmpl_ring_cfg_aggint_params_input (size:320b/40B) */
-struct hwrm_ring_cmpl_ring_cfg_aggint_params_input {
+__rte_packed_begin struct hwrm_ring_cmpl_ring_cfg_aggint_params_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -46388,10 +46388,10 @@ struct hwrm_ring_cmpl_ring_cfg_aggint_params_input {
 	#define HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS_INPUT_ENABLES_NUM_CMPL_AGGR_INT \
 		UINT32_C(0x20)
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_cmpl_ring_cfg_aggint_params_output (size:128b/16B) */
-struct hwrm_ring_cmpl_ring_cfg_aggint_params_output {
+__rte_packed_begin struct hwrm_ring_cmpl_ring_cfg_aggint_params_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -46409,7 +46409,7 @@ struct hwrm_ring_cmpl_ring_cfg_aggint_params_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_ring_grp_alloc *
@@ -46417,7 +46417,7 @@ struct hwrm_ring_cmpl_ring_cfg_aggint_params_output {
 
 
 /* hwrm_ring_grp_alloc_input (size:192b/24B) */
-struct hwrm_ring_grp_alloc_input {
+__rte_packed_begin struct hwrm_ring_grp_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -46467,10 +46467,10 @@ struct hwrm_ring_grp_alloc_input {
 	 * with the ring group.
 	 */
 	uint16_t	sc;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_grp_alloc_output (size:128b/16B) */
-struct hwrm_ring_grp_alloc_output {
+__rte_packed_begin struct hwrm_ring_grp_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -46494,7 +46494,7 @@ struct hwrm_ring_grp_alloc_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_ring_grp_free *
@@ -46502,7 +46502,7 @@ struct hwrm_ring_grp_alloc_output {
 
 
 /* hwrm_ring_grp_free_input (size:192b/24B) */
-struct hwrm_ring_grp_free_input {
+__rte_packed_begin struct hwrm_ring_grp_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -46534,10 +46534,10 @@ struct hwrm_ring_grp_free_input {
 	/* This is the ring group ID value. */
 	uint32_t	ring_group_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_grp_free_output (size:128b/16B) */
-struct hwrm_ring_grp_free_output {
+__rte_packed_begin struct hwrm_ring_grp_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -46555,7 +46555,7 @@ struct hwrm_ring_grp_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_ring_schq_alloc *
@@ -46563,7 +46563,7 @@ struct hwrm_ring_grp_free_output {
 
 
 /* hwrm_ring_schq_alloc_input (size:1088b/136B) */
-struct hwrm_ring_schq_alloc_input {
+__rte_packed_begin struct hwrm_ring_schq_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -47102,10 +47102,10 @@ struct hwrm_ring_schq_alloc_input {
 	/* Number of bytes that have been allocated for each context entry. */
 	uint16_t	tqm_entry_size;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_schq_alloc_output (size:128b/16B) */
-struct hwrm_ring_schq_alloc_output {
+__rte_packed_begin struct hwrm_ring_schq_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -47129,7 +47129,7 @@ struct hwrm_ring_schq_alloc_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_ring_schq_cfg *
@@ -47137,7 +47137,7 @@ struct hwrm_ring_schq_alloc_output {
 
 
 /* hwrm_ring_schq_cfg_input (size:768b/96B) */
-struct hwrm_ring_schq_cfg_input {
+__rte_packed_begin struct hwrm_ring_schq_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -47263,10 +47263,10 @@ struct hwrm_ring_schq_cfg_input {
 	 */
 	uint32_t	max_bw;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_schq_cfg_output (size:128b/16B) */
-struct hwrm_ring_schq_cfg_output {
+__rte_packed_begin struct hwrm_ring_schq_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -47284,7 +47284,7 @@ struct hwrm_ring_schq_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_ring_schq_free *
@@ -47292,7 +47292,7 @@ struct hwrm_ring_schq_cfg_output {
 
 
 /* hwrm_ring_schq_free_input (size:192b/24B) */
-struct hwrm_ring_schq_free_input {
+__rte_packed_begin struct hwrm_ring_schq_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -47324,10 +47324,10 @@ struct hwrm_ring_schq_free_input {
 	/* Identifies the SCHQ being freed. */
 	uint16_t	schq_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_ring_schq_free_output (size:128b/16B) */
-struct hwrm_ring_schq_free_output {
+__rte_packed_begin struct hwrm_ring_schq_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -47345,7 +47345,7 @@ struct hwrm_ring_schq_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 /*
  * special reserved flow ID to identify per function default
  * flows for vSwitch offload
@@ -47373,7 +47373,7 @@ struct hwrm_ring_schq_free_output {
 
 
 /* hwrm_cfa_l2_filter_alloc_input (size:768b/96B) */
-struct hwrm_cfa_l2_filter_alloc_input {
+__rte_packed_begin struct hwrm_cfa_l2_filter_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -47789,10 +47789,10 @@ struct hwrm_cfa_l2_filter_alloc_input {
 	 * 2 - Below the given filter
 	 */
 	uint64_t	l2_filter_id_hint;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_l2_filter_alloc_output (size:192b/24B) */
-struct hwrm_cfa_l2_filter_alloc_output {
+__rte_packed_begin struct hwrm_cfa_l2_filter_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -47856,7 +47856,7 @@ struct hwrm_cfa_l2_filter_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_cfa_l2_filter_free *
@@ -47864,7 +47864,7 @@ struct hwrm_cfa_l2_filter_alloc_output {
 
 
 /* hwrm_cfa_l2_filter_free_input (size:192b/24B) */
-struct hwrm_cfa_l2_filter_free_input {
+__rte_packed_begin struct hwrm_cfa_l2_filter_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -47898,10 +47898,10 @@ struct hwrm_cfa_l2_filter_free_input {
 	 * context.
 	 */
 	uint64_t	l2_filter_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_l2_filter_free_output (size:128b/16B) */
-struct hwrm_cfa_l2_filter_free_output {
+__rte_packed_begin struct hwrm_cfa_l2_filter_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -47920,7 +47920,7 @@ struct hwrm_cfa_l2_filter_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_cfa_l2_filter_cfg *
@@ -47928,7 +47928,7 @@ struct hwrm_cfa_l2_filter_free_output {
 
 
 /* hwrm_cfa_l2_filter_cfg_input (size:384b/48B) */
-struct hwrm_cfa_l2_filter_cfg_input {
+__rte_packed_begin struct hwrm_cfa_l2_filter_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -48069,10 +48069,10 @@ struct hwrm_cfa_l2_filter_cfg_input {
 	 * Lookup entry for further classification.
 	 */
 	uint32_t	l2_context_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_l2_filter_cfg_output (size:128b/16B) */
-struct hwrm_cfa_l2_filter_cfg_output {
+__rte_packed_begin struct hwrm_cfa_l2_filter_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -48091,7 +48091,7 @@ struct hwrm_cfa_l2_filter_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_cfa_l2_set_rx_mask *
@@ -48099,7 +48099,7 @@ struct hwrm_cfa_l2_filter_cfg_output {
 
 
 /* hwrm_cfa_l2_set_rx_mask_input (size:448b/56B) */
-struct hwrm_cfa_l2_set_rx_mask_input {
+__rte_packed_begin struct hwrm_cfa_l2_set_rx_mask_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -48252,10 +48252,10 @@ struct hwrm_cfa_l2_set_rx_mask_input {
 	 */
 	uint32_t	num_vlan_tags;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_l2_set_rx_mask_output (size:128b/16B) */
-struct hwrm_cfa_l2_set_rx_mask_output {
+__rte_packed_begin struct hwrm_cfa_l2_set_rx_mask_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -48274,10 +48274,10 @@ struct hwrm_cfa_l2_set_rx_mask_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_l2_set_rx_mask_cmd_err (size:64b/8B) */
-struct hwrm_cfa_l2_set_rx_mask_cmd_err {
+__rte_packed_begin struct hwrm_cfa_l2_set_rx_mask_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -48292,7 +48292,7 @@ struct hwrm_cfa_l2_set_rx_mask_cmd_err {
 	#define HWRM_CFA_L2_SET_RX_MASK_CMD_ERR_CODE_LAST \
 		HWRM_CFA_L2_SET_RX_MASK_CMD_ERR_CODE_NTUPLE_FILTER_CONFLICT_ERR
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_cfa_vlan_antispoof_cfg *
@@ -48300,7 +48300,7 @@ struct hwrm_cfa_l2_set_rx_mask_cmd_err {
 
 
 /* hwrm_cfa_vlan_antispoof_cfg_input (size:256b/32B) */
-struct hwrm_cfa_vlan_antispoof_cfg_input {
+__rte_packed_begin struct hwrm_cfa_vlan_antispoof_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -48346,10 +48346,10 @@ struct hwrm_cfa_vlan_antispoof_cfg_input {
 	 * for the 12-bit VLAN ID.
 	 */
 	uint64_t	vlan_tag_mask_tbl_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_vlan_antispoof_cfg_output (size:128b/16B) */
-struct hwrm_cfa_vlan_antispoof_cfg_output {
+__rte_packed_begin struct hwrm_cfa_vlan_antispoof_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -48368,7 +48368,7 @@ struct hwrm_cfa_vlan_antispoof_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************************
  * hwrm_cfa_vlan_antispoof_qcfg *
@@ -48376,7 +48376,7 @@ struct hwrm_cfa_vlan_antispoof_cfg_output {
 
 
 /* hwrm_cfa_vlan_antispoof_qcfg_input (size:256b/32B) */
-struct hwrm_cfa_vlan_antispoof_qcfg_input {
+__rte_packed_begin struct hwrm_cfa_vlan_antispoof_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -48425,10 +48425,10 @@ struct hwrm_cfa_vlan_antispoof_qcfg_input {
 	 * the mask value should be 0xfff for the 12-bit VLAN ID.
 	 */
 	uint64_t	vlan_tag_mask_tbl_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_vlan_antispoof_qcfg_output (size:128b/16B) */
-struct hwrm_cfa_vlan_antispoof_qcfg_output {
+__rte_packed_begin struct hwrm_cfa_vlan_antispoof_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -48449,7 +48449,7 @@ struct hwrm_cfa_vlan_antispoof_qcfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************************
  * hwrm_cfa_tunnel_filter_alloc *
@@ -48457,7 +48457,7 @@ struct hwrm_cfa_vlan_antispoof_qcfg_output {
 
 
 /* hwrm_cfa_tunnel_filter_alloc_input (size:704b/88B) */
-struct hwrm_cfa_tunnel_filter_alloc_input {
+__rte_packed_begin struct hwrm_cfa_tunnel_filter_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -48708,10 +48708,10 @@ struct hwrm_cfa_tunnel_filter_alloc_input {
 	 * mirrored.
 	 */
 	uint32_t	mirror_vnic_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_tunnel_filter_alloc_output (size:192b/24B) */
-struct hwrm_cfa_tunnel_filter_alloc_output {
+__rte_packed_begin struct hwrm_cfa_tunnel_filter_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -48772,7 +48772,7 @@ struct hwrm_cfa_tunnel_filter_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_cfa_tunnel_filter_free *
@@ -48780,7 +48780,7 @@ struct hwrm_cfa_tunnel_filter_alloc_output {
 
 
 /* hwrm_cfa_tunnel_filter_free_input (size:192b/24B) */
-struct hwrm_cfa_tunnel_filter_free_input {
+__rte_packed_begin struct hwrm_cfa_tunnel_filter_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -48811,10 +48811,10 @@ struct hwrm_cfa_tunnel_filter_free_input {
 	uint64_t	resp_addr;
 	/* This value is an opaque id into CFA data structures. */
 	uint64_t	tunnel_filter_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_tunnel_filter_free_output (size:128b/16B) */
-struct hwrm_cfa_tunnel_filter_free_output {
+__rte_packed_begin struct hwrm_cfa_tunnel_filter_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -48833,7 +48833,7 @@ struct hwrm_cfa_tunnel_filter_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************************
  * hwrm_cfa_redirect_tunnel_type_alloc *
@@ -48841,7 +48841,7 @@ struct hwrm_cfa_tunnel_filter_free_output {
 
 
 /* hwrm_cfa_redirect_tunnel_type_alloc_input (size:192b/24B) */
-struct hwrm_cfa_redirect_tunnel_type_alloc_input {
+__rte_packed_begin struct hwrm_cfa_redirect_tunnel_type_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -48936,10 +48936,10 @@ struct hwrm_cfa_redirect_tunnel_type_alloc_input {
 	#define HWRM_CFA_REDIRECT_TUNNEL_TYPE_ALLOC_INPUT_FLAGS_MODIFY_DST \
 		UINT32_C(0x1)
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_redirect_tunnel_type_alloc_output (size:128b/16B) */
-struct hwrm_cfa_redirect_tunnel_type_alloc_output {
+__rte_packed_begin struct hwrm_cfa_redirect_tunnel_type_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -48958,7 +48958,7 @@ struct hwrm_cfa_redirect_tunnel_type_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************************
  * hwrm_cfa_redirect_tunnel_type_free *
@@ -48966,7 +48966,7 @@ struct hwrm_cfa_redirect_tunnel_type_alloc_output {
 
 
 /* hwrm_cfa_redirect_tunnel_type_free_input (size:192b/24B) */
-struct hwrm_cfa_redirect_tunnel_type_free_input {
+__rte_packed_begin struct hwrm_cfa_redirect_tunnel_type_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -49053,10 +49053,10 @@ struct hwrm_cfa_redirect_tunnel_type_free_input {
 	#define HWRM_CFA_REDIRECT_TUNNEL_TYPE_FREE_INPUT_TUNNEL_TYPE_LAST \
 		HWRM_CFA_REDIRECT_TUNNEL_TYPE_FREE_INPUT_TUNNEL_TYPE_ANYTUNNEL
 	uint8_t	unused_0[5];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_redirect_tunnel_type_free_output (size:128b/16B) */
-struct hwrm_cfa_redirect_tunnel_type_free_output {
+__rte_packed_begin struct hwrm_cfa_redirect_tunnel_type_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -49075,7 +49075,7 @@ struct hwrm_cfa_redirect_tunnel_type_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************************
  * hwrm_cfa_redirect_tunnel_type_info *
@@ -49083,7 +49083,7 @@ struct hwrm_cfa_redirect_tunnel_type_free_output {
 
 
 /* hwrm_cfa_redirect_tunnel_type_info_input (size:192b/24B) */
-struct hwrm_cfa_redirect_tunnel_type_info_input {
+__rte_packed_begin struct hwrm_cfa_redirect_tunnel_type_info_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -49170,10 +49170,10 @@ struct hwrm_cfa_redirect_tunnel_type_info_input {
 	#define HWRM_CFA_REDIRECT_TUNNEL_TYPE_INFO_INPUT_TUNNEL_TYPE_LAST \
 		HWRM_CFA_REDIRECT_TUNNEL_TYPE_INFO_INPUT_TUNNEL_TYPE_ANYTUNNEL
 	uint8_t	unused_0[5];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_redirect_tunnel_type_info_output (size:128b/16B) */
-struct hwrm_cfa_redirect_tunnel_type_info_output {
+__rte_packed_begin struct hwrm_cfa_redirect_tunnel_type_info_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -49194,10 +49194,10 @@ struct hwrm_cfa_redirect_tunnel_type_info_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vxlan_ipv4_hdr (size:128b/16B) */
-struct hwrm_vxlan_ipv4_hdr {
+__rte_packed_begin struct hwrm_vxlan_ipv4_hdr {
 	/* IPv4 version and header length. */
 	uint8_t	ver_hlen;
 	/* IPv4 header length */
@@ -49220,10 +49220,10 @@ struct hwrm_vxlan_ipv4_hdr {
 	uint32_t	src_ip_addr;
 	/* IPv4 destination address. */
 	uint32_t	dest_ip_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_vxlan_ipv6_hdr (size:320b/40B) */
-struct hwrm_vxlan_ipv6_hdr {
+__rte_packed_begin struct hwrm_vxlan_ipv6_hdr {
 	/* IPv6 version, traffic class and flow label. */
 	uint32_t	ver_tc_flow_label;
 	/* IPv6 version shift */
@@ -49256,10 +49256,10 @@ struct hwrm_vxlan_ipv6_hdr {
 	uint32_t	src_ip_addr[4];
 	/* IPv6 destination address. */
 	uint32_t	dest_ip_addr[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_encap_data_vxlan (size:640b/80B) */
-struct hwrm_cfa_encap_data_vxlan {
+__rte_packed_begin struct hwrm_cfa_encap_data_vxlan {
 	/* Source MAC address. */
 	uint8_t	src_mac_addr[6];
 	/* reserved. */
@@ -49304,7 +49304,7 @@ struct hwrm_cfa_encap_data_vxlan {
 	/* VXLAN header flags field. */
 	uint8_t	hdr_flags;
 	uint8_t	unused[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_cfa_encap_record_alloc *
@@ -49312,7 +49312,7 @@ struct hwrm_cfa_encap_data_vxlan {
 
 
 /* hwrm_cfa_encap_record_alloc_input (size:832b/104B) */
-struct hwrm_cfa_encap_record_alloc_input {
+__rte_packed_begin struct hwrm_cfa_encap_record_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -49407,10 +49407,10 @@ struct hwrm_cfa_encap_record_alloc_input {
 	uint8_t	unused_0[3];
 	/* This value is encap data used for the given encap type. */
 	uint32_t	encap_data[20];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_encap_record_alloc_output (size:128b/16B) */
-struct hwrm_cfa_encap_record_alloc_output {
+__rte_packed_begin struct hwrm_cfa_encap_record_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -49431,7 +49431,7 @@ struct hwrm_cfa_encap_record_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_cfa_encap_record_free *
@@ -49439,7 +49439,7 @@ struct hwrm_cfa_encap_record_alloc_output {
 
 
 /* hwrm_cfa_encap_record_free_input (size:192b/24B) */
-struct hwrm_cfa_encap_record_free_input {
+__rte_packed_begin struct hwrm_cfa_encap_record_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -49471,10 +49471,10 @@ struct hwrm_cfa_encap_record_free_input {
 	/* This value is an opaque id into CFA data structures. */
 	uint32_t	encap_record_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_encap_record_free_output (size:128b/16B) */
-struct hwrm_cfa_encap_record_free_output {
+__rte_packed_begin struct hwrm_cfa_encap_record_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -49493,7 +49493,7 @@ struct hwrm_cfa_encap_record_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************************
  * hwrm_cfa_ntuple_filter_alloc *
@@ -49501,7 +49501,7 @@ struct hwrm_cfa_encap_record_free_output {
 
 
 /* hwrm_cfa_ntuple_filter_alloc_input (size:1024b/128B) */
-struct hwrm_cfa_ntuple_filter_alloc_input {
+__rte_packed_begin struct hwrm_cfa_ntuple_filter_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -49907,10 +49907,10 @@ struct hwrm_cfa_ntuple_filter_alloc_input {
 	 * the pri_hint.
 	 */
 	uint64_t	ntuple_filter_id_hint;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_ntuple_filter_alloc_output (size:192b/24B) */
-struct hwrm_cfa_ntuple_filter_alloc_output {
+__rte_packed_begin struct hwrm_cfa_ntuple_filter_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -49971,10 +49971,10 @@ struct hwrm_cfa_ntuple_filter_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_ntuple_filter_alloc_cmd_err (size:64b/8B) */
-struct hwrm_cfa_ntuple_filter_alloc_cmd_err {
+__rte_packed_begin struct hwrm_cfa_ntuple_filter_alloc_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -49989,7 +49989,7 @@ struct hwrm_cfa_ntuple_filter_alloc_cmd_err {
 	#define HWRM_CFA_NTUPLE_FILTER_ALLOC_CMD_ERR_CODE_LAST \
 		HWRM_CFA_NTUPLE_FILTER_ALLOC_CMD_ERR_CODE_RX_MASK_VLAN_CONFLICT_ERR
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_cfa_ntuple_filter_free *
@@ -49997,7 +49997,7 @@ struct hwrm_cfa_ntuple_filter_alloc_cmd_err {
 
 
 /* hwrm_cfa_ntuple_filter_free_input (size:192b/24B) */
-struct hwrm_cfa_ntuple_filter_free_input {
+__rte_packed_begin struct hwrm_cfa_ntuple_filter_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -50028,10 +50028,10 @@ struct hwrm_cfa_ntuple_filter_free_input {
 	uint64_t	resp_addr;
 	/* This value is an opaque id into CFA data structures. */
 	uint64_t	ntuple_filter_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_ntuple_filter_free_output (size:128b/16B) */
-struct hwrm_cfa_ntuple_filter_free_output {
+__rte_packed_begin struct hwrm_cfa_ntuple_filter_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -50050,7 +50050,7 @@ struct hwrm_cfa_ntuple_filter_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_cfa_ntuple_filter_cfg *
@@ -50058,7 +50058,7 @@ struct hwrm_cfa_ntuple_filter_free_output {
 
 
 /* hwrm_cfa_ntuple_filter_cfg_input (size:384b/48B) */
-struct hwrm_cfa_ntuple_filter_cfg_input {
+__rte_packed_begin struct hwrm_cfa_ntuple_filter_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -50159,10 +50159,10 @@ struct hwrm_cfa_ntuple_filter_cfg_input {
 	#define HWRM_CFA_NTUPLE_FILTER_CFG_INPUT_NEW_METER_INSTANCE_ID_LAST \
 		HWRM_CFA_NTUPLE_FILTER_CFG_INPUT_NEW_METER_INSTANCE_ID_INVALID
 	uint8_t	unused_1[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_ntuple_filter_cfg_output (size:128b/16B) */
-struct hwrm_cfa_ntuple_filter_cfg_output {
+__rte_packed_begin struct hwrm_cfa_ntuple_filter_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -50181,7 +50181,7 @@ struct hwrm_cfa_ntuple_filter_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_cfa_em_flow_alloc *
@@ -50189,7 +50189,7 @@ struct hwrm_cfa_ntuple_filter_cfg_output {
 
 
 /* hwrm_cfa_em_flow_alloc_input (size:896b/112B) */
-struct hwrm_cfa_em_flow_alloc_input {
+__rte_packed_begin struct hwrm_cfa_em_flow_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -50539,10 +50539,10 @@ struct hwrm_cfa_em_flow_alloc_input {
 	/* Logical ID of the encapsulation record. */
 	uint32_t	encap_record_id;
 	uint8_t	unused_2[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_em_flow_alloc_output (size:192b/24B) */
-struct hwrm_cfa_em_flow_alloc_output {
+__rte_packed_begin struct hwrm_cfa_em_flow_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -50603,7 +50603,7 @@ struct hwrm_cfa_em_flow_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_cfa_em_flow_free *
@@ -50611,7 +50611,7 @@ struct hwrm_cfa_em_flow_alloc_output {
 
 
 /* hwrm_cfa_em_flow_free_input (size:192b/24B) */
-struct hwrm_cfa_em_flow_free_input {
+__rte_packed_begin struct hwrm_cfa_em_flow_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -50642,10 +50642,10 @@ struct hwrm_cfa_em_flow_free_input {
 	uint64_t	resp_addr;
 	/* This value is an opaque id into CFA data structures. */
 	uint64_t	em_filter_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_em_flow_free_output (size:128b/16B) */
-struct hwrm_cfa_em_flow_free_output {
+__rte_packed_begin struct hwrm_cfa_em_flow_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -50664,7 +50664,7 @@ struct hwrm_cfa_em_flow_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_cfa_meter_qcaps *
@@ -50672,7 +50672,7 @@ struct hwrm_cfa_em_flow_free_output {
 
 
 /* hwrm_cfa_meter_qcaps_input (size:128b/16B) */
-struct hwrm_cfa_meter_qcaps_input {
+__rte_packed_begin struct hwrm_cfa_meter_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -50701,10 +50701,10 @@ struct hwrm_cfa_meter_qcaps_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_meter_qcaps_output (size:320b/40B) */
-struct hwrm_cfa_meter_qcaps_output {
+__rte_packed_begin struct hwrm_cfa_meter_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -50778,7 +50778,7 @@ struct hwrm_cfa_meter_qcaps_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************************
  * hwrm_cfa_meter_profile_alloc *
@@ -50786,7 +50786,7 @@ struct hwrm_cfa_meter_qcaps_output {
 
 
 /* hwrm_cfa_meter_profile_alloc_input (size:320b/40B) */
-struct hwrm_cfa_meter_profile_alloc_input {
+__rte_packed_begin struct hwrm_cfa_meter_profile_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -51025,10 +51025,10 @@ struct hwrm_cfa_meter_profile_alloc_input {
 		(UINT32_C(0x7) << 29)
 	#define HWRM_CFA_METER_PROFILE_ALLOC_INPUT_EXCESS_PEAK_BURST_BW_VALUE_UNIT_LAST \
 		HWRM_CFA_METER_PROFILE_ALLOC_INPUT_EXCESS_PEAK_BURST_BW_VALUE_UNIT_INVALID
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_meter_profile_alloc_output (size:128b/16B) */
-struct hwrm_cfa_meter_profile_alloc_output {
+__rte_packed_begin struct hwrm_cfa_meter_profile_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -51057,7 +51057,7 @@ struct hwrm_cfa_meter_profile_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_cfa_meter_profile_free *
@@ -51065,7 +51065,7 @@ struct hwrm_cfa_meter_profile_alloc_output {
 
 
 /* hwrm_cfa_meter_profile_free_input (size:192b/24B) */
-struct hwrm_cfa_meter_profile_free_input {
+__rte_packed_begin struct hwrm_cfa_meter_profile_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -51121,10 +51121,10 @@ struct hwrm_cfa_meter_profile_free_input {
 	#define HWRM_CFA_METER_PROFILE_FREE_INPUT_METER_PROFILE_ID_LAST \
 		HWRM_CFA_METER_PROFILE_FREE_INPUT_METER_PROFILE_ID_INVALID
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_meter_profile_free_output (size:128b/16B) */
-struct hwrm_cfa_meter_profile_free_output {
+__rte_packed_begin struct hwrm_cfa_meter_profile_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -51143,7 +51143,7 @@ struct hwrm_cfa_meter_profile_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_cfa_meter_profile_cfg *
@@ -51151,7 +51151,7 @@ struct hwrm_cfa_meter_profile_free_output {
 
 
 /* hwrm_cfa_meter_profile_cfg_input (size:320b/40B) */
-struct hwrm_cfa_meter_profile_cfg_input {
+__rte_packed_begin struct hwrm_cfa_meter_profile_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -51393,10 +51393,10 @@ struct hwrm_cfa_meter_profile_cfg_input {
 		(UINT32_C(0x7) << 29)
 	#define HWRM_CFA_METER_PROFILE_CFG_INPUT_EXCESS_PEAK_BURST_BW_VALUE_UNIT_LAST \
 		HWRM_CFA_METER_PROFILE_CFG_INPUT_EXCESS_PEAK_BURST_BW_VALUE_UNIT_INVALID
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_meter_profile_cfg_output (size:128b/16B) */
-struct hwrm_cfa_meter_profile_cfg_output {
+__rte_packed_begin struct hwrm_cfa_meter_profile_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -51415,7 +51415,7 @@ struct hwrm_cfa_meter_profile_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************************
  * hwrm_cfa_meter_instance_alloc *
@@ -51423,7 +51423,7 @@ struct hwrm_cfa_meter_profile_cfg_output {
 
 
 /* hwrm_cfa_meter_instance_alloc_input (size:192b/24B) */
-struct hwrm_cfa_meter_instance_alloc_input {
+__rte_packed_begin struct hwrm_cfa_meter_instance_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -51480,10 +51480,10 @@ struct hwrm_cfa_meter_instance_alloc_input {
 	#define HWRM_CFA_METER_INSTANCE_ALLOC_INPUT_METER_PROFILE_ID_LAST \
 		HWRM_CFA_METER_INSTANCE_ALLOC_INPUT_METER_PROFILE_ID_INVALID
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_meter_instance_alloc_output (size:128b/16B) */
-struct hwrm_cfa_meter_instance_alloc_output {
+__rte_packed_begin struct hwrm_cfa_meter_instance_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -51512,7 +51512,7 @@ struct hwrm_cfa_meter_instance_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_cfa_meter_instance_cfg *
@@ -51520,7 +51520,7 @@ struct hwrm_cfa_meter_instance_alloc_output {
 
 
 /* hwrm_cfa_meter_instance_cfg_input (size:192b/24B) */
-struct hwrm_cfa_meter_instance_cfg_input {
+__rte_packed_begin struct hwrm_cfa_meter_instance_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -51584,10 +51584,10 @@ struct hwrm_cfa_meter_instance_cfg_input {
 	 */
 	uint16_t	meter_instance_id;
 	uint8_t	unused_1[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_meter_instance_cfg_output (size:128b/16B) */
-struct hwrm_cfa_meter_instance_cfg_output {
+__rte_packed_begin struct hwrm_cfa_meter_instance_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -51606,7 +51606,7 @@ struct hwrm_cfa_meter_instance_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************************
  * hwrm_cfa_meter_instance_free *
@@ -51614,7 +51614,7 @@ struct hwrm_cfa_meter_instance_cfg_output {
 
 
 /* hwrm_cfa_meter_instance_free_input (size:192b/24B) */
-struct hwrm_cfa_meter_instance_free_input {
+__rte_packed_begin struct hwrm_cfa_meter_instance_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -51670,10 +51670,10 @@ struct hwrm_cfa_meter_instance_free_input {
 	#define HWRM_CFA_METER_INSTANCE_FREE_INPUT_METER_INSTANCE_ID_LAST \
 		HWRM_CFA_METER_INSTANCE_FREE_INPUT_METER_INSTANCE_ID_INVALID
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_meter_instance_free_output (size:128b/16B) */
-struct hwrm_cfa_meter_instance_free_output {
+__rte_packed_begin struct hwrm_cfa_meter_instance_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -51692,7 +51692,7 @@ struct hwrm_cfa_meter_instance_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_cfa_decap_filter_alloc *
@@ -51700,7 +51700,7 @@ struct hwrm_cfa_meter_instance_free_output {
 
 
 /* hwrm_cfa_decap_filter_alloc_input (size:832b/104B) */
-struct hwrm_cfa_decap_filter_alloc_input {
+__rte_packed_begin struct hwrm_cfa_decap_filter_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -52003,10 +52003,10 @@ struct hwrm_cfa_decap_filter_alloc_input {
 	 * L2 information of the decap filter.
 	 */
 	uint16_t	l2_ctxt_ref_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_decap_filter_alloc_output (size:128b/16B) */
-struct hwrm_cfa_decap_filter_alloc_output {
+__rte_packed_begin struct hwrm_cfa_decap_filter_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -52027,7 +52027,7 @@ struct hwrm_cfa_decap_filter_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_cfa_decap_filter_free *
@@ -52035,7 +52035,7 @@ struct hwrm_cfa_decap_filter_alloc_output {
 
 
 /* hwrm_cfa_decap_filter_free_input (size:192b/24B) */
-struct hwrm_cfa_decap_filter_free_input {
+__rte_packed_begin struct hwrm_cfa_decap_filter_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -52067,10 +52067,10 @@ struct hwrm_cfa_decap_filter_free_input {
 	/* This value is an opaque id into CFA data structures. */
 	uint32_t	decap_filter_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_decap_filter_free_output (size:128b/16B) */
-struct hwrm_cfa_decap_filter_free_output {
+__rte_packed_begin struct hwrm_cfa_decap_filter_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -52089,7 +52089,7 @@ struct hwrm_cfa_decap_filter_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_cfa_flow_alloc *
@@ -52097,7 +52097,7 @@ struct hwrm_cfa_decap_filter_free_output {
 
 
 /* hwrm_cfa_flow_alloc_input (size:1024b/128B) */
-struct hwrm_cfa_flow_alloc_input {
+__rte_packed_begin struct hwrm_cfa_flow_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -52387,10 +52387,10 @@ struct hwrm_cfa_flow_alloc_input {
 		UINT32_C(0xff)
 	#define HWRM_CFA_FLOW_ALLOC_INPUT_TUNNEL_TYPE_LAST \
 		HWRM_CFA_FLOW_ALLOC_INPUT_TUNNEL_TYPE_ANYTUNNEL
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_alloc_output (size:256b/32B) */
-struct hwrm_cfa_flow_alloc_output {
+__rte_packed_begin struct hwrm_cfa_flow_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -52455,10 +52455,10 @@ struct hwrm_cfa_flow_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_alloc_cmd_err (size:64b/8B) */
-struct hwrm_cfa_flow_alloc_cmd_err {
+__rte_packed_begin struct hwrm_cfa_flow_alloc_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -52483,7 +52483,7 @@ struct hwrm_cfa_flow_alloc_cmd_err {
 	#define HWRM_CFA_FLOW_ALLOC_CMD_ERR_CODE_LAST \
 		HWRM_CFA_FLOW_ALLOC_CMD_ERR_CODE_FLOW_CTXT_DB
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_cfa_flow_free *
@@ -52491,7 +52491,7 @@ struct hwrm_cfa_flow_alloc_cmd_err {
 
 
 /* hwrm_cfa_flow_free_input (size:256b/32B) */
-struct hwrm_cfa_flow_free_input {
+__rte_packed_begin struct hwrm_cfa_flow_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -52527,10 +52527,10 @@ struct hwrm_cfa_flow_free_input {
 	uint32_t	flow_counter_id;
 	/* This value identifies a set of CFA data structures used for a flow. */
 	uint64_t	ext_flow_handle;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_free_output (size:256b/32B) */
-struct hwrm_cfa_flow_free_output {
+__rte_packed_begin struct hwrm_cfa_flow_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -52553,10 +52553,10 @@ struct hwrm_cfa_flow_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_action_data (size:960b/120B) */
-struct hwrm_cfa_flow_action_data {
+__rte_packed_begin struct hwrm_cfa_flow_action_data {
 	uint16_t	action_flags;
 	/* Setting of this flag indicates accept action. */
 	#define HWRM_CFA_FLOW_ACTION_DATA_ACTION_FLAGS_FWD \
@@ -52643,10 +52643,10 @@ struct hwrm_cfa_flow_action_data {
 	uint8_t	unused[7];
 	/* This value is encap data for the associated encap type. */
 	uint32_t	encap_data[20];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_tunnel_hdr_data (size:64b/8B) */
-struct hwrm_cfa_flow_tunnel_hdr_data {
+__rte_packed_begin struct hwrm_cfa_flow_tunnel_hdr_data {
 	/* Tunnel Type. */
 	uint8_t	tunnel_type;
 	/* Non-tunnel */
@@ -52708,19 +52708,19 @@ struct hwrm_cfa_flow_tunnel_hdr_data {
 	 * Virtual Network Identifier (VNI).
 	 */
 	uint32_t	tunnel_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_l4_key_data (size:64b/8B) */
-struct hwrm_cfa_flow_l4_key_data {
+__rte_packed_begin struct hwrm_cfa_flow_l4_key_data {
 	/* The value of source port. */
 	uint16_t	l4_src_port;
 	/* The value of destination port. */
 	uint16_t	l4_dst_port;
 	uint32_t	unused;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_l3_key_data (size:512b/64B) */
-struct hwrm_cfa_flow_l3_key_data {
+__rte_packed_begin struct hwrm_cfa_flow_l3_key_data {
 	/* The value of ip protocol. */
 	uint8_t	ip_protocol;
 	uint8_t	unused_0[7];
@@ -52731,10 +52731,10 @@ struct hwrm_cfa_flow_l3_key_data {
 	/* NAT IPv4/IPv6 address. */
 	uint32_t	nat_ip_address[4];
 	uint32_t	unused[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_l2_key_data (size:448b/56B) */
-struct hwrm_cfa_flow_l2_key_data {
+__rte_packed_begin struct hwrm_cfa_flow_l2_key_data {
 	/* Destination MAC address. */
 	uint16_t	dmac[3];
 	uint16_t	unused_0;
@@ -52764,10 +52764,10 @@ struct hwrm_cfa_flow_l2_key_data {
 	/* Inner VLAN TCI. */
 	uint16_t	ivlan_tci;
 	uint8_t	unused[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_key_data (size:4160b/520B) */
-struct hwrm_cfa_flow_key_data {
+__rte_packed_begin struct hwrm_cfa_flow_key_data {
 	/* Flow associated tunnel L2 header key info. */
 	uint32_t	t_l2_key_data[14];
 	/* Flow associated tunnel L2 header mask info. */
@@ -52794,7 +52794,7 @@ struct hwrm_cfa_flow_key_data {
 	uint32_t	l4_key_data[2];
 	/* Flow associated L4 header mask info. */
 	uint32_t	l4_key_mask[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_cfa_flow_info *
@@ -52802,7 +52802,7 @@ struct hwrm_cfa_flow_key_data {
 
 
 /* hwrm_cfa_flow_info_input (size:256b/32B) */
-struct hwrm_cfa_flow_info_input {
+__rte_packed_begin struct hwrm_cfa_flow_info_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -52868,10 +52868,10 @@ struct hwrm_cfa_flow_info_input {
 	uint8_t	unused_0[6];
 	/* This value identifies a set of CFA data structures used for a flow. */
 	uint64_t	ext_flow_handle;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_info_output (size:5632b/704B) */
-struct hwrm_cfa_flow_info_output {
+__rte_packed_begin struct hwrm_cfa_flow_info_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -52922,7 +52922,7 @@ struct hwrm_cfa_flow_info_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_cfa_flow_flush *
@@ -52930,7 +52930,7 @@ struct hwrm_cfa_flow_info_output {
 
 
 /* hwrm_cfa_flow_flush_input (size:256b/32B) */
-struct hwrm_cfa_flow_flush_input {
+__rte_packed_begin struct hwrm_cfa_flow_flush_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -53045,10 +53045,10 @@ struct hwrm_cfa_flow_flush_input {
 	uint16_t	num_flows;
 	/* Pointer to the PBL, or PDL depending on number of levels */
 	uint64_t	page_dir;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_flush_output (size:128b/16B) */
-struct hwrm_cfa_flow_flush_output {
+__rte_packed_begin struct hwrm_cfa_flow_flush_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -53067,7 +53067,7 @@ struct hwrm_cfa_flow_flush_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_cfa_flow_stats *
@@ -53075,7 +53075,7 @@ struct hwrm_cfa_flow_flush_output {
 
 
 /* hwrm_cfa_flow_stats_input (size:640b/80B) */
-struct hwrm_cfa_flow_stats_input {
+__rte_packed_begin struct hwrm_cfa_flow_stats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -53187,10 +53187,10 @@ struct hwrm_cfa_flow_stats_input {
 	uint32_t	flow_id_8;
 	/* Flow ID of a flow. */
 	uint32_t	flow_id_9;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_stats_output (size:1408b/176B) */
-struct hwrm_cfa_flow_stats_output {
+__rte_packed_begin struct hwrm_cfa_flow_stats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -53258,7 +53258,7 @@ struct hwrm_cfa_flow_stats_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************************
  * hwrm_cfa_flow_aging_timer_reset *
@@ -53266,7 +53266,7 @@ struct hwrm_cfa_flow_stats_output {
 
 
 /* hwrm_cfa_flow_aging_timer_reset_input (size:256b/32B) */
-struct hwrm_cfa_flow_aging_timer_reset_input {
+__rte_packed_begin struct hwrm_cfa_flow_aging_timer_reset_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -53305,10 +53305,10 @@ struct hwrm_cfa_flow_aging_timer_reset_input {
 	uint32_t	flow_timer;
 	/* This value identifies a set of CFA data structures used for a flow. */
 	uint64_t	ext_flow_handle;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_aging_timer_reset_output (size:128b/16B) */
-struct hwrm_cfa_flow_aging_timer_reset_output {
+__rte_packed_begin struct hwrm_cfa_flow_aging_timer_reset_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -53327,7 +53327,7 @@ struct hwrm_cfa_flow_aging_timer_reset_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_cfa_flow_aging_cfg *
@@ -53335,7 +53335,7 @@ struct hwrm_cfa_flow_aging_timer_reset_output {
 
 
 /* hwrm_cfa_flow_aging_cfg_input (size:384b/48B) */
-struct hwrm_cfa_flow_aging_cfg_input {
+__rte_packed_begin struct hwrm_cfa_flow_aging_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -53476,10 +53476,10 @@ struct hwrm_cfa_flow_aging_cfg_input {
 	#define HWRM_CFA_FLOW_AGING_CFG_INPUT_EEM_CTX_MEM_TYPE_LAST \
 		HWRM_CFA_FLOW_AGING_CFG_INPUT_EEM_CTX_MEM_TYPE_EJECTION_DATA
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_aging_cfg_output (size:128b/16B) */
-struct hwrm_cfa_flow_aging_cfg_output {
+__rte_packed_begin struct hwrm_cfa_flow_aging_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -53498,7 +53498,7 @@ struct hwrm_cfa_flow_aging_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_cfa_flow_aging_qcfg *
@@ -53506,7 +53506,7 @@ struct hwrm_cfa_flow_aging_cfg_output {
 
 
 /* hwrm_cfa_flow_aging_qcfg_input (size:192b/24B) */
-struct hwrm_cfa_flow_aging_qcfg_input {
+__rte_packed_begin struct hwrm_cfa_flow_aging_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -53549,10 +53549,10 @@ struct hwrm_cfa_flow_aging_qcfg_input {
 	#define HWRM_CFA_FLOW_AGING_QCFG_INPUT_FLAGS_PATH_LAST \
 		HWRM_CFA_FLOW_AGING_QCFG_INPUT_FLAGS_PATH_RX
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_aging_qcfg_output (size:320b/40B) */
-struct hwrm_cfa_flow_aging_qcfg_output {
+__rte_packed_begin struct hwrm_cfa_flow_aging_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -53602,7 +53602,7 @@ struct hwrm_cfa_flow_aging_qcfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_cfa_flow_aging_qcaps *
@@ -53610,7 +53610,7 @@ struct hwrm_cfa_flow_aging_qcfg_output {
 
 
 /* hwrm_cfa_flow_aging_qcaps_input (size:192b/24B) */
-struct hwrm_cfa_flow_aging_qcaps_input {
+__rte_packed_begin struct hwrm_cfa_flow_aging_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -53653,10 +53653,10 @@ struct hwrm_cfa_flow_aging_qcaps_input {
 	#define HWRM_CFA_FLOW_AGING_QCAPS_INPUT_FLAGS_PATH_LAST \
 		HWRM_CFA_FLOW_AGING_QCAPS_INPUT_FLAGS_PATH_RX
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_flow_aging_qcaps_output (size:256b/32B) */
-struct hwrm_cfa_flow_aging_qcaps_output {
+__rte_packed_begin struct hwrm_cfa_flow_aging_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -53692,7 +53692,7 @@ struct hwrm_cfa_flow_aging_qcaps_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************************
  * hwrm_cfa_tcp_flag_process_qcfg *
@@ -53700,7 +53700,7 @@ struct hwrm_cfa_flow_aging_qcaps_output {
 
 
 /* hwrm_cfa_tcp_flag_process_qcfg_input (size:128b/16B) */
-struct hwrm_cfa_tcp_flag_process_qcfg_input {
+__rte_packed_begin struct hwrm_cfa_tcp_flag_process_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -53729,10 +53729,10 @@ struct hwrm_cfa_tcp_flag_process_qcfg_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_tcp_flag_process_qcfg_output (size:192b/24B) */
-struct hwrm_cfa_tcp_flag_process_qcfg_output {
+__rte_packed_begin struct hwrm_cfa_tcp_flag_process_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -53765,7 +53765,7 @@ struct hwrm_cfa_tcp_flag_process_qcfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_cfa_vf_pair_alloc *
@@ -53773,7 +53773,7 @@ struct hwrm_cfa_tcp_flag_process_qcfg_output {
 
 
 /* hwrm_cfa_vf_pair_alloc_input (size:448b/56B) */
-struct hwrm_cfa_vf_pair_alloc_input {
+__rte_packed_begin struct hwrm_cfa_vf_pair_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -53809,10 +53809,10 @@ struct hwrm_cfa_vf_pair_alloc_input {
 	uint8_t	unused_0[4];
 	/* VF Pair name (32 byte string). */
 	char	pair_name[32];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_vf_pair_alloc_output (size:128b/16B) */
-struct hwrm_cfa_vf_pair_alloc_output {
+__rte_packed_begin struct hwrm_cfa_vf_pair_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -53831,7 +53831,7 @@ struct hwrm_cfa_vf_pair_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_cfa_vf_pair_free *
@@ -53839,7 +53839,7 @@ struct hwrm_cfa_vf_pair_alloc_output {
 
 
 /* hwrm_cfa_vf_pair_free_input (size:384b/48B) */
-struct hwrm_cfa_vf_pair_free_input {
+__rte_packed_begin struct hwrm_cfa_vf_pair_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -53870,10 +53870,10 @@ struct hwrm_cfa_vf_pair_free_input {
 	uint64_t	resp_addr;
 	/* VF Pair name (32 byte string). */
 	char	pair_name[32];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_vf_pair_free_output (size:128b/16B) */
-struct hwrm_cfa_vf_pair_free_output {
+__rte_packed_begin struct hwrm_cfa_vf_pair_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -53892,7 +53892,7 @@ struct hwrm_cfa_vf_pair_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_cfa_vf_pair_info *
@@ -53900,7 +53900,7 @@ struct hwrm_cfa_vf_pair_free_output {
 
 
 /* hwrm_cfa_vf_pair_info_input (size:448b/56B) */
-struct hwrm_cfa_vf_pair_info_input {
+__rte_packed_begin struct hwrm_cfa_vf_pair_info_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -53937,10 +53937,10 @@ struct hwrm_cfa_vf_pair_info_input {
 	uint8_t	unused_0[2];
 	/* VF Pair name (32 byte string). */
 	char	vf_pair_name[32];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_vf_pair_info_output (size:512b/64B) */
-struct hwrm_cfa_vf_pair_info_output {
+__rte_packed_begin struct hwrm_cfa_vf_pair_info_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -53980,7 +53980,7 @@ struct hwrm_cfa_vf_pair_info_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_cfa_pair_alloc *
@@ -53988,7 +53988,7 @@ struct hwrm_cfa_vf_pair_info_output {
 
 
 /* hwrm_cfa_pair_alloc_input (size:576b/72B) */
-struct hwrm_cfa_pair_alloc_input {
+__rte_packed_begin struct hwrm_cfa_pair_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -54126,10 +54126,10 @@ struct hwrm_cfa_pair_alloc_input {
 	 */
 	uint8_t	fc_ba;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_pair_alloc_output (size:192b/24B) */
-struct hwrm_cfa_pair_alloc_output {
+__rte_packed_begin struct hwrm_cfa_pair_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -54156,7 +54156,7 @@ struct hwrm_cfa_pair_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_cfa_pair_free *
@@ -54164,7 +54164,7 @@ struct hwrm_cfa_pair_alloc_output {
 
 
 /* hwrm_cfa_pair_free_input (size:448b/56B) */
-struct hwrm_cfa_pair_free_input {
+__rte_packed_begin struct hwrm_cfa_pair_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -54238,10 +54238,10 @@ struct hwrm_cfa_pair_free_input {
 	#define HWRM_CFA_PAIR_FREE_INPUT_PAIR_MODE_REP2FN_TRUFLOW UINT32_C(0x7)
 	#define HWRM_CFA_PAIR_FREE_INPUT_PAIR_MODE_LAST \
 		HWRM_CFA_PAIR_FREE_INPUT_PAIR_MODE_REP2FN_TRUFLOW
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_pair_free_output (size:128b/16B) */
-struct hwrm_cfa_pair_free_output {
+__rte_packed_begin struct hwrm_cfa_pair_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -54260,7 +54260,7 @@ struct hwrm_cfa_pair_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_cfa_pair_info *
@@ -54268,7 +54268,7 @@ struct hwrm_cfa_pair_free_output {
 
 
 /* hwrm_cfa_pair_info_input (size:448b/56B) */
-struct hwrm_cfa_pair_info_input {
+__rte_packed_begin struct hwrm_cfa_pair_info_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -54310,10 +54310,10 @@ struct hwrm_cfa_pair_info_input {
 	uint8_t	pair_vfid;
 	/* Pair name (32 byte string). */
 	char	pair_name[32];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_pair_info_output (size:576b/72B) */
-struct hwrm_cfa_pair_info_output {
+__rte_packed_begin struct hwrm_cfa_pair_info_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -54391,7 +54391,7 @@ struct hwrm_cfa_pair_info_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_cfa_vfr_alloc *
@@ -54399,7 +54399,7 @@ struct hwrm_cfa_pair_info_output {
 
 
 /* hwrm_cfa_vfr_alloc_input (size:448b/56B) */
-struct hwrm_cfa_vfr_alloc_input {
+__rte_packed_begin struct hwrm_cfa_vfr_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -54438,10 +54438,10 @@ struct hwrm_cfa_vfr_alloc_input {
 	uint8_t	unused_0[4];
 	/* VF Representor name (32 byte string). */
 	char	vfr_name[32];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_vfr_alloc_output (size:128b/16B) */
-struct hwrm_cfa_vfr_alloc_output {
+__rte_packed_begin struct hwrm_cfa_vfr_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -54464,7 +54464,7 @@ struct hwrm_cfa_vfr_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_cfa_vfr_free *
@@ -54472,7 +54472,7 @@ struct hwrm_cfa_vfr_alloc_output {
 
 
 /* hwrm_cfa_vfr_free_input (size:448b/56B) */
-struct hwrm_cfa_vfr_free_input {
+__rte_packed_begin struct hwrm_cfa_vfr_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -54511,10 +54511,10 @@ struct hwrm_cfa_vfr_free_input {
 	 */
 	uint16_t	reserved;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_vfr_free_output (size:128b/16B) */
-struct hwrm_cfa_vfr_free_output {
+__rte_packed_begin struct hwrm_cfa_vfr_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -54533,7 +54533,7 @@ struct hwrm_cfa_vfr_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************************
  * hwrm_cfa_redirect_query_tunnel_type *
@@ -54541,7 +54541,7 @@ struct hwrm_cfa_vfr_free_output {
 
 
 /* hwrm_cfa_redirect_query_tunnel_type_input (size:192b/24B) */
-struct hwrm_cfa_redirect_query_tunnel_type_input {
+__rte_packed_begin struct hwrm_cfa_redirect_query_tunnel_type_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -54573,10 +54573,10 @@ struct hwrm_cfa_redirect_query_tunnel_type_input {
 	/* The source function id. */
 	uint16_t	src_fid;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_redirect_query_tunnel_type_output (size:128b/16B) */
-struct hwrm_cfa_redirect_query_tunnel_type_output {
+__rte_packed_begin struct hwrm_cfa_redirect_query_tunnel_type_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -54648,7 +54648,7 @@ struct hwrm_cfa_redirect_query_tunnel_type_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_cfa_ctx_mem_rgtr *
@@ -54656,7 +54656,7 @@ struct hwrm_cfa_redirect_query_tunnel_type_output {
 
 
 /* hwrm_cfa_ctx_mem_rgtr_input (size:256b/32B) */
-struct hwrm_cfa_ctx_mem_rgtr_input {
+__rte_packed_begin struct hwrm_cfa_ctx_mem_rgtr_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -54722,10 +54722,10 @@ struct hwrm_cfa_ctx_mem_rgtr_input {
 	uint32_t	unused_0;
 	/* Pointer to the PBL, or PDL depending on number of levels */
 	uint64_t	page_dir;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_ctx_mem_rgtr_output (size:128b/16B) */
-struct hwrm_cfa_ctx_mem_rgtr_output {
+__rte_packed_begin struct hwrm_cfa_ctx_mem_rgtr_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -54749,7 +54749,7 @@ struct hwrm_cfa_ctx_mem_rgtr_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_cfa_ctx_mem_unrgtr *
@@ -54757,7 +54757,7 @@ struct hwrm_cfa_ctx_mem_rgtr_output {
 
 
 /* hwrm_cfa_ctx_mem_unrgtr_input (size:192b/24B) */
-struct hwrm_cfa_ctx_mem_unrgtr_input {
+__rte_packed_begin struct hwrm_cfa_ctx_mem_unrgtr_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -54792,10 +54792,10 @@ struct hwrm_cfa_ctx_mem_unrgtr_input {
 	 */
 	uint16_t	ctx_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_ctx_mem_unrgtr_output (size:128b/16B) */
-struct hwrm_cfa_ctx_mem_unrgtr_output {
+__rte_packed_begin struct hwrm_cfa_ctx_mem_unrgtr_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -54814,7 +54814,7 @@ struct hwrm_cfa_ctx_mem_unrgtr_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_cfa_ctx_mem_qctx *
@@ -54822,7 +54822,7 @@ struct hwrm_cfa_ctx_mem_unrgtr_output {
 
 
 /* hwrm_cfa_ctx_mem_qctx_input (size:192b/24B) */
-struct hwrm_cfa_ctx_mem_qctx_input {
+__rte_packed_begin struct hwrm_cfa_ctx_mem_qctx_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -54857,10 +54857,10 @@ struct hwrm_cfa_ctx_mem_qctx_input {
 	 */
 	uint16_t	ctx_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_ctx_mem_qctx_output (size:256b/32B) */
-struct hwrm_cfa_ctx_mem_qctx_output {
+__rte_packed_begin struct hwrm_cfa_ctx_mem_qctx_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -54916,7 +54916,7 @@ struct hwrm_cfa_ctx_mem_qctx_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_cfa_ctx_mem_qcaps *
@@ -54924,7 +54924,7 @@ struct hwrm_cfa_ctx_mem_qctx_output {
 
 
 /* hwrm_cfa_ctx_mem_qcaps_input (size:128b/16B) */
-struct hwrm_cfa_ctx_mem_qcaps_input {
+__rte_packed_begin struct hwrm_cfa_ctx_mem_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -54953,10 +54953,10 @@ struct hwrm_cfa_ctx_mem_qcaps_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_ctx_mem_qcaps_output (size:128b/16B) */
-struct hwrm_cfa_ctx_mem_qcaps_output {
+__rte_packed_begin struct hwrm_cfa_ctx_mem_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -54980,7 +54980,7 @@ struct hwrm_cfa_ctx_mem_qcaps_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_cfa_counter_qcaps *
@@ -54988,7 +54988,7 @@ struct hwrm_cfa_ctx_mem_qcaps_output {
 
 
 /* hwrm_cfa_counter_qcaps_input (size:128b/16B) */
-struct hwrm_cfa_counter_qcaps_input {
+__rte_packed_begin struct hwrm_cfa_counter_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -55017,10 +55017,10 @@ struct hwrm_cfa_counter_qcaps_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_counter_qcaps_output (size:576b/72B) */
-struct hwrm_cfa_counter_qcaps_output {
+__rte_packed_begin struct hwrm_cfa_counter_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -55117,7 +55117,7 @@ struct hwrm_cfa_counter_qcaps_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_cfa_counter_cfg *
@@ -55125,7 +55125,7 @@ struct hwrm_cfa_counter_qcaps_output {
 
 
 /* hwrm_cfa_counter_cfg_input (size:256b/32B) */
-struct hwrm_cfa_counter_cfg_input {
+__rte_packed_begin struct hwrm_cfa_counter_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -55208,10 +55208,10 @@ struct hwrm_cfa_counter_cfg_input {
 	/* Total number of entries. */
 	uint32_t	num_entries;
 	uint32_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_counter_cfg_output (size:128b/16B) */
-struct hwrm_cfa_counter_cfg_output {
+__rte_packed_begin struct hwrm_cfa_counter_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -55230,7 +55230,7 @@ struct hwrm_cfa_counter_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_cfa_counter_qstats *
@@ -55238,7 +55238,7 @@ struct hwrm_cfa_counter_cfg_output {
 
 
 /* hwrm_cfa_counter_qstats_input (size:320b/40B) */
-struct hwrm_cfa_counter_qstats_input {
+__rte_packed_begin struct hwrm_cfa_counter_qstats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -55284,10 +55284,10 @@ struct hwrm_cfa_counter_qstats_input {
 	uint16_t	mdc_ctx_id;
 	uint8_t	unused_0[2];
 	uint64_t	expected_count;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_counter_qstats_output (size:128b/16B) */
-struct hwrm_cfa_counter_qstats_output {
+__rte_packed_begin struct hwrm_cfa_counter_qstats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -55306,7 +55306,7 @@ struct hwrm_cfa_counter_qstats_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_cfa_eem_qcaps *
@@ -55314,7 +55314,7 @@ struct hwrm_cfa_counter_qstats_output {
 
 
 /* hwrm_cfa_eem_qcaps_input (size:192b/24B) */
-struct hwrm_cfa_eem_qcaps_input {
+__rte_packed_begin struct hwrm_cfa_eem_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -55362,10 +55362,10 @@ struct hwrm_cfa_eem_qcaps_input {
 	#define HWRM_CFA_EEM_QCAPS_INPUT_FLAGS_PREFERRED_OFFLOAD \
 		UINT32_C(0x4)
 	uint32_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_eem_qcaps_output (size:320b/40B) */
-struct hwrm_cfa_eem_qcaps_output {
+__rte_packed_begin struct hwrm_cfa_eem_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -55468,7 +55468,7 @@ struct hwrm_cfa_eem_qcaps_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************
  * hwrm_cfa_eem_cfg *
@@ -55476,7 +55476,7 @@ struct hwrm_cfa_eem_qcaps_output {
 
 
 /* hwrm_cfa_eem_cfg_input (size:384b/48B) */
-struct hwrm_cfa_eem_cfg_input {
+__rte_packed_begin struct hwrm_cfa_eem_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -55552,10 +55552,10 @@ struct hwrm_cfa_eem_cfg_input {
 	uint16_t	fid_ctx_id;
 	uint16_t	unused_2;
 	uint32_t	unused_3;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_eem_cfg_output (size:128b/16B) */
-struct hwrm_cfa_eem_cfg_output {
+__rte_packed_begin struct hwrm_cfa_eem_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -55574,7 +55574,7 @@ struct hwrm_cfa_eem_cfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_cfa_eem_qcfg *
@@ -55582,7 +55582,7 @@ struct hwrm_cfa_eem_cfg_output {
 
 
 /* hwrm_cfa_eem_qcfg_input (size:192b/24B) */
-struct hwrm_cfa_eem_qcfg_input {
+__rte_packed_begin struct hwrm_cfa_eem_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -55617,10 +55617,10 @@ struct hwrm_cfa_eem_qcfg_input {
 	/* When set to 1, indicates the configuration is the RX flow. */
 	#define HWRM_CFA_EEM_QCFG_INPUT_FLAGS_PATH_RX     UINT32_C(0x2)
 	uint32_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_eem_qcfg_output (size:256b/32B) */
-struct hwrm_cfa_eem_qcfg_output {
+__rte_packed_begin struct hwrm_cfa_eem_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -55661,7 +55661,7 @@ struct hwrm_cfa_eem_qcfg_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_cfa_eem_op *
@@ -55669,7 +55669,7 @@ struct hwrm_cfa_eem_qcfg_output {
 
 
 /* hwrm_cfa_eem_op_input (size:192b/24B) */
-struct hwrm_cfa_eem_op_input {
+__rte_packed_begin struct hwrm_cfa_eem_op_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -55737,10 +55737,10 @@ struct hwrm_cfa_eem_op_input {
 	#define HWRM_CFA_EEM_OP_INPUT_OP_EEM_CLEANUP UINT32_C(0x3)
 	#define HWRM_CFA_EEM_OP_INPUT_OP_LAST \
 		HWRM_CFA_EEM_OP_INPUT_OP_EEM_CLEANUP
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_eem_op_output (size:128b/16B) */
-struct hwrm_cfa_eem_op_output {
+__rte_packed_begin struct hwrm_cfa_eem_op_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -55759,7 +55759,7 @@ struct hwrm_cfa_eem_op_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************************
  * hwrm_cfa_adv_flow_mgnt_qcaps *
@@ -55767,7 +55767,7 @@ struct hwrm_cfa_eem_op_output {
 
 
 /* hwrm_cfa_adv_flow_mgnt_qcaps_input (size:256b/32B) */
-struct hwrm_cfa_adv_flow_mgnt_qcaps_input {
+__rte_packed_begin struct hwrm_cfa_adv_flow_mgnt_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -55797,10 +55797,10 @@ struct hwrm_cfa_adv_flow_mgnt_qcaps_input {
 	 */
 	uint64_t	resp_addr;
 	uint32_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_adv_flow_mgnt_qcaps_output (size:128b/16B) */
-struct hwrm_cfa_adv_flow_mgnt_qcaps_output {
+__rte_packed_begin struct hwrm_cfa_adv_flow_mgnt_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -55977,7 +55977,7 @@ struct hwrm_cfa_adv_flow_mgnt_qcaps_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_cfa_tflib *
@@ -55985,7 +55985,7 @@ struct hwrm_cfa_adv_flow_mgnt_qcaps_output {
 
 
 /* hwrm_cfa_tflib_input (size:1024b/128B) */
-struct hwrm_cfa_tflib_input {
+__rte_packed_begin struct hwrm_cfa_tflib_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56022,10 +56022,10 @@ struct hwrm_cfa_tflib_input {
 	uint8_t	unused0[4];
 	/* TFLIB request data. */
 	uint32_t	tf_req[26];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_tflib_output (size:5632b/704B) */
-struct hwrm_cfa_tflib_output {
+__rte_packed_begin struct hwrm_cfa_tflib_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -56053,7 +56053,7 @@ struct hwrm_cfa_tflib_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************************
  * hwrm_cfa_lag_group_member_rgtr *
@@ -56061,7 +56061,7 @@ struct hwrm_cfa_tflib_output {
 
 
 /* hwrm_cfa_lag_group_member_rgtr_input (size:192b/24B) */
-struct hwrm_cfa_lag_group_member_rgtr_input {
+__rte_packed_begin struct hwrm_cfa_lag_group_member_rgtr_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56122,10 +56122,10 @@ struct hwrm_cfa_lag_group_member_rgtr_input {
 	/* Specify the active port when active-backup mode is specified */
 	uint8_t	active_port;
 	uint8_t	unused_0[5];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_lag_group_member_rgtr_output (size:128b/16B) */
-struct hwrm_cfa_lag_group_member_rgtr_output {
+__rte_packed_begin struct hwrm_cfa_lag_group_member_rgtr_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -56146,7 +56146,7 @@ struct hwrm_cfa_lag_group_member_rgtr_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************************
  * hwrm_cfa_lag_group_member_unrgtr *
@@ -56154,7 +56154,7 @@ struct hwrm_cfa_lag_group_member_rgtr_output {
 
 
 /* hwrm_cfa_lag_group_member_unrgtr_input (size:192b/24B) */
-struct hwrm_cfa_lag_group_member_unrgtr_input {
+__rte_packed_begin struct hwrm_cfa_lag_group_member_unrgtr_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56186,10 +56186,10 @@ struct hwrm_cfa_lag_group_member_unrgtr_input {
 	/* lag group ID configured for the function */
 	uint16_t	lag_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_lag_group_member_unrgtr_output (size:128b/16B) */
-struct hwrm_cfa_lag_group_member_unrgtr_output {
+__rte_packed_begin struct hwrm_cfa_lag_group_member_unrgtr_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -56208,7 +56208,7 @@ struct hwrm_cfa_lag_group_member_unrgtr_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_cfa_tls_filter_alloc *
@@ -56216,7 +56216,7 @@ struct hwrm_cfa_lag_group_member_unrgtr_output {
 
 
 /* hwrm_cfa_tls_filter_alloc_input (size:768b/96B) */
-struct hwrm_cfa_tls_filter_alloc_input {
+__rte_packed_begin struct hwrm_cfa_tls_filter_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56403,10 +56403,10 @@ struct hwrm_cfa_tls_filter_alloc_input {
 	uint32_t	kid;
 	/* The Destination Connection ID of QUIC. */
 	uint64_t	quic_dst_connect_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_tls_filter_alloc_output (size:192b/24B) */
-struct hwrm_cfa_tls_filter_alloc_output {
+__rte_packed_begin struct hwrm_cfa_tls_filter_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -56467,7 +56467,7 @@ struct hwrm_cfa_tls_filter_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_cfa_tls_filter_free *
@@ -56475,7 +56475,7 @@ struct hwrm_cfa_tls_filter_alloc_output {
 
 
 /* hwrm_cfa_tls_filter_free_input (size:192b/24B) */
-struct hwrm_cfa_tls_filter_free_input {
+__rte_packed_begin struct hwrm_cfa_tls_filter_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56506,10 +56506,10 @@ struct hwrm_cfa_tls_filter_free_input {
 	uint64_t	resp_addr;
 	/* This value is an opaque id into CFA data structures. */
 	uint64_t	tls_filter_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_tls_filter_free_output (size:128b/16B) */
-struct hwrm_cfa_tls_filter_free_output {
+__rte_packed_begin struct hwrm_cfa_tls_filter_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -56528,7 +56528,7 @@ struct hwrm_cfa_tls_filter_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_cfa_release_afm_func *
@@ -56536,7 +56536,7 @@ struct hwrm_cfa_tls_filter_free_output {
 
 
 /* hwrm_cfa_release_afm_func_input (size:256b/32B) */
-struct hwrm_cfa_release_afm_func_input {
+__rte_packed_begin struct hwrm_cfa_release_afm_func_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56595,10 +56595,10 @@ struct hwrm_cfa_release_afm_func_input {
 	#define HWRM_CFA_RELEASE_AFM_FUNC_INPUT_FLAGS_PROMISC_REM \
 		UINT32_C(0x4)
 	uint32_t	unused_1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_cfa_release_afm_func_output (size:128b/16B) */
-struct hwrm_cfa_release_afm_func_output {
+__rte_packed_begin struct hwrm_cfa_release_afm_func_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -56617,7 +56617,7 @@ struct hwrm_cfa_release_afm_func_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********
  * hwrm_tf *
@@ -56625,7 +56625,7 @@ struct hwrm_cfa_release_afm_func_output {
 
 
 /* hwrm_tf_input (size:1024b/128B) */
-struct hwrm_tf_input {
+__rte_packed_begin struct hwrm_tf_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56662,10 +56662,10 @@ struct hwrm_tf_input {
 	uint8_t	unused0[4];
 	/* TF request data. */
 	uint32_t	req[26];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_output (size:5632b/704B) */
-struct hwrm_tf_output {
+__rte_packed_begin struct hwrm_tf_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -56693,7 +56693,7 @@ struct hwrm_tf_output {
 	 * to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_tf_version_get *
@@ -56701,7 +56701,7 @@ struct hwrm_tf_output {
 
 
 /* hwrm_tf_version_get_input (size:128b/16B) */
-struct hwrm_tf_version_get_input {
+__rte_packed_begin struct hwrm_tf_version_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56730,10 +56730,10 @@ struct hwrm_tf_version_get_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_version_get_output (size:256b/32B) */
-struct hwrm_tf_version_get_output {
+__rte_packed_begin struct hwrm_tf_version_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -56766,7 +56766,7 @@ struct hwrm_tf_version_get_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_tf_session_open *
@@ -56774,7 +56774,7 @@ struct hwrm_tf_version_get_output {
 
 
 /* hwrm_tf_session_open_input (size:640b/80B) */
-struct hwrm_tf_session_open_input {
+__rte_packed_begin struct hwrm_tf_session_open_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56805,10 +56805,10 @@ struct hwrm_tf_session_open_input {
 	uint64_t	resp_addr;
 	/* Name of the session. */
 	uint8_t	session_name[64];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_open_output (size:192b/24B) */
-struct hwrm_tf_session_open_output {
+__rte_packed_begin struct hwrm_tf_session_open_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -56861,7 +56861,7 @@ struct hwrm_tf_session_open_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_tf_session_register *
@@ -56869,7 +56869,7 @@ struct hwrm_tf_session_open_output {
 
 
 /* hwrm_tf_session_register_input (size:704b/88B) */
-struct hwrm_tf_session_register_input {
+__rte_packed_begin struct hwrm_tf_session_register_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56911,10 +56911,10 @@ struct hwrm_tf_session_register_input {
 	uint32_t	unused0;
 	/* Name of the session client. */
 	uint8_t	session_client_name[64];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_register_output (size:128b/16B) */
-struct hwrm_tf_session_register_output {
+__rte_packed_begin struct hwrm_tf_session_register_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -56940,7 +56940,7 @@ struct hwrm_tf_session_register_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_tf_session_unregister *
@@ -56948,7 +56948,7 @@ struct hwrm_tf_session_register_output {
 
 
 /* hwrm_tf_session_unregister_input (size:192b/24B) */
-struct hwrm_tf_session_unregister_input {
+__rte_packed_begin struct hwrm_tf_session_unregister_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -56987,10 +56987,10 @@ struct hwrm_tf_session_unregister_input {
 	 * unregister request want to close.
 	 */
 	uint32_t	fw_session_client_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_unregister_output (size:128b/16B) */
-struct hwrm_tf_session_unregister_output {
+__rte_packed_begin struct hwrm_tf_session_unregister_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -57010,7 +57010,7 @@ struct hwrm_tf_session_unregister_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_tf_session_close *
@@ -57018,7 +57018,7 @@ struct hwrm_tf_session_unregister_output {
 
 
 /* hwrm_tf_session_close_input (size:192b/24B) */
-struct hwrm_tf_session_close_input {
+__rte_packed_begin struct hwrm_tf_session_close_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -57051,10 +57051,10 @@ struct hwrm_tf_session_close_input {
 	uint32_t	fw_session_id;
 	/* unused. */
 	uint8_t	unused0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_close_output (size:128b/16B) */
-struct hwrm_tf_session_close_output {
+__rte_packed_begin struct hwrm_tf_session_close_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -57074,7 +57074,7 @@ struct hwrm_tf_session_close_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_tf_session_qcfg *
@@ -57082,7 +57082,7 @@ struct hwrm_tf_session_close_output {
 
 
 /* hwrm_tf_session_qcfg_input (size:192b/24B) */
-struct hwrm_tf_session_qcfg_input {
+__rte_packed_begin struct hwrm_tf_session_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -57115,10 +57115,10 @@ struct hwrm_tf_session_qcfg_input {
 	uint32_t	fw_session_id;
 	/* unused. */
 	uint8_t	unused0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_qcfg_output (size:128b/16B) */
-struct hwrm_tf_session_qcfg_output {
+__rte_packed_begin struct hwrm_tf_session_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -57186,7 +57186,7 @@ struct hwrm_tf_session_qcfg_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_tf_session_resc_qcaps *
@@ -57194,7 +57194,7 @@ struct hwrm_tf_session_qcfg_output {
 
 
 /* hwrm_tf_session_resc_qcaps_input (size:256b/32B) */
-struct hwrm_tf_session_resc_qcaps_input {
+__rte_packed_begin struct hwrm_tf_session_resc_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -57249,10 +57249,10 @@ struct hwrm_tf_session_resc_qcaps_input {
 	 * device specific.
 	 */
 	uint64_t	qcaps_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_resc_qcaps_output (size:192b/24B) */
-struct hwrm_tf_session_resc_qcaps_output {
+__rte_packed_begin struct hwrm_tf_session_resc_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -57306,7 +57306,7 @@ struct hwrm_tf_session_resc_qcaps_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_tf_session_resc_alloc *
@@ -57314,7 +57314,7 @@ struct hwrm_tf_session_resc_qcaps_output {
 
 
 /* hwrm_tf_session_resc_alloc_input (size:320b/40B) */
-struct hwrm_tf_session_resc_alloc_input {
+__rte_packed_begin struct hwrm_tf_session_resc_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -57375,10 +57375,10 @@ struct hwrm_tf_session_resc_alloc_input {
 	 * message.
 	 */
 	uint64_t	resc_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_resc_alloc_output (size:128b/16B) */
-struct hwrm_tf_session_resc_alloc_output {
+__rte_packed_begin struct hwrm_tf_session_resc_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -57405,7 +57405,7 @@ struct hwrm_tf_session_resc_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_tf_session_resc_flush *
@@ -57413,7 +57413,7 @@ struct hwrm_tf_session_resc_alloc_output {
 
 
 /* hwrm_tf_session_resc_flush_input (size:256b/32B) */
-struct hwrm_tf_session_resc_flush_input {
+__rte_packed_begin struct hwrm_tf_session_resc_flush_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -57466,10 +57466,10 @@ struct hwrm_tf_session_resc_flush_input {
 	 * message.
 	 */
 	uint64_t	flush_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_resc_flush_output (size:128b/16B) */
-struct hwrm_tf_session_resc_flush_output {
+__rte_packed_begin struct hwrm_tf_session_resc_flush_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -57489,7 +57489,7 @@ struct hwrm_tf_session_resc_flush_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_tf_session_resc_info *
@@ -57497,7 +57497,7 @@ struct hwrm_tf_session_resc_flush_output {
 
 
 /* hwrm_tf_session_resc_info_input (size:320b/40B) */
-struct hwrm_tf_session_resc_info_input {
+__rte_packed_begin struct hwrm_tf_session_resc_info_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -57558,10 +57558,10 @@ struct hwrm_tf_session_resc_info_input {
 	 * message.
 	 */
 	uint64_t	resc_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_resc_info_output (size:128b/16B) */
-struct hwrm_tf_session_resc_info_output {
+__rte_packed_begin struct hwrm_tf_session_resc_info_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -57588,29 +57588,29 @@ struct hwrm_tf_session_resc_info_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* TruFlow RM capability of a resource. */
 /* tf_rm_resc_req_entry (size:64b/8B) */
-struct tf_rm_resc_req_entry {
+__rte_packed_begin struct tf_rm_resc_req_entry {
 	/* Type of the resource, defined globally in HCAPI RM. */
 	uint32_t	type;
 	/* Minimum value. */
 	uint16_t	min;
 	/* Maximum value. */
 	uint16_t	max;
-} __rte_packed;
+} __rte_packed_end;
 
 /* TruFlow RM reservation information. */
 /* tf_rm_resc_entry (size:64b/8B) */
-struct tf_rm_resc_entry {
+__rte_packed_begin struct tf_rm_resc_entry {
 	/* Type of the resource, defined globally in HCAPI RM. */
 	uint32_t	type;
 	/* Start offset. */
 	uint16_t	start;
 	/* Number of resources. */
 	uint16_t	stride;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_tf_tbl_type_alloc *
@@ -57618,7 +57618,7 @@ struct tf_rm_resc_entry {
 
 
 /* hwrm_tf_tbl_type_alloc_input (size:192b/24B) */
-struct hwrm_tf_tbl_type_alloc_input {
+__rte_packed_begin struct hwrm_tf_tbl_type_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -57681,10 +57681,10 @@ struct hwrm_tf_tbl_type_alloc_input {
 	 * tunnel-type of dynamic UPAR tunnel.
 	 */
 	uint8_t	type;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_tbl_type_alloc_output (size:128b/16B) */
-struct hwrm_tf_tbl_type_alloc_output {
+__rte_packed_begin struct hwrm_tf_tbl_type_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -57711,7 +57711,7 @@ struct hwrm_tf_tbl_type_alloc_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_tf_tbl_type_get *
@@ -57719,7 +57719,7 @@ struct hwrm_tf_tbl_type_alloc_output {
 
 
 /* hwrm_tf_tbl_type_get_input (size:256b/32B) */
-struct hwrm_tf_tbl_type_get_input {
+__rte_packed_begin struct hwrm_tf_tbl_type_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -57794,10 +57794,10 @@ struct hwrm_tf_tbl_type_get_input {
 	uint32_t	type;
 	/* Index of the type to retrieve. */
 	uint32_t	index;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_tbl_type_get_output (size:2240b/280B) */
-struct hwrm_tf_tbl_type_get_output {
+__rte_packed_begin struct hwrm_tf_tbl_type_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -57825,7 +57825,7 @@ struct hwrm_tf_tbl_type_get_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_tf_tbl_type_set *
@@ -57833,7 +57833,7 @@ struct hwrm_tf_tbl_type_get_output {
 
 
 /* hwrm_tf_tbl_type_set_input (size:1024b/128B) */
-struct hwrm_tf_tbl_type_set_input {
+__rte_packed_begin struct hwrm_tf_tbl_type_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -57907,10 +57907,10 @@ struct hwrm_tf_tbl_type_set_input {
 	uint8_t	unused1[6];
 	/* Data to be set. */
 	uint8_t	data[88];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_tbl_type_set_output (size:128b/16B) */
-struct hwrm_tf_tbl_type_set_output {
+__rte_packed_begin struct hwrm_tf_tbl_type_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -57930,7 +57930,7 @@ struct hwrm_tf_tbl_type_set_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_tf_tbl_type_free *
@@ -57938,7 +57938,7 @@ struct hwrm_tf_tbl_type_set_output {
 
 
 /* hwrm_tf_tbl_type_free_input (size:256b/32B) */
-struct hwrm_tf_tbl_type_free_input {
+__rte_packed_begin struct hwrm_tf_tbl_type_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58004,10 +58004,10 @@ struct hwrm_tf_tbl_type_free_input {
 	uint16_t	idx_tbl_id;
 	/* Unused */
 	uint8_t	unused1[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_tbl_type_free_output (size:128b/16B) */
-struct hwrm_tf_tbl_type_free_output {
+__rte_packed_begin struct hwrm_tf_tbl_type_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58029,7 +58029,7 @@ struct hwrm_tf_tbl_type_free_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_tf_em_insert *
@@ -58037,7 +58037,7 @@ struct hwrm_tf_tbl_type_free_output {
 
 
 /* hwrm_tf_em_insert_input (size:832b/104B) */
-struct hwrm_tf_em_insert_input {
+__rte_packed_begin struct hwrm_tf_em_insert_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58090,10 +58090,10 @@ struct hwrm_tf_em_insert_input {
 	uint16_t	em_key_bitlen;
 	/* unused. */
 	uint16_t	unused0[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_em_insert_output (size:128b/16B) */
-struct hwrm_tf_em_insert_output {
+__rte_packed_begin struct hwrm_tf_em_insert_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58119,7 +58119,7 @@ struct hwrm_tf_em_insert_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_tf_em_hash_insert *
@@ -58127,7 +58127,7 @@ struct hwrm_tf_em_insert_output {
 
 
 /* hwrm_tf_em_hash_insert_input (size:1024b/128B) */
-struct hwrm_tf_em_hash_insert_input {
+__rte_packed_begin struct hwrm_tf_em_hash_insert_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58182,10 +58182,10 @@ struct hwrm_tf_em_hash_insert_input {
 	uint32_t	unused0;
 	/* EM record. */
 	uint64_t	em_record[11];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_em_hash_insert_output (size:128b/16B) */
-struct hwrm_tf_em_hash_insert_output {
+__rte_packed_begin struct hwrm_tf_em_hash_insert_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58211,7 +58211,7 @@ struct hwrm_tf_em_hash_insert_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_tf_em_delete *
@@ -58219,7 +58219,7 @@ struct hwrm_tf_em_hash_insert_output {
 
 
 /* hwrm_tf_em_delete_input (size:832b/104B) */
-struct hwrm_tf_em_delete_input {
+__rte_packed_begin struct hwrm_tf_em_delete_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58270,10 +58270,10 @@ struct hwrm_tf_em_delete_input {
 	uint16_t	em_key_bitlen;
 	/* unused. */
 	uint16_t	unused1[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_em_delete_output (size:128b/16B) */
-struct hwrm_tf_em_delete_output {
+__rte_packed_begin struct hwrm_tf_em_delete_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58295,7 +58295,7 @@ struct hwrm_tf_em_delete_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_tf_em_move *
@@ -58303,7 +58303,7 @@ struct hwrm_tf_em_delete_output {
 
 
 /* hwrm_tf_em_move_input (size:320b/40B) */
-struct hwrm_tf_em_move_input {
+__rte_packed_begin struct hwrm_tf_em_move_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58352,10 +58352,10 @@ struct hwrm_tf_em_move_input {
 	uint32_t	unused0;
 	/* EM internal flow handle. */
 	uint64_t	flow_handle;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_em_move_output (size:128b/16B) */
-struct hwrm_tf_em_move_output {
+__rte_packed_begin struct hwrm_tf_em_move_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58377,7 +58377,7 @@ struct hwrm_tf_em_move_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************
  * hwrm_tf_tcam_set *
@@ -58385,7 +58385,7 @@ struct hwrm_tf_em_move_output {
 
 
 /* hwrm_tf_tcam_set_input (size:1024b/128B) */
-struct hwrm_tf_tcam_set_input {
+__rte_packed_begin struct hwrm_tf_tcam_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58456,10 +58456,10 @@ struct hwrm_tf_tcam_set_input {
 	 * and result at result_offset for the device.
 	 */
 	uint8_t	dev_data[88];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_tcam_set_output (size:128b/16B) */
-struct hwrm_tf_tcam_set_output {
+__rte_packed_begin struct hwrm_tf_tcam_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58479,7 +58479,7 @@ struct hwrm_tf_tcam_set_output {
 	 * to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************
  * hwrm_tf_tcam_get *
@@ -58487,7 +58487,7 @@ struct hwrm_tf_tcam_set_output {
 
 
 /* hwrm_tf_tcam_get_input (size:256b/32B) */
-struct hwrm_tf_tcam_get_input {
+__rte_packed_begin struct hwrm_tf_tcam_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58537,10 +58537,10 @@ struct hwrm_tf_tcam_get_input {
 	uint16_t	idx;
 	/* unused. */
 	uint16_t	unused0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_tcam_get_output (size:2368b/296B) */
-struct hwrm_tf_tcam_get_output {
+__rte_packed_begin struct hwrm_tf_tcam_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58575,7 +58575,7 @@ struct hwrm_tf_tcam_get_output {
 	 * to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_tf_tcam_move *
@@ -58583,7 +58583,7 @@ struct hwrm_tf_tcam_get_output {
 
 
 /* hwrm_tf_tcam_move_input (size:1024b/128B) */
-struct hwrm_tf_tcam_move_input {
+__rte_packed_begin struct hwrm_tf_tcam_move_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58635,10 +58635,10 @@ struct hwrm_tf_tcam_move_input {
 	uint16_t	unused0;
 	/* TCAM index pairs to be swapped for the device. */
 	uint16_t	idx_pairs[48];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_tcam_move_output (size:128b/16B) */
-struct hwrm_tf_tcam_move_output {
+__rte_packed_begin struct hwrm_tf_tcam_move_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58658,7 +58658,7 @@ struct hwrm_tf_tcam_move_output {
 	 * to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_tf_tcam_free *
@@ -58666,7 +58666,7 @@ struct hwrm_tf_tcam_move_output {
 
 
 /* hwrm_tf_tcam_free_input (size:1024b/128B) */
-struct hwrm_tf_tcam_free_input {
+__rte_packed_begin struct hwrm_tf_tcam_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58718,10 +58718,10 @@ struct hwrm_tf_tcam_free_input {
 	uint16_t	unused0;
 	/* TCAM index list to be deleted for the device. */
 	uint16_t	idx_list[48];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_tcam_free_output (size:128b/16B) */
-struct hwrm_tf_tcam_free_output {
+__rte_packed_begin struct hwrm_tf_tcam_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58741,7 +58741,7 @@ struct hwrm_tf_tcam_free_output {
 	 * to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_tf_global_cfg_set *
@@ -58749,7 +58749,7 @@ struct hwrm_tf_tcam_free_output {
 
 
 /* hwrm_tf_global_cfg_set_input (size:448b/56B) */
-struct hwrm_tf_global_cfg_set_input {
+__rte_packed_begin struct hwrm_tf_global_cfg_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58804,10 +58804,10 @@ struct hwrm_tf_global_cfg_set_input {
 	uint8_t	data[8];
 	/* Mask of data to set, 0 indicates no mask */
 	uint8_t	mask[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_global_cfg_set_output (size:128b/16B) */
-struct hwrm_tf_global_cfg_set_output {
+__rte_packed_begin struct hwrm_tf_global_cfg_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58827,7 +58827,7 @@ struct hwrm_tf_global_cfg_set_output {
 	 * to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_tf_global_cfg_get *
@@ -58835,7 +58835,7 @@ struct hwrm_tf_global_cfg_set_output {
 
 
 /* hwrm_tf_global_cfg_get_input (size:320b/40B) */
-struct hwrm_tf_global_cfg_get_input {
+__rte_packed_begin struct hwrm_tf_global_cfg_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58884,10 +58884,10 @@ struct hwrm_tf_global_cfg_get_input {
 	uint16_t	size;
 	/* unused. */
 	uint8_t	unused0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_global_cfg_get_output (size:2240b/280B) */
-struct hwrm_tf_global_cfg_get_output {
+__rte_packed_begin struct hwrm_tf_global_cfg_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -58913,7 +58913,7 @@ struct hwrm_tf_global_cfg_get_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_tf_if_tbl_get *
@@ -58921,7 +58921,7 @@ struct hwrm_tf_global_cfg_get_output {
 
 
 /* hwrm_tf_if_tbl_get_input (size:256b/32B) */
-struct hwrm_tf_if_tbl_get_input {
+__rte_packed_begin struct hwrm_tf_if_tbl_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -58971,10 +58971,10 @@ struct hwrm_tf_if_tbl_get_input {
 	uint32_t	type;
 	/* Index of the type to retrieve. */
 	uint32_t	index;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_if_tbl_get_output (size:1216b/152B) */
-struct hwrm_tf_if_tbl_get_output {
+__rte_packed_begin struct hwrm_tf_if_tbl_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59002,7 +59002,7 @@ struct hwrm_tf_if_tbl_get_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_tf_if_tbl_type_set *
@@ -59010,7 +59010,7 @@ struct hwrm_tf_if_tbl_get_output {
 
 
 /* hwrm_tf_if_tbl_set_input (size:1024b/128B) */
-struct hwrm_tf_if_tbl_set_input {
+__rte_packed_begin struct hwrm_tf_if_tbl_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59066,10 +59066,10 @@ struct hwrm_tf_if_tbl_set_input {
 	uint8_t	unused1[6];
 	/* Data to be set. */
 	uint8_t	data[88];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_if_tbl_set_output (size:128b/16B) */
-struct hwrm_tf_if_tbl_set_output {
+__rte_packed_begin struct hwrm_tf_if_tbl_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59089,7 +59089,7 @@ struct hwrm_tf_if_tbl_set_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_tf_tbl_type_bulk_get *
@@ -59097,7 +59097,7 @@ struct hwrm_tf_if_tbl_set_output {
 
 
 /* hwrm_tf_tbl_type_bulk_get_input (size:384b/48B) */
-struct hwrm_tf_tbl_type_bulk_get_input {
+__rte_packed_begin struct hwrm_tf_tbl_type_bulk_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59162,10 +59162,10 @@ struct hwrm_tf_tbl_type_bulk_get_input {
 	uint32_t	unused1;
 	/* Host memory where data will be stored. */
 	uint64_t	host_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_tbl_type_bulk_get_output (size:128b/16B) */
-struct hwrm_tf_tbl_type_bulk_get_output {
+__rte_packed_begin struct hwrm_tf_tbl_type_bulk_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59189,7 +59189,7 @@ struct hwrm_tf_tbl_type_bulk_get_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************************
  * hwrm_tf_session_hotup_state_set *
@@ -59197,7 +59197,7 @@ struct hwrm_tf_tbl_type_bulk_get_output {
 
 
 /* hwrm_tf_session_hotup_state_set_input (size:192b/24B) */
-struct hwrm_tf_session_hotup_state_set_input {
+__rte_packed_begin struct hwrm_tf_session_hotup_state_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59243,10 +59243,10 @@ struct hwrm_tf_session_hotup_state_set_input {
 		UINT32_C(0x1)
 	#define HWRM_TF_SESSION_HOTUP_STATE_SET_INPUT_FLAGS_DIR_LAST \
 		HWRM_TF_SESSION_HOTUP_STATE_SET_INPUT_FLAGS_DIR_TX
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_hotup_state_set_output (size:128b/16B) */
-struct hwrm_tf_session_hotup_state_set_output {
+__rte_packed_begin struct hwrm_tf_session_hotup_state_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59266,7 +59266,7 @@ struct hwrm_tf_session_hotup_state_set_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************************
  * hwrm_tf_session_hotup_state_get *
@@ -59274,7 +59274,7 @@ struct hwrm_tf_session_hotup_state_set_output {
 
 
 /* hwrm_tf_session_hotup_state_get_input (size:192b/24B) */
-struct hwrm_tf_session_hotup_state_get_input {
+__rte_packed_begin struct hwrm_tf_session_hotup_state_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59320,10 +59320,10 @@ struct hwrm_tf_session_hotup_state_get_input {
 		HWRM_TF_SESSION_HOTUP_STATE_GET_INPUT_FLAGS_DIR_TX
 	/* unused. */
 	uint8_t	unused0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_session_hotup_state_get_output (size:128b/16B) */
-struct hwrm_tf_session_hotup_state_get_output {
+__rte_packed_begin struct hwrm_tf_session_hotup_state_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59347,7 +59347,7 @@ struct hwrm_tf_session_hotup_state_get_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_tf_resc_usage_set *
@@ -59355,7 +59355,7 @@ struct hwrm_tf_session_hotup_state_get_output {
 
 
 /* hwrm_tf_resc_usage_set_input (size:1024b/128B) */
-struct hwrm_tf_resc_usage_set_input {
+__rte_packed_begin struct hwrm_tf_resc_usage_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59430,10 +59430,10 @@ struct hwrm_tf_resc_usage_set_input {
 	uint8_t	unused1[6];
 	/* Data to be set. */
 	uint8_t	data[96];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_resc_usage_set_output (size:128b/16B) */
-struct hwrm_tf_resc_usage_set_output {
+__rte_packed_begin struct hwrm_tf_resc_usage_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59453,7 +59453,7 @@ struct hwrm_tf_resc_usage_set_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_tf_resc_usage_query *
@@ -59461,7 +59461,7 @@ struct hwrm_tf_resc_usage_set_output {
 
 
 /* hwrm_tf_resc_usage_query_input (size:256b/32B) */
-struct hwrm_tf_resc_usage_query_input {
+__rte_packed_begin struct hwrm_tf_resc_usage_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59532,10 +59532,10 @@ struct hwrm_tf_resc_usage_query_input {
 		UINT32_C(0x80)
 	/* unused */
 	uint8_t	unused1[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tf_resc_usage_query_output (size:960b/120B) */
-struct hwrm_tf_resc_usage_query_output {
+__rte_packed_begin struct hwrm_tf_resc_usage_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59563,7 +59563,7 @@ struct hwrm_tf_resc_usage_query_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_tfc_tbl_scope_qcaps *
@@ -59575,7 +59575,7 @@ struct hwrm_tf_resc_usage_query_output {
  * supporting table scopes.
  */
 /* hwrm_tfc_tbl_scope_qcaps_input (size:128b/16B) */
-struct hwrm_tfc_tbl_scope_qcaps_input {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59604,10 +59604,10 @@ struct hwrm_tfc_tbl_scope_qcaps_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tbl_scope_qcaps_output (size:192b/24B) */
-struct hwrm_tfc_tbl_scope_qcaps_output {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59644,7 +59644,7 @@ struct hwrm_tfc_tbl_scope_qcaps_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_tfc_tbl_scope_id_alloc *
@@ -59661,7 +59661,7 @@ struct hwrm_tfc_tbl_scope_qcaps_output {
  * been freed.
  */
 /* hwrm_tfc_tbl_scope_id_alloc_input (size:256b/32B) */
-struct hwrm_tfc_tbl_scope_id_alloc_input {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_id_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59721,10 +59721,10 @@ struct hwrm_tfc_tbl_scope_id_alloc_input {
 	uint8_t	app_type;
 	/* unused. */
 	uint8_t	unused0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tbl_scope_id_alloc_output (size:128b/16B) */
-struct hwrm_tfc_tbl_scope_id_alloc_output {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_id_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59751,7 +59751,7 @@ struct hwrm_tfc_tbl_scope_id_alloc_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_tfc_tbl_scope_config *
@@ -59760,7 +59760,7 @@ struct hwrm_tfc_tbl_scope_id_alloc_output {
 
 /* TruFlow command to configure the table scope memory. */
 /* hwrm_tfc_tbl_scope_config_input (size:704b/88B) */
-struct hwrm_tfc_tbl_scope_config_input {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_config_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59837,10 +59837,10 @@ struct hwrm_tfc_tbl_scope_config_input {
 	uint8_t	tsid;
 	/* unused. */
 	uint8_t	unused0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tbl_scope_config_output (size:128b/16B) */
-struct hwrm_tfc_tbl_scope_config_output {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_config_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59860,7 +59860,7 @@ struct hwrm_tfc_tbl_scope_config_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_tfc_tbl_scope_deconfig *
@@ -59869,7 +59869,7 @@ struct hwrm_tfc_tbl_scope_config_output {
 
 /* TruFlow command to deconfigure the table scope memory. */
 /* hwrm_tfc_tbl_scope_deconfig_input (size:192b/24B) */
-struct hwrm_tfc_tbl_scope_deconfig_input {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_deconfig_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59902,10 +59902,10 @@ struct hwrm_tfc_tbl_scope_deconfig_input {
 	uint8_t	tsid;
 	/* unused. */
 	uint8_t	unused0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tbl_scope_deconfig_output (size:128b/16B) */
-struct hwrm_tfc_tbl_scope_deconfig_output {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_deconfig_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -59925,7 +59925,7 @@ struct hwrm_tfc_tbl_scope_deconfig_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_tfc_tbl_scope_fid_add *
@@ -59934,7 +59934,7 @@ struct hwrm_tfc_tbl_scope_deconfig_output {
 
 /* TruFlow command to add a FID to a table scope. */
 /* hwrm_tfc_tbl_scope_fid_add_input (size:192b/24B) */
-struct hwrm_tfc_tbl_scope_fid_add_input {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_fid_add_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -59976,10 +59976,10 @@ struct hwrm_tfc_tbl_scope_fid_add_input {
 	uint8_t	tsid;
 	/* unused. */
 	uint8_t	unused0[5];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tbl_scope_fid_add_output (size:128b/16B) */
-struct hwrm_tfc_tbl_scope_fid_add_output {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_fid_add_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -60001,7 +60001,7 @@ struct hwrm_tfc_tbl_scope_fid_add_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_tfc_tbl_scope_fid_rem *
@@ -60010,7 +60010,7 @@ struct hwrm_tfc_tbl_scope_fid_add_output {
 
 /* TruFlow command to remove a FID from a table scope. */
 /* hwrm_tfc_tbl_scope_fid_rem_input (size:192b/24B) */
-struct hwrm_tfc_tbl_scope_fid_rem_input {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_fid_rem_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -60052,10 +60052,10 @@ struct hwrm_tfc_tbl_scope_fid_rem_input {
 	uint8_t	tsid;
 	/* unused. */
 	uint8_t	unused0[5];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tbl_scope_fid_rem_output (size:128b/16B) */
-struct hwrm_tfc_tbl_scope_fid_rem_output {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_fid_rem_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -60077,7 +60077,7 @@ struct hwrm_tfc_tbl_scope_fid_rem_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_tfc_session_id_alloc *
@@ -60092,7 +60092,7 @@ struct hwrm_tfc_tbl_scope_fid_rem_output {
  * to 0), will result in this session id being freed automatically.
  */
 /* hwrm_tfc_session_id_alloc_input (size:192b/24B) */
-struct hwrm_tfc_session_id_alloc_input {
+__rte_packed_begin struct hwrm_tfc_session_id_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -60132,10 +60132,10 @@ struct hwrm_tfc_session_id_alloc_input {
 	uint16_t	fid;
 	/* Unused field */
 	uint8_t	unused0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_session_id_alloc_output (size:128b/16B) */
-struct hwrm_tfc_session_id_alloc_output {
+__rte_packed_begin struct hwrm_tfc_session_id_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -60160,7 +60160,7 @@ struct hwrm_tfc_session_id_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_tfc_session_fid_add *
@@ -60172,7 +60172,7 @@ struct hwrm_tfc_session_id_alloc_output {
  * will be associated with the passed in sid.
  */
 /* hwrm_tfc_session_fid_add_input (size:192b/24B) */
-struct hwrm_tfc_session_fid_add_input {
+__rte_packed_begin struct hwrm_tfc_session_fid_add_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -60217,10 +60217,10 @@ struct hwrm_tfc_session_fid_add_input {
 	uint16_t	sid;
 	/* Unused field */
 	uint8_t	unused0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_session_fid_add_output (size:128b/16B) */
-struct hwrm_tfc_session_fid_add_output {
+__rte_packed_begin struct hwrm_tfc_session_fid_add_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -60242,7 +60242,7 @@ struct hwrm_tfc_session_fid_add_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_tfc_session_fid_rem *
@@ -60257,7 +60257,7 @@ struct hwrm_tfc_session_fid_add_output {
  * automatically.
  */
 /* hwrm_tfc_session_fid_rem_input (size:192b/24B) */
-struct hwrm_tfc_session_fid_rem_input {
+__rte_packed_begin struct hwrm_tfc_session_fid_rem_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -60302,10 +60302,10 @@ struct hwrm_tfc_session_fid_rem_input {
 	uint16_t	sid;
 	/* Unused field */
 	uint8_t	unused0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_session_fid_rem_output (size:128b/16B) */
-struct hwrm_tfc_session_fid_rem_output {
+__rte_packed_begin struct hwrm_tfc_session_fid_rem_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -60327,7 +60327,7 @@ struct hwrm_tfc_session_fid_rem_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_tfc_ident_alloc *
@@ -60342,7 +60342,7 @@ struct hwrm_tfc_session_fid_rem_output {
  * to all these is allocated and returned in the HWRM response.
  */
 /* hwrm_tfc_ident_alloc_input (size:192b/24B) */
-struct hwrm_tfc_ident_alloc_input {
+__rte_packed_begin struct hwrm_tfc_ident_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -60415,10 +60415,10 @@ struct hwrm_tfc_ident_alloc_input {
 		HWRM_TFC_IDENT_ALLOC_INPUT_TRACK_TYPE_TRACK_TYPE_FID
 	/* Unused field */
 	uint8_t	unused0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_ident_alloc_output (size:128b/16B) */
-struct hwrm_tfc_ident_alloc_output {
+__rte_packed_begin struct hwrm_tfc_ident_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -60443,7 +60443,7 @@ struct hwrm_tfc_ident_alloc_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_tfc_ident_free *
@@ -60457,7 +60457,7 @@ struct hwrm_tfc_ident_alloc_output {
  * freed, only after various sanity checks are completed.
  */
 /* hwrm_tfc_ident_free_input (size:192b/24B) */
-struct hwrm_tfc_ident_free_input {
+__rte_packed_begin struct hwrm_tfc_ident_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -60517,10 +60517,10 @@ struct hwrm_tfc_ident_free_input {
 		HWRM_TFC_IDENT_FREE_INPUT_FLAGS_DIR_TX
 	/* The resource identifier to be freed */
 	uint16_t	ident_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_ident_free_output (size:128b/16B) */
-struct hwrm_tfc_ident_free_output {
+__rte_packed_begin struct hwrm_tfc_ident_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -60540,7 +60540,7 @@ struct hwrm_tfc_ident_free_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_tfc_idx_tbl_alloc *
@@ -60548,7 +60548,7 @@ struct hwrm_tfc_ident_free_output {
 
 
 /* hwrm_tfc_idx_tbl_alloc_input (size:192b/24B) */
-struct hwrm_tfc_idx_tbl_alloc_input {
+__rte_packed_begin struct hwrm_tfc_idx_tbl_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -60641,10 +60641,10 @@ struct hwrm_tfc_idx_tbl_alloc_input {
 		UINT32_C(0x3)
 	#define HWRM_TFC_IDX_TBL_ALLOC_INPUT_BLKTYPE_LAST \
 		HWRM_TFC_IDX_TBL_ALLOC_INPUT_BLKTYPE_BLKTYPE_TE_GPARSE
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_idx_tbl_alloc_output (size:128b/16B) */
-struct hwrm_tfc_idx_tbl_alloc_output {
+__rte_packed_begin struct hwrm_tfc_idx_tbl_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -60669,7 +60669,7 @@ struct hwrm_tfc_idx_tbl_alloc_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_tfc_idx_tbl_alloc_set *
@@ -60677,7 +60677,7 @@ struct hwrm_tfc_idx_tbl_alloc_output {
 
 
 /* hwrm_tfc_idx_tbl_alloc_set_input (size:1088b/136B) */
-struct hwrm_tfc_idx_tbl_alloc_set_input {
+__rte_packed_begin struct hwrm_tfc_idx_tbl_alloc_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -60786,10 +60786,10 @@ struct hwrm_tfc_idx_tbl_alloc_set_input {
 	 * then this field contains the DMA buffer pointer.
 	 */
 	uint8_t	dev_data[96];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_idx_tbl_alloc_set_output (size:128b/16B) */
-struct hwrm_tfc_idx_tbl_alloc_set_output {
+__rte_packed_begin struct hwrm_tfc_idx_tbl_alloc_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -60814,7 +60814,7 @@ struct hwrm_tfc_idx_tbl_alloc_set_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_tfc_idx_tbl_set *
@@ -60822,7 +60822,7 @@ struct hwrm_tfc_idx_tbl_alloc_set_output {
 
 
 /* hwrm_tfc_idx_tbl_set_input (size:1088b/136B) */
-struct hwrm_tfc_idx_tbl_set_input {
+__rte_packed_begin struct hwrm_tfc_idx_tbl_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -60917,10 +60917,10 @@ struct hwrm_tfc_idx_tbl_set_input {
 	 * then this field contains the DMA buffer pointer.
 	 */
 	uint8_t	dev_data[96];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_idx_tbl_set_output (size:128b/16B) */
-struct hwrm_tfc_idx_tbl_set_output {
+__rte_packed_begin struct hwrm_tfc_idx_tbl_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -60940,7 +60940,7 @@ struct hwrm_tfc_idx_tbl_set_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_tfc_idx_tbl_get *
@@ -60948,7 +60948,7 @@ struct hwrm_tfc_idx_tbl_set_output {
 
 
 /* hwrm_tfc_idx_tbl_get_input (size:320b/40B) */
-struct hwrm_tfc_idx_tbl_get_input {
+__rte_packed_begin struct hwrm_tfc_idx_tbl_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -61042,10 +61042,10 @@ struct hwrm_tfc_idx_tbl_get_input {
 	uint8_t	unused0[5];
 	/* The location of the response dma buffer */
 	uint64_t	dma_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_idx_tbl_get_output (size:128b/16B) */
-struct hwrm_tfc_idx_tbl_get_output {
+__rte_packed_begin struct hwrm_tfc_idx_tbl_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -61067,7 +61067,7 @@ struct hwrm_tfc_idx_tbl_get_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_tfc_idx_tbl_free *
@@ -61075,7 +61075,7 @@ struct hwrm_tfc_idx_tbl_get_output {
 
 
 /* hwrm_tfc_idx_tbl_free_input (size:256b/32B) */
-struct hwrm_tfc_idx_tbl_free_input {
+__rte_packed_begin struct hwrm_tfc_idx_tbl_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -61153,10 +61153,10 @@ struct hwrm_tfc_idx_tbl_free_input {
 		HWRM_TFC_IDX_TBL_FREE_INPUT_BLKTYPE_BLKTYPE_TE_GPARSE
 	/* unused. */
 	uint8_t	unused0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_idx_tbl_free_output (size:128b/16B) */
-struct hwrm_tfc_idx_tbl_free_output {
+__rte_packed_begin struct hwrm_tfc_idx_tbl_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -61176,11 +61176,11 @@ struct hwrm_tfc_idx_tbl_free_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* TruFlow resources request for a global id. */
 /* tfc_global_id_hwrm_req (size:64b/8B) */
-struct tfc_global_id_hwrm_req {
+__rte_packed_begin struct tfc_global_id_hwrm_req {
 	/* Type of the resource, defined in enum cfa_resource_type HCAPI RM. */
 	uint16_t	rtype;
 	/* Indicates the flow direction in type of cfa_dir. */
@@ -61189,11 +61189,11 @@ struct tfc_global_id_hwrm_req {
 	uint16_t	subtype;
 	/* Number of the type of resources. */
 	uint16_t	cnt;
-} __rte_packed;
+} __rte_packed_end;
 
 /* The reserved resources for the global id. */
 /* tfc_global_id_hwrm_rsp (size:64b/8B) */
-struct tfc_global_id_hwrm_rsp {
+__rte_packed_begin struct tfc_global_id_hwrm_rsp {
 	/* Type of the resource, defined in enum cfa_resource_type HCAPI RM. */
 	uint16_t	rtype;
 	/* Indicates the flow direction in type of cfa_dir. */
@@ -61202,7 +61202,7 @@ struct tfc_global_id_hwrm_rsp {
 	uint16_t	subtype;
 	/* The global id that the resources reserved for. */
 	uint16_t	id;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_tfc_global_id_alloc *
@@ -61210,7 +61210,7 @@ struct tfc_global_id_hwrm_rsp {
 
 
 /* hwrm_tfc_global_id_alloc_input (size:320b/40B) */
-struct hwrm_tfc_global_id_alloc_input {
+__rte_packed_begin struct hwrm_tfc_global_id_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -61272,10 +61272,10 @@ struct hwrm_tfc_global_id_alloc_input {
 	 * message.
 	 */
 	uint64_t	resc_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_global_id_alloc_output (size:128b/16B) */
-struct hwrm_tfc_global_id_alloc_output {
+__rte_packed_begin struct hwrm_tfc_global_id_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -61304,7 +61304,7 @@ struct hwrm_tfc_global_id_alloc_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_tfc_tcam_set *
@@ -61312,7 +61312,7 @@ struct hwrm_tfc_global_id_alloc_output {
 
 
 /* hwrm_tfc_tcam_set_input (size:1088b/136B) */
-struct hwrm_tfc_tcam_set_input {
+__rte_packed_begin struct hwrm_tfc_tcam_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -61387,10 +61387,10 @@ struct hwrm_tfc_tcam_set_input {
 	 * and result at result_offset for the device.
 	 */
 	uint8_t	dev_data[96];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tcam_set_output (size:128b/16B) */
-struct hwrm_tfc_tcam_set_output {
+__rte_packed_begin struct hwrm_tfc_tcam_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -61410,7 +61410,7 @@ struct hwrm_tfc_tcam_set_output {
 	 * to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_tfc_tcam_get *
@@ -61418,7 +61418,7 @@ struct hwrm_tfc_tcam_set_output {
 
 
 /* hwrm_tfc_tcam_get_input (size:192b/24B) */
-struct hwrm_tfc_tcam_get_input {
+__rte_packed_begin struct hwrm_tfc_tcam_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -61478,10 +61478,10 @@ struct hwrm_tfc_tcam_get_input {
 	uint16_t	sid;
 	/* Logical TCAM ID. */
 	uint16_t	tcam_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tcam_get_output (size:2368b/296B) */
-struct hwrm_tfc_tcam_get_output {
+__rte_packed_begin struct hwrm_tfc_tcam_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -61512,7 +61512,7 @@ struct hwrm_tfc_tcam_get_output {
 	 * to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_tfc_tcam_alloc *
@@ -61520,7 +61520,7 @@ struct hwrm_tfc_tcam_get_output {
 
 
 /* hwrm_tfc_tcam_alloc_input (size:256b/32B) */
-struct hwrm_tfc_tcam_alloc_input {
+__rte_packed_begin struct hwrm_tfc_tcam_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -61598,10 +61598,10 @@ struct hwrm_tfc_tcam_alloc_input {
 		HWRM_TFC_TCAM_ALLOC_INPUT_TRACK_TYPE_TRACK_TYPE_FID
 	/* Unused. */
 	uint8_t	unused0[5];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tcam_alloc_output (size:128b/16B) */
-struct hwrm_tfc_tcam_alloc_output {
+__rte_packed_begin struct hwrm_tfc_tcam_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -61626,7 +61626,7 @@ struct hwrm_tfc_tcam_alloc_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_tfc_tcam_alloc_set *
@@ -61634,7 +61634,7 @@ struct hwrm_tfc_tcam_alloc_output {
 
 
 /* hwrm_tfc_tcam_alloc_set_input (size:1088b/136B) */
-struct hwrm_tfc_tcam_alloc_set_input {
+__rte_packed_begin struct hwrm_tfc_tcam_alloc_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -61723,10 +61723,10 @@ struct hwrm_tfc_tcam_alloc_set_input {
 	 * then this field contains the DMA buffer pointer.
 	 */
 	uint8_t	dev_data[96];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tcam_alloc_set_output (size:128b/16B) */
-struct hwrm_tfc_tcam_alloc_set_output {
+__rte_packed_begin struct hwrm_tfc_tcam_alloc_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -61748,7 +61748,7 @@ struct hwrm_tfc_tcam_alloc_set_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_tfc_tcam_free *
@@ -61756,7 +61756,7 @@ struct hwrm_tfc_tcam_alloc_set_output {
 
 
 /* hwrm_tfc_tcam_free_input (size:192b/24B) */
-struct hwrm_tfc_tcam_free_input {
+__rte_packed_begin struct hwrm_tfc_tcam_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -61816,10 +61816,10 @@ struct hwrm_tfc_tcam_free_input {
 	uint16_t	sid;
 	/* Logical TCAM ID. */
 	uint16_t	tcam_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tcam_free_output (size:128b/16B) */
-struct hwrm_tfc_tcam_free_output {
+__rte_packed_begin struct hwrm_tfc_tcam_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -61839,7 +61839,7 @@ struct hwrm_tfc_tcam_free_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_tfc_if_tbl_set *
@@ -61847,7 +61847,7 @@ struct hwrm_tfc_tcam_free_output {
 
 
 /* hwrm_tfc_if_tbl_set_input (size:960b/120B) */
-struct hwrm_tfc_if_tbl_set_input {
+__rte_packed_begin struct hwrm_tfc_if_tbl_set_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -61903,10 +61903,10 @@ struct hwrm_tfc_if_tbl_set_input {
 	uint8_t	unused0[7];
 	/* Table data. */
 	uint8_t	data[88];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_if_tbl_set_output (size:128b/16B) */
-struct hwrm_tfc_if_tbl_set_output {
+__rte_packed_begin struct hwrm_tfc_if_tbl_set_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -61926,7 +61926,7 @@ struct hwrm_tfc_if_tbl_set_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_tfc_if_tbl_get *
@@ -61934,7 +61934,7 @@ struct hwrm_tfc_if_tbl_set_output {
 
 
 /* hwrm_tfc_if_tbl_get_input (size:256b/32B) */
-struct hwrm_tfc_if_tbl_get_input {
+__rte_packed_begin struct hwrm_tfc_if_tbl_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -61988,10 +61988,10 @@ struct hwrm_tfc_if_tbl_get_input {
 	uint8_t	data_size;
 	/* Reserved */
 	uint8_t	unused0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_if_tbl_get_output (size:960b/120B) */
-struct hwrm_tfc_if_tbl_get_output {
+__rte_packed_begin struct hwrm_tfc_if_tbl_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -62038,7 +62038,7 @@ struct hwrm_tfc_if_tbl_get_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************************
  * hwrm_tfc_tbl_scope_config_get *
@@ -62047,7 +62047,7 @@ struct hwrm_tfc_if_tbl_get_output {
 
 /* TruFlow command to return whether the table scope is fully configured. */
 /* hwrm_tfc_tbl_scope_config_get_input (size:192b/24B) */
-struct hwrm_tfc_tbl_scope_config_get_input {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_config_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -62080,10 +62080,10 @@ struct hwrm_tfc_tbl_scope_config_get_input {
 	uint8_t	tsid;
 	/* unused. */
 	uint8_t	unused0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_tbl_scope_config_get_output (size:128b/16B) */
-struct hwrm_tfc_tbl_scope_config_get_output {
+__rte_packed_begin struct hwrm_tfc_tbl_scope_config_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -62105,7 +62105,7 @@ struct hwrm_tfc_tbl_scope_config_get_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_tfc_resc_usage_query *
@@ -62113,7 +62113,7 @@ struct hwrm_tfc_tbl_scope_config_get_output {
 
 
 /* hwrm_tfc_resc_usage_query_input (size:256b/32B) */
-struct hwrm_tfc_resc_usage_query_input {
+__rte_packed_begin struct hwrm_tfc_resc_usage_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -62173,10 +62173,10 @@ struct hwrm_tfc_resc_usage_query_input {
 	uint16_t	data_size;
 	/* unused */
 	uint8_t	unused1[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tfc_resc_usage_query_output (size:960b/120B) */
-struct hwrm_tfc_resc_usage_query_output {
+__rte_packed_begin struct hwrm_tfc_resc_usage_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -62204,7 +62204,7 @@ struct hwrm_tfc_resc_usage_query_output {
 	 * is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_tunnel_dst_port_query *
@@ -62212,7 +62212,7 @@ struct hwrm_tfc_resc_usage_query_output {
 
 
 /* hwrm_tunnel_dst_port_query_input (size:192b/24B) */
-struct hwrm_tunnel_dst_port_query_input {
+__rte_packed_begin struct hwrm_tunnel_dst_port_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -62314,10 +62314,10 @@ struct hwrm_tunnel_dst_port_query_input {
 	 */
 	uint8_t	tunnel_next_proto;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tunnel_dst_port_query_output (size:128b/16B) */
-struct hwrm_tunnel_dst_port_query_output {
+__rte_packed_begin struct hwrm_tunnel_dst_port_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -62398,7 +62398,7 @@ struct hwrm_tunnel_dst_port_query_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_tunnel_dst_port_alloc *
@@ -62406,7 +62406,7 @@ struct hwrm_tunnel_dst_port_query_output {
 
 
 /* hwrm_tunnel_dst_port_alloc_input (size:192b/24B) */
-struct hwrm_tunnel_dst_port_alloc_input {
+__rte_packed_begin struct hwrm_tunnel_dst_port_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -62522,10 +62522,10 @@ struct hwrm_tunnel_dst_port_alloc_input {
 	 */
 	uint16_t	tunnel_dst_port_val;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tunnel_dst_port_alloc_output (size:128b/16B) */
-struct hwrm_tunnel_dst_port_alloc_output {
+__rte_packed_begin struct hwrm_tunnel_dst_port_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -62595,7 +62595,7 @@ struct hwrm_tunnel_dst_port_alloc_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_tunnel_dst_port_free *
@@ -62603,7 +62603,7 @@ struct hwrm_tunnel_dst_port_alloc_output {
 
 
 /* hwrm_tunnel_dst_port_free_input (size:192b/24B) */
-struct hwrm_tunnel_dst_port_free_input {
+__rte_packed_begin struct hwrm_tunnel_dst_port_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -62713,10 +62713,10 @@ struct hwrm_tunnel_dst_port_free_input {
 	 */
 	uint16_t	tunnel_dst_port_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_tunnel_dst_port_free_output (size:128b/16B) */
-struct hwrm_tunnel_dst_port_free_output {
+__rte_packed_begin struct hwrm_tunnel_dst_port_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -62747,11 +62747,11 @@ struct hwrm_tunnel_dst_port_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Periodic statistics context DMA to host. */
 /* ctx_hw_stats (size:1280b/160B) */
-struct ctx_hw_stats {
+__rte_packed_begin struct ctx_hw_stats {
 	/* Number of received unicast packets */
 	uint64_t	rx_ucast_pkts;
 	/* Number of received multicast packets */
@@ -62792,7 +62792,7 @@ struct ctx_hw_stats {
 	uint64_t	tpa_events;
 	/* Number of TPA aborts */
 	uint64_t	tpa_aborts;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Extended periodic statistics context DMA to host. On cards that
@@ -62800,7 +62800,7 @@ struct ctx_hw_stats {
  * by DMA of ctx_hw_stats_ext, rather than legacy ctx_hw_stats structure.
  */
 /* ctx_hw_stats_ext (size:1408b/176B) */
-struct ctx_hw_stats_ext {
+__rte_packed_begin struct ctx_hw_stats_ext {
 	/* Number of received unicast packets */
 	uint64_t	rx_ucast_pkts;
 	/* Number of received multicast packets */
@@ -62845,11 +62845,11 @@ struct ctx_hw_stats_ext {
 	uint64_t	rx_tpa_errors;
 	/* Number of TPA events */
 	uint64_t	rx_tpa_events;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Periodic Engine statistics context DMA to host. */
 /* ctx_eng_stats (size:512b/64B) */
-struct ctx_eng_stats {
+__rte_packed_begin struct ctx_eng_stats {
 	/*
 	 * Count of data bytes into the Engine.
 	 * This includes any user supplied prefix,
@@ -62891,7 +62891,7 @@ struct ctx_eng_stats {
 	 * the unit is count of clock cycles
 	 */
 	uint64_t	cdd_engine_usage;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_stat_ctx_alloc *
@@ -62899,7 +62899,7 @@ struct ctx_eng_stats {
 
 
 /* hwrm_stat_ctx_alloc_input (size:320b/40B) */
-struct hwrm_stat_ctx_alloc_input {
+__rte_packed_begin struct hwrm_stat_ctx_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -62981,10 +62981,10 @@ struct hwrm_stat_ctx_alloc_input {
 	 */
 	uint16_t	steering_tag;
 	uint32_t	unused_1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_stat_ctx_alloc_output (size:128b/16B) */
-struct hwrm_stat_ctx_alloc_output {
+__rte_packed_begin struct hwrm_stat_ctx_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63004,7 +63004,7 @@ struct hwrm_stat_ctx_alloc_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_stat_ctx_free *
@@ -63012,7 +63012,7 @@ struct hwrm_stat_ctx_alloc_output {
 
 
 /* hwrm_stat_ctx_free_input (size:192b/24B) */
-struct hwrm_stat_ctx_free_input {
+__rte_packed_begin struct hwrm_stat_ctx_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -63044,10 +63044,10 @@ struct hwrm_stat_ctx_free_input {
 	/* ID of the statistics context that is being queried. */
 	uint32_t	stat_ctx_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_stat_ctx_free_output (size:128b/16B) */
-struct hwrm_stat_ctx_free_output {
+__rte_packed_begin struct hwrm_stat_ctx_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63067,7 +63067,7 @@ struct hwrm_stat_ctx_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_stat_ctx_query *
@@ -63075,7 +63075,7 @@ struct hwrm_stat_ctx_free_output {
 
 
 /* hwrm_stat_ctx_query_input (size:192b/24B) */
-struct hwrm_stat_ctx_query_input {
+__rte_packed_begin struct hwrm_stat_ctx_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -63114,10 +63114,10 @@ struct hwrm_stat_ctx_query_input {
 	 */
 	#define HWRM_STAT_CTX_QUERY_INPUT_FLAGS_COUNTER_MASK     UINT32_C(0x1)
 	uint8_t	unused_0[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_stat_ctx_query_output (size:1408b/176B) */
-struct hwrm_stat_ctx_query_output {
+__rte_packed_begin struct hwrm_stat_ctx_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63175,7 +63175,7 @@ struct hwrm_stat_ctx_query_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_stat_ext_ctx_query *
@@ -63183,7 +63183,7 @@ struct hwrm_stat_ctx_query_output {
 
 
 /* hwrm_stat_ext_ctx_query_input (size:192b/24B) */
-struct hwrm_stat_ext_ctx_query_input {
+__rte_packed_begin struct hwrm_stat_ext_ctx_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -63223,10 +63223,10 @@ struct hwrm_stat_ext_ctx_query_input {
 	#define HWRM_STAT_EXT_CTX_QUERY_INPUT_FLAGS_COUNTER_MASK \
 		UINT32_C(0x1)
 	uint8_t	unused_0[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_stat_ext_ctx_query_output (size:1536b/192B) */
-struct hwrm_stat_ext_ctx_query_output {
+__rte_packed_begin struct hwrm_stat_ext_ctx_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63288,7 +63288,7 @@ struct hwrm_stat_ext_ctx_query_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_stat_ctx_eng_query *
@@ -63296,7 +63296,7 @@ struct hwrm_stat_ext_ctx_query_output {
 
 
 /* hwrm_stat_ctx_eng_query_input (size:192b/24B) */
-struct hwrm_stat_ctx_eng_query_input {
+__rte_packed_begin struct hwrm_stat_ctx_eng_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -63328,10 +63328,10 @@ struct hwrm_stat_ctx_eng_query_input {
 	/* ID of the statistics context that is being queried. */
 	uint32_t	stat_ctx_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_stat_ctx_eng_query_output (size:640b/80B) */
-struct hwrm_stat_ctx_eng_query_output {
+__rte_packed_begin struct hwrm_stat_ctx_eng_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63390,7 +63390,7 @@ struct hwrm_stat_ctx_eng_query_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_stat_ctx_clr_stats *
@@ -63398,7 +63398,7 @@ struct hwrm_stat_ctx_eng_query_output {
 
 
 /* hwrm_stat_ctx_clr_stats_input (size:192b/24B) */
-struct hwrm_stat_ctx_clr_stats_input {
+__rte_packed_begin struct hwrm_stat_ctx_clr_stats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -63430,10 +63430,10 @@ struct hwrm_stat_ctx_clr_stats_input {
 	/* ID of the statistics context that is being queried. */
 	uint32_t	stat_ctx_id;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_stat_ctx_clr_stats_output (size:128b/16B) */
-struct hwrm_stat_ctx_clr_stats_output {
+__rte_packed_begin struct hwrm_stat_ctx_clr_stats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63451,7 +63451,7 @@ struct hwrm_stat_ctx_clr_stats_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /********************
  * hwrm_pcie_qstats *
@@ -63459,7 +63459,7 @@ struct hwrm_stat_ctx_clr_stats_output {
 
 
 /* hwrm_pcie_qstats_input (size:256b/32B) */
-struct hwrm_pcie_qstats_input {
+__rte_packed_begin struct hwrm_pcie_qstats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -63500,10 +63500,10 @@ struct hwrm_pcie_qstats_input {
 	 * PCIe statistics will be stored
 	 */
 	uint64_t	pcie_stat_host_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_pcie_qstats_output (size:128b/16B) */
-struct hwrm_pcie_qstats_output {
+__rte_packed_begin struct hwrm_pcie_qstats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63523,11 +63523,11 @@ struct hwrm_pcie_qstats_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* PCIe Statistics Formats */
 /* pcie_ctx_hw_stats (size:768b/96B) */
-struct pcie_ctx_hw_stats {
+__rte_packed_begin struct pcie_ctx_hw_stats {
 	/* Number of physical layer receiver errors */
 	uint64_t	pcie_pl_signal_integrity;
 	/* Number of DLLP CRC errors detected by Data Link Layer */
@@ -63559,7 +63559,7 @@ struct pcie_ctx_hw_stats {
 	 * to Recovery
 	 */
 	uint64_t	pcie_recovery_histogram;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_stat_generic_qstats *
@@ -63567,7 +63567,7 @@ struct pcie_ctx_hw_stats {
 
 
 /* hwrm_stat_generic_qstats_input (size:256b/32B) */
-struct hwrm_stat_generic_qstats_input {
+__rte_packed_begin struct hwrm_stat_generic_qstats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -63618,10 +63618,10 @@ struct hwrm_stat_generic_qstats_input {
 	 * generic statistics will be stored
 	 */
 	uint64_t	generic_stat_host_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_stat_generic_qstats_output (size:128b/16B) */
-struct hwrm_stat_generic_qstats_output {
+__rte_packed_begin struct hwrm_stat_generic_qstats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63642,11 +63642,11 @@ struct hwrm_stat_generic_qstats_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Generic Statistic Format */
 /* generic_sw_hw_stats (size:1472b/184B) */
-struct generic_sw_hw_stats {
+__rte_packed_begin struct generic_sw_hw_stats {
 	/*
 	 * This is the number of TLP bytes that have been transmitted for
 	 * the caller PF.
@@ -63744,7 +63744,7 @@ struct generic_sw_hw_stats {
 	 * the hardware based doorbell drop recovery feature.
 	 */
 	uint64_t	hw_db_recov_oo_drop_count;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_stat_db_error_qstats *
@@ -63752,7 +63752,7 @@ struct generic_sw_hw_stats {
 
 
 /* hwrm_stat_db_error_qstats_input (size:128b/16B) */
-struct hwrm_stat_db_error_qstats_input {
+__rte_packed_begin struct hwrm_stat_db_error_qstats_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -63781,10 +63781,10 @@ struct hwrm_stat_db_error_qstats_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_stat_db_error_qstats_output (size:320b/40B) */
-struct hwrm_stat_db_error_qstats_output {
+__rte_packed_begin struct hwrm_stat_db_error_qstats_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63835,7 +63835,7 @@ struct hwrm_stat_db_error_qstats_output {
 	 * written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_exec_fwd_resp *
@@ -63843,7 +63843,7 @@ struct hwrm_stat_db_error_qstats_output {
 
 
 /* hwrm_exec_fwd_resp_input (size:1024b/128B) */
-struct hwrm_exec_fwd_resp_input {
+__rte_packed_begin struct hwrm_exec_fwd_resp_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -63888,10 +63888,10 @@ struct hwrm_exec_fwd_resp_input {
 	 */
 	uint16_t	encap_resp_target_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_exec_fwd_resp_output (size:128b/16B) */
-struct hwrm_exec_fwd_resp_output {
+__rte_packed_begin struct hwrm_exec_fwd_resp_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63909,7 +63909,7 @@ struct hwrm_exec_fwd_resp_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_reject_fwd_resp *
@@ -63917,7 +63917,7 @@ struct hwrm_exec_fwd_resp_output {
 
 
 /* hwrm_reject_fwd_resp_input (size:1024b/128B) */
-struct hwrm_reject_fwd_resp_input {
+__rte_packed_begin struct hwrm_reject_fwd_resp_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -63962,10 +63962,10 @@ struct hwrm_reject_fwd_resp_input {
 	 */
 	uint16_t	encap_resp_target_id;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_reject_fwd_resp_output (size:128b/16B) */
-struct hwrm_reject_fwd_resp_output {
+__rte_packed_begin struct hwrm_reject_fwd_resp_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -63983,7 +63983,7 @@ struct hwrm_reject_fwd_resp_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************
  * hwrm_fwd_resp *
@@ -63991,7 +63991,7 @@ struct hwrm_reject_fwd_resp_output {
 
 
 /* hwrm_fwd_resp_input (size:1024b/128B) */
-struct hwrm_fwd_resp_input {
+__rte_packed_begin struct hwrm_fwd_resp_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64051,10 +64051,10 @@ struct hwrm_fwd_resp_input {
 	uint64_t	encap_resp_addr;
 	/* This is an encapsulated response. */
 	uint32_t	encap_resp[24];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_fwd_resp_output (size:128b/16B) */
-struct hwrm_fwd_resp_output {
+__rte_packed_begin struct hwrm_fwd_resp_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64072,7 +64072,7 @@ struct hwrm_fwd_resp_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_fwd_async_event_cmpl *
@@ -64080,7 +64080,7 @@ struct hwrm_fwd_resp_output {
 
 
 /* hwrm_fwd_async_event_cmpl_input (size:320b/40B) */
-struct hwrm_fwd_async_event_cmpl_input {
+__rte_packed_begin struct hwrm_fwd_async_event_cmpl_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64121,10 +64121,10 @@ struct hwrm_fwd_async_event_cmpl_input {
 	uint8_t	unused_0[6];
 	/* This is an encapsulated asynchronous event completion. */
 	uint32_t	encap_async_event_cmpl[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_fwd_async_event_cmpl_output (size:128b/16B) */
-struct hwrm_fwd_async_event_cmpl_output {
+__rte_packed_begin struct hwrm_fwd_async_event_cmpl_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64142,7 +64142,7 @@ struct hwrm_fwd_async_event_cmpl_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_nvm_raw_write_blk *
@@ -64150,7 +64150,7 @@ struct hwrm_fwd_async_event_cmpl_output {
 
 
 /* hwrm_nvm_raw_write_blk_input (size:256b/32B) */
-struct hwrm_nvm_raw_write_blk_input {
+__rte_packed_begin struct hwrm_nvm_raw_write_blk_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64192,10 +64192,10 @@ struct hwrm_nvm_raw_write_blk_input {
 	uint32_t	dest_addr;
 	/* Length of data to be written, in bytes. */
 	uint32_t	len;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_raw_write_blk_output (size:128b/16B) */
-struct hwrm_nvm_raw_write_blk_output {
+__rte_packed_begin struct hwrm_nvm_raw_write_blk_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64213,7 +64213,7 @@ struct hwrm_nvm_raw_write_blk_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************
  * hwrm_nvm_read *
@@ -64221,7 +64221,7 @@ struct hwrm_nvm_raw_write_blk_output {
 
 
 /* hwrm_nvm_read_input (size:320b/40B) */
-struct hwrm_nvm_read_input {
+__rte_packed_begin struct hwrm_nvm_read_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64263,10 +64263,10 @@ struct hwrm_nvm_read_input {
 	/* The length of the data to be read, in bytes. */
 	uint32_t	len;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_read_output (size:128b/16B) */
-struct hwrm_nvm_read_output {
+__rte_packed_begin struct hwrm_nvm_read_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64284,7 +64284,7 @@ struct hwrm_nvm_read_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_nvm_raw_dump *
@@ -64292,7 +64292,7 @@ struct hwrm_nvm_read_output {
 
 
 /* hwrm_nvm_raw_dump_input (size:256b/32B) */
-struct hwrm_nvm_raw_dump_input {
+__rte_packed_begin struct hwrm_nvm_raw_dump_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64330,10 +64330,10 @@ struct hwrm_nvm_raw_dump_input {
 	uint32_t	offset;
 	/* Total length of NVRAM contents to be read, in bytes. */
 	uint32_t	len;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_raw_dump_output (size:128b/16B) */
-struct hwrm_nvm_raw_dump_output {
+__rte_packed_begin struct hwrm_nvm_raw_dump_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64351,7 +64351,7 @@ struct hwrm_nvm_raw_dump_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_nvm_get_dir_entries *
@@ -64359,7 +64359,7 @@ struct hwrm_nvm_raw_dump_output {
 
 
 /* hwrm_nvm_get_dir_entries_input (size:192b/24B) */
-struct hwrm_nvm_get_dir_entries_input {
+__rte_packed_begin struct hwrm_nvm_get_dir_entries_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64393,10 +64393,10 @@ struct hwrm_nvm_get_dir_entries_input {
 	 * This is the host address where the directory will be written.
 	 */
 	uint64_t	host_dest_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_get_dir_entries_output (size:128b/16B) */
-struct hwrm_nvm_get_dir_entries_output {
+__rte_packed_begin struct hwrm_nvm_get_dir_entries_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64414,7 +64414,7 @@ struct hwrm_nvm_get_dir_entries_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_nvm_get_dir_info *
@@ -64422,7 +64422,7 @@ struct hwrm_nvm_get_dir_entries_output {
 
 
 /* hwrm_nvm_get_dir_info_input (size:128b/16B) */
-struct hwrm_nvm_get_dir_info_input {
+__rte_packed_begin struct hwrm_nvm_get_dir_info_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64451,10 +64451,10 @@ struct hwrm_nvm_get_dir_info_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_get_dir_info_output (size:192b/24B) */
-struct hwrm_nvm_get_dir_info_output {
+__rte_packed_begin struct hwrm_nvm_get_dir_info_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64476,7 +64476,7 @@ struct hwrm_nvm_get_dir_info_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_nvm_write *
@@ -64484,7 +64484,7 @@ struct hwrm_nvm_get_dir_info_output {
 
 
 /* hwrm_nvm_write_input (size:448b/56B) */
-struct hwrm_nvm_write_input {
+__rte_packed_begin struct hwrm_nvm_write_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64598,10 +64598,10 @@ struct hwrm_nvm_write_input {
 	 */
 	uint32_t	len;
 	uint32_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_write_output (size:128b/16B) */
-struct hwrm_nvm_write_output {
+__rte_packed_begin struct hwrm_nvm_write_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64629,10 +64629,10 @@ struct hwrm_nvm_write_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_write_cmd_err (size:64b/8B) */
-struct hwrm_nvm_write_cmd_err {
+__rte_packed_begin struct hwrm_nvm_write_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -64647,7 +64647,7 @@ struct hwrm_nvm_write_cmd_err {
 	#define HWRM_NVM_WRITE_CMD_ERR_CODE_LAST \
 		HWRM_NVM_WRITE_CMD_ERR_CODE_NO_SPACE
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_nvm_modify *
@@ -64655,7 +64655,7 @@ struct hwrm_nvm_write_cmd_err {
 
 
 /* hwrm_nvm_modify_input (size:320b/40B) */
-struct hwrm_nvm_modify_input {
+__rte_packed_begin struct hwrm_nvm_modify_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64716,10 +64716,10 @@ struct hwrm_nvm_modify_input {
 	 */
 	uint32_t	len;
 	uint8_t	unused_1[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_modify_output (size:128b/16B) */
-struct hwrm_nvm_modify_output {
+__rte_packed_begin struct hwrm_nvm_modify_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64737,7 +64737,7 @@ struct hwrm_nvm_modify_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_nvm_find_dir_entry *
@@ -64745,7 +64745,7 @@ struct hwrm_nvm_modify_output {
 
 
 /* hwrm_nvm_find_dir_entry_input (size:256b/32B) */
-struct hwrm_nvm_find_dir_entry_input {
+__rte_packed_begin struct hwrm_nvm_find_dir_entry_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64806,10 +64806,10 @@ struct hwrm_nvm_find_dir_entry_input {
 	#define HWRM_NVM_FIND_DIR_ENTRY_INPUT_OPT_ORDINAL_LAST \
 		HWRM_NVM_FIND_DIR_ENTRY_INPUT_OPT_ORDINAL_GT
 	uint8_t	unused_0[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_find_dir_entry_output (size:256b/32B) */
-struct hwrm_nvm_find_dir_entry_output {
+__rte_packed_begin struct hwrm_nvm_find_dir_entry_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64841,7 +64841,7 @@ struct hwrm_nvm_find_dir_entry_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_nvm_erase_dir_entry *
@@ -64849,7 +64849,7 @@ struct hwrm_nvm_find_dir_entry_output {
 
 
 /* hwrm_nvm_erase_dir_entry_input (size:192b/24B) */
-struct hwrm_nvm_erase_dir_entry_input {
+__rte_packed_begin struct hwrm_nvm_erase_dir_entry_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64881,10 +64881,10 @@ struct hwrm_nvm_erase_dir_entry_input {
 	/* Directory Entry Index */
 	uint16_t	dir_idx;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_erase_dir_entry_output (size:128b/16B) */
-struct hwrm_nvm_erase_dir_entry_output {
+__rte_packed_begin struct hwrm_nvm_erase_dir_entry_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -64902,7 +64902,7 @@ struct hwrm_nvm_erase_dir_entry_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_nvm_get_dev_info *
@@ -64910,7 +64910,7 @@ struct hwrm_nvm_erase_dir_entry_output {
 
 
 /* hwrm_nvm_get_dev_info_input (size:128b/16B) */
-struct hwrm_nvm_get_dev_info_input {
+__rte_packed_begin struct hwrm_nvm_get_dev_info_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -64939,10 +64939,10 @@ struct hwrm_nvm_get_dev_info_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_get_dev_info_output (size:704b/88B) */
-struct hwrm_nvm_get_dev_info_output {
+__rte_packed_begin struct hwrm_nvm_get_dev_info_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -65076,7 +65076,7 @@ struct hwrm_nvm_get_dev_info_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_nvm_mod_dir_entry *
@@ -65084,7 +65084,7 @@ struct hwrm_nvm_get_dev_info_output {
 
 
 /* hwrm_nvm_mod_dir_entry_input (size:256b/32B) */
-struct hwrm_nvm_mod_dir_entry_input {
+__rte_packed_begin struct hwrm_nvm_mod_dir_entry_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -65141,10 +65141,10 @@ struct hwrm_nvm_mod_dir_entry_input {
 	 * value of the content in the directory entry.
 	 */
 	uint32_t	checksum;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_mod_dir_entry_output (size:128b/16B) */
-struct hwrm_nvm_mod_dir_entry_output {
+__rte_packed_begin struct hwrm_nvm_mod_dir_entry_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -65162,7 +65162,7 @@ struct hwrm_nvm_mod_dir_entry_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_nvm_verify_update *
@@ -65170,7 +65170,7 @@ struct hwrm_nvm_mod_dir_entry_output {
 
 
 /* hwrm_nvm_verify_update_input (size:192b/24B) */
-struct hwrm_nvm_verify_update_input {
+__rte_packed_begin struct hwrm_nvm_verify_update_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -65217,10 +65217,10 @@ struct hwrm_nvm_verify_update_input {
 	 */
 	uint16_t	dir_ext;
 	uint8_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_verify_update_output (size:128b/16B) */
-struct hwrm_nvm_verify_update_output {
+__rte_packed_begin struct hwrm_nvm_verify_update_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -65238,7 +65238,7 @@ struct hwrm_nvm_verify_update_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_nvm_install_update *
@@ -65246,7 +65246,7 @@ struct hwrm_nvm_verify_update_output {
 
 
 /* hwrm_nvm_install_update_input (size:192b/24B) */
-struct hwrm_nvm_install_update_input {
+__rte_packed_begin struct hwrm_nvm_install_update_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -65329,10 +65329,10 @@ struct hwrm_nvm_install_update_input {
 	#define HWRM_NVM_INSTALL_UPDATE_INPUT_FLAGS_VERIFY_ONLY \
 		UINT32_C(0x8)
 	uint8_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_install_update_output (size:192b/24B) */
-struct hwrm_nvm_install_update_output {
+__rte_packed_begin struct hwrm_nvm_install_update_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -65481,10 +65481,10 @@ struct hwrm_nvm_install_update_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_install_update_cmd_err (size:64b/8B) */
-struct hwrm_nvm_install_update_cmd_err {
+__rte_packed_begin struct hwrm_nvm_install_update_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -65508,7 +65508,7 @@ struct hwrm_nvm_install_update_cmd_err {
 	#define HWRM_NVM_INSTALL_UPDATE_CMD_ERR_CODE_LAST \
 		HWRM_NVM_INSTALL_UPDATE_CMD_ERR_CODE_NO_VOLTREG_SUPPORT
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_nvm_flush *
@@ -65516,7 +65516,7 @@ struct hwrm_nvm_install_update_cmd_err {
 
 
 /* hwrm_nvm_flush_input (size:128b/16B) */
-struct hwrm_nvm_flush_input {
+__rte_packed_begin struct hwrm_nvm_flush_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -65545,10 +65545,10 @@ struct hwrm_nvm_flush_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_flush_output (size:128b/16B) */
-struct hwrm_nvm_flush_output {
+__rte_packed_begin struct hwrm_nvm_flush_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -65566,10 +65566,10 @@ struct hwrm_nvm_flush_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_flush_cmd_err (size:64b/8B) */
-struct hwrm_nvm_flush_cmd_err {
+__rte_packed_begin struct hwrm_nvm_flush_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -65582,7 +65582,7 @@ struct hwrm_nvm_flush_cmd_err {
 	#define HWRM_NVM_FLUSH_CMD_ERR_CODE_LAST \
 		HWRM_NVM_FLUSH_CMD_ERR_CODE_FAIL
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_nvm_get_variable *
@@ -65590,7 +65590,7 @@ struct hwrm_nvm_flush_cmd_err {
 
 
 /* hwrm_nvm_get_variable_input (size:320b/40B) */
-struct hwrm_nvm_get_variable_input {
+__rte_packed_begin struct hwrm_nvm_get_variable_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -65659,10 +65659,10 @@ struct hwrm_nvm_get_variable_input {
 	#define HWRM_NVM_GET_VARIABLE_INPUT_FLAGS_FACTORY_DFLT \
 		UINT32_C(0x1)
 	uint8_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_get_variable_output (size:128b/16B) */
-struct hwrm_nvm_get_variable_output {
+__rte_packed_begin struct hwrm_nvm_get_variable_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -65699,10 +65699,10 @@ struct hwrm_nvm_get_variable_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_get_variable_cmd_err (size:64b/8B) */
-struct hwrm_nvm_get_variable_cmd_err {
+__rte_packed_begin struct hwrm_nvm_get_variable_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -65719,7 +65719,7 @@ struct hwrm_nvm_get_variable_cmd_err {
 	#define HWRM_NVM_GET_VARIABLE_CMD_ERR_CODE_LAST \
 		HWRM_NVM_GET_VARIABLE_CMD_ERR_CODE_LEN_TOO_SHORT
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /*************************
  * hwrm_nvm_set_variable *
@@ -65727,7 +65727,7 @@ struct hwrm_nvm_get_variable_cmd_err {
 
 
 /* hwrm_nvm_set_variable_input (size:320b/40B) */
-struct hwrm_nvm_set_variable_input {
+__rte_packed_begin struct hwrm_nvm_set_variable_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -65820,10 +65820,10 @@ struct hwrm_nvm_set_variable_input {
 	#define HWRM_NVM_SET_VARIABLE_INPUT_FLAGS_FACTORY_DEFAULT \
 		UINT32_C(0x80)
 	uint8_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_set_variable_output (size:128b/16B) */
-struct hwrm_nvm_set_variable_output {
+__rte_packed_begin struct hwrm_nvm_set_variable_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -65841,10 +65841,10 @@ struct hwrm_nvm_set_variable_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_set_variable_cmd_err (size:64b/8B) */
-struct hwrm_nvm_set_variable_cmd_err {
+__rte_packed_begin struct hwrm_nvm_set_variable_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -65859,7 +65859,7 @@ struct hwrm_nvm_set_variable_cmd_err {
 	#define HWRM_NVM_SET_VARIABLE_CMD_ERR_CODE_LAST \
 		HWRM_NVM_SET_VARIABLE_CMD_ERR_CODE_CORRUPT_VAR
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_nvm_validate_option *
@@ -65867,7 +65867,7 @@ struct hwrm_nvm_set_variable_cmd_err {
 
 
 /* hwrm_nvm_validate_option_input (size:320b/40B) */
-struct hwrm_nvm_validate_option_input {
+__rte_packed_begin struct hwrm_nvm_validate_option_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -65930,10 +65930,10 @@ struct hwrm_nvm_validate_option_input {
 	/* index for the 4th dimensions */
 	uint16_t	index_3;
 	uint8_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_validate_option_output (size:128b/16B) */
-struct hwrm_nvm_validate_option_output {
+__rte_packed_begin struct hwrm_nvm_validate_option_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -65964,10 +65964,10 @@ struct hwrm_nvm_validate_option_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_validate_option_cmd_err (size:64b/8B) */
-struct hwrm_nvm_validate_option_cmd_err {
+__rte_packed_begin struct hwrm_nvm_validate_option_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -65978,7 +65978,7 @@ struct hwrm_nvm_validate_option_cmd_err {
 	#define HWRM_NVM_VALIDATE_OPTION_CMD_ERR_CODE_LAST \
 		HWRM_NVM_VALIDATE_OPTION_CMD_ERR_CODE_UNKNOWN
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_nvm_defrag *
@@ -65986,7 +65986,7 @@ struct hwrm_nvm_validate_option_cmd_err {
 
 
 /* hwrm_nvm_defrag_input (size:192b/24B) */
-struct hwrm_nvm_defrag_input {
+__rte_packed_begin struct hwrm_nvm_defrag_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -66019,10 +66019,10 @@ struct hwrm_nvm_defrag_input {
 	/* This bit must be '1' to perform NVM defragmentation. */
 	#define HWRM_NVM_DEFRAG_INPUT_FLAGS_DEFRAG     UINT32_C(0x1)
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_defrag_output (size:128b/16B) */
-struct hwrm_nvm_defrag_output {
+__rte_packed_begin struct hwrm_nvm_defrag_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -66040,10 +66040,10 @@ struct hwrm_nvm_defrag_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_defrag_cmd_err (size:64b/8B) */
-struct hwrm_nvm_defrag_cmd_err {
+__rte_packed_begin struct hwrm_nvm_defrag_cmd_err {
 	/*
 	 * command specific error codes that goes to
 	 * the cmd_err field in Common HWRM Error Response.
@@ -66056,7 +66056,7 @@ struct hwrm_nvm_defrag_cmd_err {
 	#define HWRM_NVM_DEFRAG_CMD_ERR_CODE_LAST \
 		HWRM_NVM_DEFRAG_CMD_ERR_CODE_FAIL
 	uint8_t	unused_0[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_nvm_get_vpd_field_info *
@@ -66064,7 +66064,7 @@ struct hwrm_nvm_defrag_cmd_err {
 
 
 /* hwrm_nvm_get_vpd_field_info_input (size:192b/24B) */
-struct hwrm_nvm_get_vpd_field_info_input {
+__rte_packed_begin struct hwrm_nvm_get_vpd_field_info_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -66102,10 +66102,10 @@ struct hwrm_nvm_get_vpd_field_info_input {
 	 */
 	uint8_t	tag_id[2];
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_get_vpd_field_info_output (size:2176b/272B) */
-struct hwrm_nvm_get_vpd_field_info_output {
+__rte_packed_begin struct hwrm_nvm_get_vpd_field_info_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -66127,7 +66127,7 @@ struct hwrm_nvm_get_vpd_field_info_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************************
  * hwrm_nvm_set_vpd_field_info *
@@ -66135,7 +66135,7 @@ struct hwrm_nvm_get_vpd_field_info_output {
 
 
 /* hwrm_nvm_set_vpd_field_info_input (size:256b/32B) */
-struct hwrm_nvm_set_vpd_field_info_input {
+__rte_packed_begin struct hwrm_nvm_set_vpd_field_info_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -66180,10 +66180,10 @@ struct hwrm_nvm_set_vpd_field_info_input {
 	/* size of data in bytes */
 	uint16_t	data_len;
 	uint8_t	unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_nvm_set_vpd_field_info_output (size:128b/16B) */
-struct hwrm_nvm_set_vpd_field_info_output {
+__rte_packed_begin struct hwrm_nvm_set_vpd_field_info_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -66201,7 +66201,7 @@ struct hwrm_nvm_set_vpd_field_info_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************
  * hwrm_oem_cmd *
@@ -66209,7 +66209,7 @@ struct hwrm_nvm_set_vpd_field_info_output {
 
 
 /* hwrm_oem_cmd_input (size:1024b/128B) */
-struct hwrm_oem_cmd_input {
+__rte_packed_begin struct hwrm_oem_cmd_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -66265,10 +66265,10 @@ struct hwrm_oem_cmd_input {
 	uint16_t	unused;
 	/* This field contains the vendor specific command data. */
 	uint32_t	oem_data[26];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_oem_cmd_output (size:768b/96B) */
-struct hwrm_oem_cmd_output {
+__rte_packed_begin struct hwrm_oem_cmd_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -66295,7 +66295,7 @@ struct hwrm_oem_cmd_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_dbg_crashdump_header *
@@ -66303,7 +66303,7 @@ struct hwrm_oem_cmd_output {
 
 
 /* hwrm_dbg_crashdump_header_input (size:192b/24B) */
-struct hwrm_dbg_crashdump_header_input {
+__rte_packed_begin struct hwrm_dbg_crashdump_header_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -66333,10 +66333,10 @@ struct hwrm_dbg_crashdump_header_input {
 	 */
 	uint64_t	resp_addr;
 	uint32_t	unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_crashdump_header_output (size:512b/64B) */
-struct hwrm_dbg_crashdump_header_output {
+__rte_packed_begin struct hwrm_dbg_crashdump_header_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -66481,7 +66481,7 @@ struct hwrm_dbg_crashdump_header_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /****************************
  * hwrm_dbg_crashdump_erase *
@@ -66489,7 +66489,7 @@ struct hwrm_dbg_crashdump_header_output {
 
 
 /* hwrm_dbg_crashdump_erase_input (size:192b/24B) */
-struct hwrm_dbg_crashdump_erase_input {
+__rte_packed_begin struct hwrm_dbg_crashdump_erase_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -66537,10 +66537,10 @@ struct hwrm_dbg_crashdump_erase_input {
 		HWRM_DBG_CRASHDUMP_ERASE_INPUT_SCOPE_REINIT
 	uint8_t	unused_0[3];
 	uint32_t	unused_1;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_crashdump_erase_output (size:128b/16B) */
-struct hwrm_dbg_crashdump_erase_output {
+__rte_packed_begin struct hwrm_dbg_crashdump_erase_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -66558,7 +66558,7 @@ struct hwrm_dbg_crashdump_erase_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************
  * hwrm_dbg_qcaps *
@@ -66566,7 +66566,7 @@ struct hwrm_dbg_crashdump_erase_output {
 
 
 /* hwrm_dbg_qcaps_input (size:192b/24B) */
-struct hwrm_dbg_qcaps_input {
+__rte_packed_begin struct hwrm_dbg_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -66602,10 +66602,10 @@ struct hwrm_dbg_qcaps_input {
 	 */
 	uint16_t	fid;
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_qcaps_output (size:192b/24B) */
-struct hwrm_dbg_qcaps_output {
+__rte_packed_begin struct hwrm_dbg_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -66653,7 +66653,7 @@ struct hwrm_dbg_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************
  * hwrm_dbg_qcfg *
@@ -66661,7 +66661,7 @@ struct hwrm_dbg_qcaps_output {
 
 
 /* hwrm_dbg_qcfg_input (size:192b/24B) */
-struct hwrm_dbg_qcfg_input {
+__rte_packed_begin struct hwrm_dbg_qcfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -66727,10 +66727,10 @@ struct hwrm_dbg_qcfg_input {
 	 */
 	#define HWRM_DBG_QCFG_INPUT_COREDUMP_COMPONENT_DISABLE_FLAGS_NVRAM \
 		UINT32_C(0x1)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_qcfg_output (size:256b/32B) */
-struct hwrm_dbg_qcfg_output {
+__rte_packed_begin struct hwrm_dbg_qcfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -66807,7 +66807,7 @@ struct hwrm_dbg_qcfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************************
  * hwrm_dbg_crashdump_medium_cfg *
@@ -66815,7 +66815,7 @@ struct hwrm_dbg_qcfg_output {
 
 
 /* hwrm_dbg_crashdump_medium_cfg_input (size:320b/40B) */
-struct hwrm_dbg_crashdump_medium_cfg_input {
+__rte_packed_begin struct hwrm_dbg_crashdump_medium_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -66908,10 +66908,10 @@ struct hwrm_dbg_crashdump_medium_cfg_input {
 	uint32_t	unused_0;
 	/* Crashdump buffer PBL physical address. */
 	uint64_t	pbl;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_crashdump_medium_cfg_output (size:128b/16B) */
-struct hwrm_dbg_crashdump_medium_cfg_output {
+__rte_packed_begin struct hwrm_dbg_crashdump_medium_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -66929,10 +66929,10 @@ struct hwrm_dbg_crashdump_medium_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* coredump_segment_record (size:128b/16B) */
-struct coredump_segment_record {
+__rte_packed_begin struct coredump_segment_record {
 	/* Component id of the returned component. */
 	uint16_t	component_id;
 	/* Segment id of the returned component. */
@@ -66961,7 +66961,7 @@ struct coredump_segment_record {
 	 * the firmware does not support returning the segment data length.
 	 */
 	uint32_t	segment_len;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_dbg_coredump_list *
@@ -66969,7 +66969,7 @@ struct coredump_segment_record {
 
 
 /* hwrm_dbg_coredump_list_input (size:256b/32B) */
-struct hwrm_dbg_coredump_list_input {
+__rte_packed_begin struct hwrm_dbg_coredump_list_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67015,10 +67015,10 @@ struct hwrm_dbg_coredump_list_input {
 	 */
 	#define HWRM_DBG_COREDUMP_LIST_INPUT_FLAGS_CRASHDUMP     UINT32_C(0x1)
 	uint8_t	unused_0[1];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_coredump_list_output (size:128b/16B) */
-struct hwrm_dbg_coredump_list_output {
+__rte_packed_begin struct hwrm_dbg_coredump_list_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67047,7 +67047,7 @@ struct hwrm_dbg_coredump_list_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_dbg_coredump_initiate *
@@ -67055,7 +67055,7 @@ struct hwrm_dbg_coredump_list_output {
 
 
 /* hwrm_dbg_coredump_initiate_input (size:256b/32B) */
-struct hwrm_dbg_coredump_initiate_input {
+__rte_packed_begin struct hwrm_dbg_coredump_initiate_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67099,10 +67099,10 @@ struct hwrm_dbg_coredump_initiate_input {
 	uint8_t	seg_flags;
 	/* Not used. */
 	uint8_t	unused_1[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_coredump_initiate_output (size:128b/16B) */
-struct hwrm_dbg_coredump_initiate_output {
+__rte_packed_begin struct hwrm_dbg_coredump_initiate_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67120,10 +67120,10 @@ struct hwrm_dbg_coredump_initiate_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /* coredump_data_hdr (size:128b/16B) */
-struct coredump_data_hdr {
+__rte_packed_begin struct coredump_data_hdr {
 	/* Starting address of the register range. */
 	uint32_t	address;
 	/*
@@ -67143,7 +67143,7 @@ struct coredump_data_hdr {
 	uint32_t	instance;
 	/* Starting address of the next register after the current data range */
 	uint32_t	next_offset;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_dbg_coredump_retrieve *
@@ -67151,7 +67151,7 @@ struct coredump_data_hdr {
 
 
 /* hwrm_dbg_coredump_retrieve_input (size:448b/56B) */
-struct hwrm_dbg_coredump_retrieve_input {
+__rte_packed_begin struct hwrm_dbg_coredump_retrieve_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67209,10 +67209,10 @@ struct hwrm_dbg_coredump_retrieve_input {
 	/* Sequence number is used per segment request. Starts at 0. */
 	uint32_t	seq_no;
 	uint32_t	unused_5;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_coredump_retrieve_output (size:128b/16B) */
-struct hwrm_dbg_coredump_retrieve_output {
+__rte_packed_begin struct hwrm_dbg_coredump_retrieve_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67239,7 +67239,7 @@ struct hwrm_dbg_coredump_retrieve_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*******************
  * hwrm_dbg_fw_cli *
@@ -67247,7 +67247,7 @@ struct hwrm_dbg_coredump_retrieve_output {
 
 
 /* hwrm_dbg_fw_cli_input (size:1024b/128B) */
-struct hwrm_dbg_fw_cli_input {
+__rte_packed_begin struct hwrm_dbg_fw_cli_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67288,10 +67288,10 @@ struct hwrm_dbg_fw_cli_input {
 	uint8_t	unused_0[2];
 	/* CLI command string, a single ASCII encoded null terminated string. */
 	uint8_t	cli_cmd[96];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_fw_cli_output (size:128b/16B) */
-struct hwrm_dbg_fw_cli_output {
+__rte_packed_begin struct hwrm_dbg_fw_cli_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67311,7 +67311,7 @@ struct hwrm_dbg_fw_cli_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**************************
  * hwrm_dbg_ring_info_get *
@@ -67319,7 +67319,7 @@ struct hwrm_dbg_fw_cli_output {
 
 
 /* hwrm_dbg_ring_info_get_input (size:192b/24B) */
-struct hwrm_dbg_ring_info_get_input {
+__rte_packed_begin struct hwrm_dbg_ring_info_get_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67363,10 +67363,10 @@ struct hwrm_dbg_ring_info_get_input {
 	uint8_t	unused_0[3];
 	/* Firmware ring ID associated with ring being queried. */
 	uint32_t	fw_ring_id;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_ring_info_get_output (size:192b/24B) */
-struct hwrm_dbg_ring_info_get_output {
+__rte_packed_begin struct hwrm_dbg_ring_info_get_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67399,7 +67399,7 @@ struct hwrm_dbg_ring_info_get_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_dbg_drv_trace *
@@ -67407,7 +67407,7 @@ struct hwrm_dbg_ring_info_get_output {
 
 
 /* hwrm_dbg_drv_trace_input (size:1024b/128B) */
-struct hwrm_dbg_drv_trace_input {
+__rte_packed_begin struct hwrm_dbg_drv_trace_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67463,10 +67463,10 @@ struct hwrm_dbg_drv_trace_input {
 	 * ASCII chars, 'NULL' termination not required.
 	 */
 	char	trace_data[104];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_drv_trace_output (size:128b/16B) */
-struct hwrm_dbg_drv_trace_output {
+__rte_packed_begin struct hwrm_dbg_drv_trace_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67484,7 +67484,7 @@ struct hwrm_dbg_drv_trace_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_dbg_useq_alloc *
@@ -67492,7 +67492,7 @@ struct hwrm_dbg_drv_trace_output {
 
 
 /* hwrm_dbg_useq_alloc_input (size:192b/24B) */
-struct hwrm_dbg_useq_alloc_input {
+__rte_packed_begin struct hwrm_dbg_useq_alloc_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67533,10 +67533,10 @@ struct hwrm_dbg_useq_alloc_input {
 	uint16_t	output_bytes;
 	/* This field is reserved */
 	uint16_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_useq_alloc_output (size:256b/32B) */
-struct hwrm_dbg_useq_alloc_output {
+__rte_packed_begin struct hwrm_dbg_useq_alloc_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67577,7 +67577,7 @@ struct hwrm_dbg_useq_alloc_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint32_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_dbg_useq_free *
@@ -67585,7 +67585,7 @@ struct hwrm_dbg_useq_alloc_output {
 
 
 /* hwrm_dbg_useq_free_input (size:192b/24B) */
-struct hwrm_dbg_useq_free_input {
+__rte_packed_begin struct hwrm_dbg_useq_free_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67618,10 +67618,10 @@ struct hwrm_dbg_useq_free_input {
 	uint16_t	usid;
 	/* This field is reserved */
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_useq_free_output (size:256b/32B) */
-struct hwrm_dbg_useq_free_output {
+__rte_packed_begin struct hwrm_dbg_useq_free_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67660,7 +67660,7 @@ struct hwrm_dbg_useq_free_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint32_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_dbg_useq_flush *
@@ -67668,7 +67668,7 @@ struct hwrm_dbg_useq_free_output {
 
 
 /* hwrm_dbg_useq_flush_input (size:192b/24B) */
-struct hwrm_dbg_useq_flush_input {
+__rte_packed_begin struct hwrm_dbg_useq_flush_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67707,10 +67707,10 @@ struct hwrm_dbg_useq_flush_input {
 		HWRM_DBG_USEQ_FLUSH_INPUT_BUFFERS
 	/* This field is reserved */
 	uint8_t	unused_0[6];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_useq_flush_output (size:256b/32B) */
-struct hwrm_dbg_useq_flush_output {
+__rte_packed_begin struct hwrm_dbg_useq_flush_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67749,7 +67749,7 @@ struct hwrm_dbg_useq_flush_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint32_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /************************
  * hwrm_dbg_useq_cw_cfg *
@@ -67757,7 +67757,7 @@ struct hwrm_dbg_useq_flush_output {
 
 
 /* hwrm_dbg_useq_cw_cfg_input (size:960b/120B) */
-struct hwrm_dbg_useq_cw_cfg_input {
+__rte_packed_begin struct hwrm_dbg_useq_cw_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67832,10 +67832,10 @@ struct hwrm_dbg_useq_cw_cfg_input {
 		HWRM_DBG_USEQ_CW_CFG_INPUT_FLAGS_END
 	/* command dependent data (e.g. function id for host dma command) */
 	uint32_t	opaque[24];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_useq_cw_cfg_output (size:192b/24B) */
-struct hwrm_dbg_useq_cw_cfg_output {
+__rte_packed_begin struct hwrm_dbg_useq_cw_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67864,7 +67864,7 @@ struct hwrm_dbg_useq_cw_cfg_output {
 	uint8_t	full_cnt;
 	/* Reserved */
 	uint8_t	useq_resp_unused_0[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /***********************
  * hwrm_dbg_useq_qcaps *
@@ -67872,7 +67872,7 @@ struct hwrm_dbg_useq_cw_cfg_output {
 
 
 /* hwrm_dbg_useq_qcaps_input (size:128b/16B) */
-struct hwrm_dbg_useq_qcaps_input {
+__rte_packed_begin struct hwrm_dbg_useq_qcaps_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -67901,10 +67901,10 @@ struct hwrm_dbg_useq_qcaps_input {
 	 * point to a physically contiguous block of memory.
 	 */
 	uint64_t	resp_addr;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_useq_qcaps_output (size:384b/48B) */
-struct hwrm_dbg_useq_qcaps_output {
+__rte_packed_begin struct hwrm_dbg_useq_qcaps_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -67951,7 +67951,7 @@ struct hwrm_dbg_useq_qcaps_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint32_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /***************************
  * hwrm_dbg_useq_sched_cfg *
@@ -67959,7 +67959,7 @@ struct hwrm_dbg_useq_qcaps_output {
 
 
 /* hwrm_dbg_useq_sched_cfg_input (size:192b/24B) */
-struct hwrm_dbg_useq_sched_cfg_input {
+__rte_packed_begin struct hwrm_dbg_useq_sched_cfg_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -68013,10 +68013,10 @@ struct hwrm_dbg_useq_sched_cfg_input {
 	uint16_t	usid;
 	/* This value represents microseconds between runs of the USEQ */
 	uint32_t	polling_interval;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_useq_sched_cfg_output (size:256b/32B) */
-struct hwrm_dbg_useq_sched_cfg_output {
+__rte_packed_begin struct hwrm_dbg_useq_sched_cfg_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -68055,7 +68055,7 @@ struct hwrm_dbg_useq_sched_cfg_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint32_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*********************
  * hwrm_dbg_useq_run *
@@ -68063,7 +68063,7 @@ struct hwrm_dbg_useq_sched_cfg_output {
 
 
 /* hwrm_dbg_useq_run_input (size:320b/40B) */
-struct hwrm_dbg_useq_run_input {
+__rte_packed_begin struct hwrm_dbg_useq_run_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -68138,10 +68138,10 @@ struct hwrm_dbg_useq_run_input {
 	uint32_t	host_dest_len;
 	/* This field is reserved */
 	uint32_t	unused_0;
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_useq_run_output (size:256b/32B) */
-struct hwrm_dbg_useq_run_output {
+__rte_packed_begin struct hwrm_dbg_useq_run_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -68184,7 +68184,7 @@ struct hwrm_dbg_useq_run_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint32_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /******************************
  * hwrm_dbg_useq_delivery_req *
@@ -68192,7 +68192,7 @@ struct hwrm_dbg_useq_run_output {
 
 
 /* hwrm_dbg_useq_delivery_req_input (size:896b/112B) */
-struct hwrm_dbg_useq_delivery_req_input {
+__rte_packed_begin struct hwrm_dbg_useq_delivery_req_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -68233,10 +68233,10 @@ struct hwrm_dbg_useq_delivery_req_input {
 	 * 4096 bytes.
 	 */
 	uint32_t	host_dest_len[8];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_useq_delivery_req_output (size:512b/64B) */
-struct hwrm_dbg_useq_delivery_req_output {
+__rte_packed_begin struct hwrm_dbg_useq_delivery_req_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -68281,7 +68281,7 @@ struct hwrm_dbg_useq_delivery_req_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint32_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************************
  * hwrm_dbg_log_buffer_flush *
@@ -68289,7 +68289,7 @@ struct hwrm_dbg_useq_delivery_req_output {
 
 
 /* hwrm_dbg_log_buffer_flush_input (size:192b/24B) */
-struct hwrm_dbg_log_buffer_flush_input {
+__rte_packed_begin struct hwrm_dbg_log_buffer_flush_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -68352,10 +68352,10 @@ struct hwrm_dbg_log_buffer_flush_input {
 	 */
 	#define HWRM_DBG_LOG_BUFFER_FLUSH_INPUT_FLAGS_FLUSH_ALL_BUFFERS \
 		UINT32_C(0x1)
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_dbg_log_buffer_flush_output (size:128b/16B) */
-struct hwrm_dbg_log_buffer_flush_output {
+__rte_packed_begin struct hwrm_dbg_log_buffer_flush_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -68381,7 +68381,7 @@ struct hwrm_dbg_log_buffer_flush_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*****************
  * hwrm_fw_reset *
@@ -68389,7 +68389,7 @@ struct hwrm_dbg_log_buffer_flush_output {
 
 
 /* hwrm_fw_reset_input (size:192b/24B) */
-struct hwrm_fw_reset_input {
+__rte_packed_begin struct hwrm_fw_reset_input {
 	/* The HWRM command request type. */
 	uint16_t        req_type;
 	/*
@@ -68484,10 +68484,10 @@ struct hwrm_fw_reset_input {
 	 */
 	#define HWRM_FW_RESET_INPUT_FLAGS_RESET_GRACEFUL     UINT32_C(0x1)
 	uint8_t unused_0[4];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_fw_reset_output (size:128b/16B) */
-struct hwrm_fw_reset_output {
+__rte_packed_begin struct hwrm_fw_reset_output {
 	/* The specific error status for the command. */
 	uint16_t        error_code;
 	/* The HWRM command request type. */
@@ -68521,7 +68521,7 @@ struct hwrm_fw_reset_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /**********************
  * hwrm_port_ts_query *
@@ -68529,7 +68529,7 @@ struct hwrm_fw_reset_output {
 
 
 /* hwrm_port_ts_query_input (size:192b/24B) */
-struct hwrm_port_ts_query_input {
+__rte_packed_begin struct hwrm_port_ts_query_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -68579,10 +68579,10 @@ struct hwrm_port_ts_query_input {
 	/* Port ID of port that is being queried. */
 	uint16_t	port_id;
 	uint8_t		unused_0[2];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_ts_query_output (size:192b/24B) */
-struct hwrm_port_ts_query_output {
+__rte_packed_begin struct hwrm_port_ts_query_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -68607,7 +68607,7 @@ struct hwrm_port_ts_query_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t		valid;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This structure is fixed at the beginning of the ChiMP SRAM (GRC
@@ -68617,7 +68617,7 @@ struct hwrm_port_ts_query_output {
  * FW_STATUS location in the next field.
  */
 /* hcomm_status (size:64b/8B) */
-struct hcomm_status {
+__rte_packed_begin struct hcomm_status {
 	uint32_t	sig_ver;
 	/*
 	 * This field defines the version of the structure. The latest
@@ -68654,7 +68654,7 @@ struct hcomm_status {
 	 */
 	#define HCOMM_STATUS_TRUE_OFFSET_MASK		UINT32_C(0xfffffffc)
 	#define HCOMM_STATUS_TRUE_OFFSET_SFT		2
-} __rte_packed;
+} __rte_packed_end;
 /* This is the GRC offset where the hcomm_status struct resides. */
 #define HCOMM_STATUS_STRUCT_LOC		0x31001F0UL
 
@@ -68664,7 +68664,7 @@ struct hcomm_status {
 
 
 /* hwrm_port_phy_i2c_read_input (size:320b/40B) */
-struct hwrm_port_phy_i2c_read_input {
+__rte_packed_begin struct hwrm_port_phy_i2c_read_input {
 	/* The HWRM command request type. */
 	uint16_t	req_type;
 	/*
@@ -68716,10 +68716,10 @@ struct hwrm_port_phy_i2c_read_input {
 	 */
 	uint8_t	data_length;
 	uint8_t	unused_1[7];
-} __rte_packed;
+} __rte_packed_end;
 
 /* hwrm_port_phy_i2c_read_output (size:640b/80B) */
-struct hwrm_port_phy_i2c_read_output {
+__rte_packed_begin struct hwrm_port_phy_i2c_read_output {
 	/* The specific error status for the command. */
 	uint16_t	error_code;
 	/* The HWRM command request type. */
@@ -68739,5 +68739,5 @@ struct hwrm_port_phy_i2c_read_output {
 	 * the order of writes has to be such that this field is written last.
 	 */
 	uint8_t	valid;
-} __rte_packed;
+} __rte_packed_end;
 #endif /* _HSI_STRUCT_DEF_DPDK_H_ */
diff --git a/drivers/net/bnxt/tf_core/tf_resources.h b/drivers/net/bnxt/tf_core/tf_resources.h
index e77e882b70..a0adb9ff56 100644
--- a/drivers/net/bnxt/tf_core/tf_resources.h
+++ b/drivers/net/bnxt/tf_core/tf_resources.h
@@ -22,7 +22,7 @@ enum tf_resc_opt {
  *  WC TCAM includes a set of rows, and each row have 4-slices;
  *  each slice has 160bit
  */
-typedef struct tf_resc_wc_tcam_usage {
+typedef __rte_packed_begin struct tf_resc_wc_tcam_usage {
 	uint16_t max_row_number;      /* Max number of rows (excluding AFM), 160bit row */
 	uint16_t slice_row_1_p_used;  /* 1-slice rows partially used */
 	uint16_t slice_row_1_f_used;  /* 1-slice rows fully used */
@@ -31,47 +31,47 @@ typedef struct tf_resc_wc_tcam_usage {
 	uint16_t slice_row_4_used;    /* 4-slice rows fully used */
 	uint16_t unused_row_number;   /* number of unused rows */
 	uint8_t  reserved[2];
-} __rte_packed tf_resc_wc_tcam_usage_t;
+} __rte_packed_end tf_resc_wc_tcam_usage_t;
 
 /* Resource Internal EM memory pool; vary size records */
-typedef struct tf_resc_em_usage {
+typedef __rte_packed_begin struct tf_resc_em_usage {
 	uint16_t max_entries;   /* Max 16-Bytes entries */
 	uint16_t used_entries;  /* each record takes up to 7 entries by design */
-} __rte_packed tf_resc_em_usage_t;
+} __rte_packed_end tf_resc_em_usage_t;
 
 /* Resource Meter */
-typedef struct tf_resc_meter_usage {
+typedef __rte_packed_begin struct tf_resc_meter_usage {
 	uint16_t max_meter_instance;    /* 1023 for Thor, app can reserve some entries */
 	uint16_t max_meter_profile;     /* 256 for Thor, app can reserve some profiles  */
 	uint16_t used_meter_instance;   /* meter instance: fixed size record */
 	uint16_t used_meter_profile;    /* meter profile: fixed size record */
-} __rte_packed tf_resc_meter_usage_t;
+} __rte_packed_end tf_resc_meter_usage_t;
 
 /* Resource Counter */
-typedef struct tf_resc_cnt_usage {
+typedef __rte_packed_begin struct tf_resc_cnt_usage {
 	uint16_t max_entries;           /* each counter take 64-Bytes */
 	uint16_t used_entries;          /* each record uses one entry */
-} __rte_packed tf_resc_cnt_usage_t;
+} __rte_packed_end tf_resc_cnt_usage_t;
 
 /* Resource Action */
-typedef struct tf_resc_act_usage {
+typedef __rte_packed_begin struct tf_resc_act_usage {
 	uint16_t max_entries;              /* Max 8-Bytes entries */
 	uint16_t num_compact_act_records;  /* 8-Bytes records */
 	uint16_t num_full_act_records;     /* 16-Bytes records */
 	uint16_t free_entries;             /* unused entries */
-} __rte_packed tf_resc_act_usage_t;
+} __rte_packed_end tf_resc_act_usage_t;
 
 /* Resource SP SMAC  */
-typedef struct tf_resc_act_sp_smac_usage {
+typedef __rte_packed_begin struct tf_resc_act_sp_smac_usage {
 	uint16_t max_entries;              /* Max 8-Bytes entries */
 	uint16_t num_sp_smac_records;      /* 8-Bytes records */
 	uint16_t num_sp_smac_ipv4_records; /* 8-Bytes records */
 	uint16_t num_sp_smac_ipv6_records; /* 16-Bytes records */
 	uint16_t free_entries;             /* unused entries */
-} __rte_packed tf_resc_act_sp_smac_usage_t;
+} __rte_packed_end tf_resc_act_sp_smac_usage_t;
 
 /* Resource ACT MODIFY and ACT ENCAP */
-typedef struct tf_resc_act_mod_enc_usage {
+typedef __rte_packed_begin struct tf_resc_act_mod_enc_usage {
 	uint16_t max_entries;	            /* Max 8-Bytes entries */
 	struct {
 		uint16_t num_8b_records;    /* 8-bytes records */
@@ -81,10 +81,10 @@ typedef struct tf_resc_act_mod_enc_usage {
 		uint16_t num_128b_records;  /* 128-bytes records  */
 	} data;
 	int16_t free_entries; /* unused entries */
-} __rte_packed tf_resc_act_mod_enc_usage_t;
+} __rte_packed_end tf_resc_act_mod_enc_usage_t;
 
 /* All types of resource usage on both direction */
-typedef struct cfa_tf_resc_usage {
+typedef __rte_packed_begin struct cfa_tf_resc_usage {
 	tf_resc_em_usage_t           em_int_usage;
 	tf_resc_wc_tcam_usage_t      wc_tcam_usage;
 	tf_resc_cnt_usage_t          cnt_usage;
@@ -92,7 +92,7 @@ typedef struct cfa_tf_resc_usage {
 	tf_resc_meter_usage_t        meter_usage;
 	tf_resc_act_mod_enc_usage_t  mod_encap_usage;
 	tf_resc_act_sp_smac_usage_t  sp_smac_usage;
-} __rte_packed cfa_tf_resc_usage_t;
+} __rte_packed_end cfa_tf_resc_usage_t;
 
 /* global data stored in firmware memory and TruFlow driver */
 extern cfa_tf_resc_usage_t tf_resc_usage[TF_DIR_MAX];
diff --git a/drivers/net/bnxt/tf_core/v3/tfc_mpc_table.c b/drivers/net/bnxt/tf_core/v3/tfc_mpc_table.c
index 9b85ede417..abdc9b6517 100644
--- a/drivers/net/bnxt/tf_core/v3/tfc_mpc_table.c
+++ b/drivers/net/bnxt/tf_core/v3/tfc_mpc_table.c
@@ -540,20 +540,20 @@ struct stat_fields_s {
 	uint64_t pkt_cnt;
 	uint64_t byte_cnt;
 	union {
-		struct {
-			uint32_t timestamp __rte_packed;
-			uint16_t tcp_flags __rte_packed;
-		} c_24b;
+		__rte_packed_begin struct {
+			uint32_t timestamp;
+			uint16_t tcp_flags;
+		} c_24b __rte_packed_end;
 		struct {
 			uint64_t meter_pkt_cnt;
 			uint64_t meter_byte_cnt;
 		} c_32b;
-		struct {
-			uint64_t timestamp:32 __rte_packed;
-			uint64_t tcp_flags:16 __rte_packed;
-			uint64_t meter_pkt_cnt:38 __rte_packed;
-			uint64_t meter_byte_cnt:42 __rte_packed;
-		} c_32b_all;
+		__rte_packed_begin struct {
+			uint64_t timestamp:32;
+			uint64_t tcp_flags:16;
+			uint64_t meter_pkt_cnt:38;
+			uint64_t meter_byte_cnt:42;
+		} c_32b_all __rte_packed_end;
 	} t;
 };
 
diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.h b/drivers/net/bonding/rte_eth_bond_8023ad.h
index 5432eafcfe..eb1326de8c 100644
--- a/drivers/net/bonding/rte_eth_bond_8023ad.h
+++ b/drivers/net/bonding/rte_eth_bond_8023ad.h
@@ -51,18 +51,18 @@ enum rte_bond_8023ad_agg_selection {
 };
 
 /** Generic slow protocol structure */
-struct slow_protocol {
+__rte_packed_begin struct slow_protocol {
 	uint8_t subtype;
 	uint8_t reserved_119[119];
-} __rte_packed;
+} __rte_packed_end;
 
 /** Generic slow protocol frame type structure */
-struct __rte_aligned(2) slow_protocol_frame {
+__rte_packed_begin struct __rte_aligned(2) slow_protocol_frame {
 	struct rte_ether_hdr eth_hdr;
 	struct slow_protocol slow_protocol;
-} __rte_packed;
+} __rte_packed_end;
 
-struct __rte_aligned(2) port_params {
+__rte_packed_begin struct __rte_aligned(2) port_params {
 	uint16_t system_priority;
 	/**< System priority (unused in current implementation) */
 	struct rte_ether_addr system;
@@ -73,18 +73,18 @@ struct __rte_aligned(2) port_params {
 	/**< Priority of this (unused in current implementation) */
 	uint16_t port_number;
 	/**< Port number. It corresponds to member port id. */
-} __rte_packed;
+} __rte_packed_end;
 
-struct __rte_aligned(2) lacpdu_actor_partner_params {
+__rte_packed_begin struct __rte_aligned(2) lacpdu_actor_partner_params {
 	uint8_t tlv_type_info;
 	uint8_t info_length;
 	struct port_params port_params;
 	uint8_t state;
 	uint8_t reserved_3[3];
-} __rte_packed;
+} __rte_packed_end;
 
 /** LACPDU structure (5.4.2 in 802.1AX documentation). */
-struct __rte_aligned(2) lacpdu {
+__rte_packed_begin struct __rte_aligned(2) lacpdu {
 	uint8_t subtype;
 	uint8_t version_number;
 
@@ -99,15 +99,15 @@ struct __rte_aligned(2) lacpdu {
 	uint8_t tlv_type_terminator;
 	uint8_t terminator_length;
 	uint8_t reserved_50[50];
-} __rte_packed;
+} __rte_packed_end;
 
 /** LACPDU frame: Contains ethernet header and LACPDU. */
-struct __rte_aligned(2) lacpdu_header {
+__rte_packed_begin struct __rte_aligned(2) lacpdu_header {
 	struct rte_ether_hdr eth_hdr;
 	struct lacpdu lacpdu;
-} __rte_packed;
+} __rte_packed_end;
 
-struct __rte_aligned(2) marker {
+__rte_packed_begin struct __rte_aligned(2) marker {
 	uint8_t subtype;
 	uint8_t version_number;
 
@@ -121,12 +121,12 @@ struct __rte_aligned(2) marker {
 	uint8_t tlv_type_terminator;
 	uint8_t terminator_length;
 	uint8_t reserved_90[90];
-} __rte_packed;
+} __rte_packed_end;
 
-struct __rte_aligned(2) marker_header {
+__rte_packed_begin struct __rte_aligned(2) marker_header {
 	struct rte_ether_hdr eth_hdr;
 	struct marker marker;
-} __rte_packed;
+} __rte_packed_end;
 
 struct rte_eth_bond_8023ad_conf {
 	uint32_t fast_periodic_ms;
diff --git a/drivers/net/cnxk/cn10k_rxtx.h b/drivers/net/cnxk/cn10k_rxtx.h
index ed54e5f920..462957ac90 100644
--- a/drivers/net/cnxk/cn10k_rxtx.h
+++ b/drivers/net/cnxk/cn10k_rxtx.h
@@ -92,7 +92,7 @@ struct cn10k_inb_priv_data {
 	struct cnxk_eth_sec_sess *eth_sec;
 };
 
-struct cn10k_sec_sess_priv {
+__rte_packed_begin struct cn10k_sec_sess_priv {
 	union {
 		struct {
 			uint32_t sa_idx;
@@ -110,7 +110,7 @@ struct cn10k_sec_sess_priv {
 
 		uint64_t u64;
 	};
-} __rte_packed;
+} __rte_packed_end;
 
 #define LMT_OFF(lmt_addr, lmt_num, offset)                                     \
 	(void *)((uintptr_t)(lmt_addr) +                                       \
diff --git a/drivers/net/cnxk/cn20k_rxtx.h b/drivers/net/cnxk/cn20k_rxtx.h
index 03eaf34d64..1dccf8209f 100644
--- a/drivers/net/cnxk/cn20k_rxtx.h
+++ b/drivers/net/cnxk/cn20k_rxtx.h
@@ -91,7 +91,7 @@ struct cn20k_inb_priv_data {
 	struct cnxk_eth_sec_sess *eth_sec;
 };
 
-struct cn20k_sec_sess_priv {
+__rte_packed_begin struct cn20k_sec_sess_priv {
 	union {
 		struct {
 			uint32_t sa_idx;
@@ -109,7 +109,7 @@ struct cn20k_sec_sess_priv {
 
 		uint64_t u64;
 	};
-} __rte_packed;
+} __rte_packed_end;
 
 #define LMT_OFF(lmt_addr, lmt_num, offset)                                                         \
 	(void *)((uintptr_t)(lmt_addr) + ((uint64_t)(lmt_num) << ROC_LMT_LINE_SIZE_LOG2) + (offset))
diff --git a/drivers/net/cnxk/cn9k_ethdev.h b/drivers/net/cnxk/cn9k_ethdev.h
index 4933954c33..47bc0591e6 100644
--- a/drivers/net/cnxk/cn9k_ethdev.h
+++ b/drivers/net/cnxk/cn9k_ethdev.h
@@ -86,7 +86,7 @@ struct cn9k_outb_priv_data {
 	uint8_t iv_dbg[ROC_IE_ON_MAX_IV_LEN];
 };
 
-struct cn9k_sec_sess_priv {
+__rte_packed_begin struct cn9k_sec_sess_priv {
 	union {
 		struct {
 			uint32_t sa_idx;
@@ -99,7 +99,7 @@ struct cn9k_sec_sess_priv {
 
 		uint64_t u64;
 	};
-} __rte_packed;
+} __rte_packed_end;
 
 /* Rx and Tx routines */
 void cn9k_eth_set_rx_function(struct rte_eth_dev *eth_dev);
diff --git a/drivers/net/cnxk/cnxk_rep_msg.h b/drivers/net/cnxk/cnxk_rep_msg.h
index f5cb636c6c..885ffdb380 100644
--- a/drivers/net/cnxk/cnxk_rep_msg.h
+++ b/drivers/net/cnxk/cnxk_rep_msg.h
@@ -45,27 +45,27 @@ typedef enum CNXK_NACK_CODE {
 } cnxk_nack_code_t;
 
 /* Types */
-typedef struct cnxk_type_data {
+typedef __rte_packed_begin struct cnxk_type_data {
 	cnxk_type_t type;
 	uint32_t length;
 	uint64_t data[];
-} __rte_packed cnxk_type_data_t;
+} __rte_packed_end cnxk_type_data_t;
 
 /* Header */
-typedef struct cnxk_header {
+typedef __rte_packed_begin struct cnxk_header {
 	uint64_t signature;
 	uint16_t nb_hops;
-} __rte_packed cnxk_header_t;
+} __rte_packed_end cnxk_header_t;
 
 /* Message meta */
-typedef struct cnxk_rep_msg_data {
+typedef __rte_packed_begin struct cnxk_rep_msg_data {
 	cnxk_rep_msg_t type;
 	uint32_t length;
 	uint64_t data[];
-} __rte_packed cnxk_rep_msg_data_t;
+} __rte_packed_end cnxk_rep_msg_data_t;
 
 /* Ack msg */
-typedef struct cnxk_rep_msg_ack_data {
+typedef __rte_packed_begin struct cnxk_rep_msg_ack_data {
 	cnxk_rep_msg_t type;
 	uint32_t size;
 	union {
@@ -73,87 +73,87 @@ typedef struct cnxk_rep_msg_ack_data {
 		uint64_t val;
 		int64_t sval;
 	} u;
-} __rte_packed cnxk_rep_msg_ack_data_t;
+} __rte_packed_end cnxk_rep_msg_ack_data_t;
 
 /* Ack msg */
-typedef struct cnxk_rep_msg_ack_data1 {
+typedef __rte_packed_begin struct cnxk_rep_msg_ack_data1 {
 	cnxk_rep_msg_t type;
 	uint32_t size;
 	uint64_t data[];
-} __rte_packed cnxk_rep_msg_ack_data1_t;
+} __rte_packed_end cnxk_rep_msg_ack_data1_t;
 
 /* Ready msg */
-typedef struct cnxk_rep_msg_ready_data {
+typedef __rte_packed_begin struct cnxk_rep_msg_ready_data {
 	uint8_t val;
 	uint16_t nb_ports;
 	uint32_t data[];
-} __rte_packed cnxk_rep_msg_ready_data_t;
+} __rte_packed_end cnxk_rep_msg_ready_data_t;
 
 /* Exit msg */
-typedef struct cnxk_rep_msg_exit_data {
+typedef __rte_packed_begin struct cnxk_rep_msg_exit_data {
 	uint8_t val;
 	uint16_t nb_ports;
 	uint16_t data[];
-} __rte_packed cnxk_rep_msg_exit_data_t;
+} __rte_packed_end cnxk_rep_msg_exit_data_t;
 
 /* Ethernet op - set mac */
-typedef struct cnxk_rep_msg_eth_mac_set_meta {
+typedef __rte_packed_begin struct cnxk_rep_msg_eth_mac_set_meta {
 	uint16_t portid;
 	uint8_t addr_bytes[RTE_ETHER_ADDR_LEN];
-} __rte_packed cnxk_rep_msg_eth_set_mac_meta_t;
+} __rte_packed_end cnxk_rep_msg_eth_set_mac_meta_t;
 
 /* Ethernet op - get/clear stats */
-typedef struct cnxk_rep_msg_eth_stats_meta {
+typedef __rte_packed_begin struct cnxk_rep_msg_eth_stats_meta {
 	uint16_t portid;
-} __rte_packed cnxk_rep_msg_eth_stats_meta_t;
+} __rte_packed_end cnxk_rep_msg_eth_stats_meta_t;
 
 /* Flow create msg meta */
-typedef struct cnxk_rep_msg_flow_create_meta {
+typedef __rte_packed_begin struct cnxk_rep_msg_flow_create_meta {
 	uint16_t portid;
 	uint16_t nb_pattern;
 	uint16_t nb_action;
-} __rte_packed cnxk_rep_msg_flow_create_meta_t;
+} __rte_packed_end cnxk_rep_msg_flow_create_meta_t;
 
 /* Flow destroy msg meta */
-typedef struct cnxk_rep_msg_flow_destroy_meta {
+typedef __rte_packed_begin struct cnxk_rep_msg_flow_destroy_meta {
 	uint64_t flow;
 	uint16_t portid;
-} __rte_packed cnxk_rep_msg_flow_destroy_meta_t;
+} __rte_packed_end cnxk_rep_msg_flow_destroy_meta_t;
 
 /* Flow flush msg meta */
-typedef struct cnxk_rep_msg_flow_flush_meta {
+typedef __rte_packed_begin struct cnxk_rep_msg_flow_flush_meta {
 	uint16_t portid;
-} __rte_packed cnxk_rep_msg_flow_flush_meta_t;
+} __rte_packed_end cnxk_rep_msg_flow_flush_meta_t;
 
 /* Flow dump msg meta */
-typedef struct cnxk_rep_msg_flow_dump_meta {
+typedef __rte_packed_begin struct cnxk_rep_msg_flow_dump_meta {
 	uint64_t flow;
 	uint16_t portid;
 	uint8_t is_stdout;
-} __rte_packed cnxk_rep_msg_flow_dump_meta_t;
+} __rte_packed_end cnxk_rep_msg_flow_dump_meta_t;
 
 /* Flow query msg meta */
-typedef struct cnxk_rep_msg_flow_query_meta {
+typedef __rte_packed_begin struct cnxk_rep_msg_flow_query_meta {
 	uint64_t flow;
 	uint16_t portid;
 	uint8_t reset;
 	uint32_t action_data_sz;
 	uint8_t action_data[];
-} __rte_packed cnxk_rep_msg_flow_query_meta_t;
+} __rte_packed_end cnxk_rep_msg_flow_query_meta_t;
 
 /* Type pattern meta */
-typedef struct cnxk_pattern_hdr {
+typedef __rte_packed_begin struct cnxk_pattern_hdr {
 	uint16_t type;
 	uint16_t spec_sz;
 	uint16_t last_sz;
 	uint16_t mask_sz;
-} __rte_packed cnxk_pattern_hdr_t;
+} __rte_packed_end cnxk_pattern_hdr_t;
 
 /* Type action meta */
-typedef struct cnxk_action_hdr {
+typedef __rte_packed_begin struct cnxk_action_hdr {
 	uint16_t type;
 	uint16_t conf_sz;
-} __rte_packed cnxk_action_hdr_t;
+} __rte_packed_end cnxk_action_hdr_t;
 
 void cnxk_rep_msg_populate_command(void *buffer, uint32_t *length, cnxk_rep_msg_t type,
 				   uint32_t size);
diff --git a/drivers/net/dpaa/dpaa_rxtx.h b/drivers/net/dpaa/dpaa_rxtx.h
index 392926e286..ad9f315a61 100644
--- a/drivers/net/dpaa/dpaa_rxtx.h
+++ b/drivers/net/dpaa/dpaa_rxtx.h
@@ -173,12 +173,12 @@ enum dpaa_parse_result_l4_type {
 /**
  * FMan parse result array
  */
-struct dpaa_eth_parse_results_t {
+__rte_packed_begin struct dpaa_eth_parse_results_t {
 	uint8_t lpid; /**< Logical port id */
 	uint8_t shimr; /**< Shim header result  */
-	union {
+	__rte_packed_begin union {
 		uint16_t l2r; /**< Layer 2 result */
-		struct {
+		__rte_packed_begin struct {
 			uint16_t unused_1:3;
 			uint16_t ppoe_ppp:1;
 			uint16_t mpls:1;
@@ -190,11 +190,11 @@ struct dpaa_eth_parse_results_t {
 			uint16_t eth_frame_type:2;
 			/*00-unicast, 01-multicast, 11-broadcast*/
 			uint16_t unknown_eth_proto:1;
-		} __rte_packed;
-	} __rte_packed;
-	union {
+		} __rte_packed_end;
+	} __rte_packed_end;
+	__rte_packed_begin union {
 		uint16_t l3r;	/**< Layer 3 result */
-		struct {
+		__rte_packed_begin struct {
 			uint16_t unused_2:1;
 			uint16_t l3_err:1;
 			uint16_t last_ipv6:1;
@@ -205,19 +205,19 @@ struct dpaa_eth_parse_results_t {
 			uint16_t first_ipv4:1;
 
 			uint16_t unused_3:8;
-		} __rte_packed;
-	} __rte_packed;
-	union {
+		} __rte_packed_end;
+	} __rte_packed_end;
+	__rte_packed_begin union {
 		uint8_t l4r;	/**< Layer 4 result */
-		struct{
+		__rte_packed_begin struct{
 			uint8_t l4cv:1;
 			uint8_t unused_4:1;
 			uint8_t ah:1;
 			uint8_t esp_sum:1;
 			uint8_t l4_info_err:1;
 			uint8_t l4_type:3;
-		} __rte_packed;
-	} __rte_packed;
+		} __rte_packed_end;
+	} __rte_packed_end;
 	uint8_t cplan; /**< Classification plan id */
 	uint16_t nxthdr; /**< Next Header  */
 	uint16_t cksum; /**< Checksum */
@@ -233,7 +233,7 @@ struct dpaa_eth_parse_results_t {
 	uint8_t gre_off; /**< GRE offset */
 	uint8_t l4_off; /**< Layer 4 offset */
 	uint8_t nxthdr_off; /**< Parser end point */
-} __rte_packed;
+} __rte_packed_end;
 
 /* The structure is the Prepended Data to the Frame which is used by FMAN */
 struct annotations_t {
diff --git a/drivers/net/dpaa/fmlib/fm_ext.h b/drivers/net/dpaa/fmlib/fm_ext.h
index 9a3193674e..e3fb38e7e9 100644
--- a/drivers/net/dpaa/fmlib/fm_ext.h
+++ b/drivers/net/dpaa/fmlib/fm_ext.h
@@ -76,7 +76,7 @@ typedef enum e_fm_port_type {
 /*
  * @Description   Parse results memory layout
  */
-typedef struct t_fm_prs_result {
+typedef __rte_packed_begin struct t_fm_prs_result {
 	volatile uint8_t	lpid;		/**< Logical port id */
 	volatile uint8_t	shimr;		/**< Shim header result  */
 	volatile uint16_t	l2r;		/**< Layer 2 result */
@@ -109,7 +109,7 @@ typedef struct t_fm_prs_result {
 	volatile uint8_t	gre_off;	/**< GRE offset */
 	volatile uint8_t	l4_off;		/**< Layer 4 offset */
 	volatile uint8_t	nxthdr_off;	/**< Parser end point */
-} __rte_packed t_fm_prs_result;
+} __rte_packed_end t_fm_prs_result;
 
 /*
  * @Collection   FM Parser results
diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h b/drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h
index 7e5e499b6a..e807060294 100644
--- a/drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h
+++ b/drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h
@@ -32,12 +32,12 @@ extern "C" {
 #define DPAA2_FD_CTRL_PTV1	0x00400000
 
 /* Frame annotation status */
-struct dpaa2_fas {
+__rte_packed_begin struct dpaa2_fas {
 	uint8_t reserved;
 	uint8_t ppid;
 	__le16 ifpid;
 	__le32 status;
-}  __rte_packed;
+}  __rte_packed_end;
 
 /**
  * HW Packet Annotation  Register structures
diff --git a/drivers/net/dpaa2/dpaa2_recycle.c b/drivers/net/dpaa2/dpaa2_recycle.c
index 4fde9b95a0..eec99c3475 100644
--- a/drivers/net/dpaa2/dpaa2_recycle.c
+++ b/drivers/net/dpaa2/dpaa2_recycle.c
@@ -67,18 +67,18 @@
 #define FSL_LS_SRDS1_PRTCL_MASK		0xFFFF0000
 #define FSL_LS_SRDS2_PRTCL_MASK		0x0000FFFF
 
-struct ccsr_lx_serdes_lan {
+__rte_packed_begin struct ccsr_lx_serdes_lan {
 	uint8_t unused1[0xa0];
 	uint32_t lnatcsr0;
 	uint8_t unused2[0x100 - 0xa4];
-} __rte_packed;
+} __rte_packed_end;
 
-struct ccsr_lx_serdes {
+__rte_packed_begin struct ccsr_lx_serdes {
 	uint8_t unused0[0x800];
 	struct ccsr_lx_serdes_lan lane[LSX_SERDES_LAN_NB];
-} __rte_packed;
+} __rte_packed_end;
 
-struct ccsr_ls_serdes {
+__rte_packed_begin struct ccsr_ls_serdes {
 	uint8_t unused[0x800];
 	struct serdes_lane {
 		uint32_t gcr0;   /* General Control Register 0 */
@@ -94,9 +94,9 @@ struct ccsr_ls_serdes {
 		uint32_t tsc3;
 	} lane[LSX_SERDES_LAN_NB];
 	uint8_t res5[0x19fc - 0xa00];
-} __rte_packed;
+} __rte_packed_end;
 
-struct ccsr_gur {
+__rte_packed_begin struct ccsr_gur {
 	uint32_t	porsr1;		/* POR status 1 */
 	uint32_t	porsr2;		/* POR status 2 */
 	uint8_t	res_008[0x20 - 0x8];
@@ -170,7 +170,7 @@ struct ccsr_gur {
 	uint32_t ipbrr1;
 	uint32_t ipbrr2;
 	uint8_t	res_858[0x1000 - 0xc00];
-} __rte_packed;
+} __rte_packed_end;
 
 static void *lsx_ccsr_map_region(uint64_t addr, size_t len)
 {
diff --git a/drivers/net/enic/base/vnic_devcmd.h b/drivers/net/enic/base/vnic_devcmd.h
index 2b3be855f9..f784978595 100644
--- a/drivers/net/enic/base/vnic_devcmd.h
+++ b/drivers/net/enic/base/vnic_devcmd.h
@@ -798,13 +798,13 @@ struct vnic_devcmd_provinfo {
 			     FILTER_FIELD_USNIC_PROTO | \
 			     FILTER_FIELD_USNIC_ID)
 
-struct filter_usnic_id {
+__rte_packed_begin struct filter_usnic_id {
 	uint32_t flags;
 	uint16_t vlan;
 	uint16_t ethtype;
 	uint8_t proto_version;
 	uint32_t usnic_id;
-} __rte_packed;
+} __rte_packed_end;
 
 #define FILTER_FIELD_5TUP_PROTO  FILTER_FIELD_VALID(1)
 #define FILTER_FIELD_5TUP_SRC_AD FILTER_FIELD_VALID(2)
@@ -826,14 +826,14 @@ enum protocol_e {
 	PROTO_IPV6 = 3
 };
 
-struct filter_ipv4_5tuple {
+__rte_packed_begin struct filter_ipv4_5tuple {
 	uint32_t flags;
 	uint32_t protocol;
 	uint32_t src_addr;
 	uint32_t dst_addr;
 	uint16_t src_port;
 	uint16_t dst_port;
-} __rte_packed;
+} __rte_packed_end;
 
 #define FILTER_FIELD_VMQ_VLAN   FILTER_FIELD_VALID(1)
 #define FILTER_FIELD_VMQ_MAC    FILTER_FIELD_VALID(2)
@@ -843,11 +843,11 @@ struct filter_ipv4_5tuple {
 
 #define FILTER_FIELDS_NVGRE    FILTER_FIELD_VMQ_MAC
 
-struct filter_mac_vlan {
+__rte_packed_begin struct filter_mac_vlan {
 	uint32_t flags;
 	uint16_t vlan;
 	uint8_t mac_addr[6];
-} __rte_packed;
+} __rte_packed_end;
 
 #define FILTER_FIELD_VLAN_IP_3TUP_VLAN      FILTER_FIELD_VALID(1)
 #define FILTER_FIELD_VLAN_IP_3TUP_L3_PROTO  FILTER_FIELD_VALID(2)
@@ -861,7 +861,7 @@ struct filter_mac_vlan {
 				    FILTER_FIELD_VLAN_IP_3TUP_L4_PROTO | \
 				    FILTER_FIELD_VLAN_IP_3TUP_DST_PT)
 
-struct filter_vlan_ip_3tuple {
+__rte_packed_begin struct filter_vlan_ip_3tuple {
 	uint32_t flags;
 	uint16_t vlan;
 	uint16_t l3_protocol;
@@ -871,7 +871,7 @@ struct filter_vlan_ip_3tuple {
 	} u;
 	uint32_t l4_protocol;
 	uint16_t dst_port;
-} __rte_packed;
+} __rte_packed_end;
 
 #define FILTER_GENERIC_1_BYTES 64
 
@@ -898,19 +898,19 @@ enum filter_generic_1_layer {
  * Version 1 of generic filter specification
  * position is only 16 bits, reserving positions > 64k to be used by firmware
  */
-struct filter_generic_1 {
+__rte_packed_begin struct filter_generic_1 {
 	uint16_t position;       /* lower position comes first */
 	uint32_t mask_flags;
 	uint32_t val_flags;
 	uint16_t mask_vlan;
 	uint16_t val_vlan;
-	struct {
+	__rte_packed_begin struct {
 		uint8_t mask[FILTER_GENERIC_1_KEY_LEN]; /* 0 bit means
 							 * " don't care"
 							 */
 		uint8_t val[FILTER_GENERIC_1_KEY_LEN];
-	} __rte_packed layer[FILTER_GENERIC_1_NUM_LAYERS];
-} __rte_packed;
+	} __rte_packed_end layer[FILTER_GENERIC_1_NUM_LAYERS];
+} __rte_packed_end;
 
 /* Specifies the filter_action type. */
 enum {
@@ -919,12 +919,12 @@ enum {
 	FILTER_ACTION_MAX
 };
 
-struct filter_action {
+__rte_packed_begin struct filter_action {
 	uint32_t type;
 	union {
 		uint32_t rq_idx;
 	} u;
-} __rte_packed;
+} __rte_packed_end;
 
 #define FILTER_ACTION_RQ_STEERING_FLAG	(1 << 0)
 #define FILTER_ACTION_FILTER_ID_FLAG	(1 << 1)
@@ -937,13 +937,13 @@ struct filter_action {
 /* Version 2 of filter action must be a strict extension of struct
  * filter_action where the first fields exactly match in size and meaning.
  */
-struct filter_action_v2 {
+__rte_packed_begin struct filter_action_v2 {
 	uint32_t type;
 	uint32_t rq_idx;
 	uint32_t flags;               /* use FILTER_ACTION_XXX_FLAG defines */
 	uint16_t filter_id;
 	uint8_t reserved[32];         /* for future expansion */
-} __rte_packed;
+} __rte_packed_end;
 
 /* Specifies the filter type. */
 enum filter_type {
@@ -973,7 +973,7 @@ enum filter_type {
 					FILTER_USNIC_IP_FLAG | \
 					FILTER_DPDK_1_FLAG)
 
-struct filter {
+__rte_packed_begin struct filter {
 	uint32_t type;
 	union {
 		struct filter_usnic_id usnic;
@@ -981,7 +981,7 @@ struct filter {
 		struct filter_mac_vlan mac_vlan;
 		struct filter_vlan_ip_3tuple vlan_3tuple;
 	} u;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * This is a strict superset of "struct filter" and exists only
@@ -992,7 +992,7 @@ struct filter {
  * the TLV size instead of sizeof (struct fiter_v2) to guard against future
  * growth.
  */
-struct filter_v2 {
+__rte_packed_begin struct filter_v2 {
 	uint32_t type;
 	union {
 		struct filter_usnic_id usnic;
@@ -1001,7 +1001,7 @@ struct filter_v2 {
 		struct filter_vlan_ip_3tuple vlan_3tuple;
 		struct filter_generic_1 generic_1;
 	} u;
-} __rte_packed;
+} __rte_packed_end;
 
 enum {
 	CLSF_TLV_FILTER = 0,
diff --git a/drivers/net/enic/base/vnic_flowman.h b/drivers/net/enic/base/vnic_flowman.h
index 81e2cff1b0..cfe0cbadea 100644
--- a/drivers/net/enic/base/vnic_flowman.h
+++ b/drivers/net/enic/base/vnic_flowman.h
@@ -100,23 +100,23 @@ enum {
 #define FM_LAYER_SIZE 64
 
 /* Header match pattern */
-struct fm_header_set {
+__rte_packed_begin struct fm_header_set {
 	uint32_t fk_metadata;       /* FKM flags */
 	uint32_t fk_header_select;  /* FKH flags */
 	uint16_t fk_vlan;
 	/* L2: Ethernet Header (valid if FKH_ETHER) */
-	union {
-		struct {
+	__rte_packed_begin union {
+		__rte_packed_begin struct {
 			uint8_t fk_dstmac[FM_ETH_ALEN];
 			uint8_t fk_srcmac[FM_ETH_ALEN];
 			uint16_t fk_ethtype;
-		} __rte_packed eth;
+		} __rte_packed_end eth;
 		uint8_t rawdata[FM_LAYER_SIZE];
-	} __rte_packed l2;
+	} __rte_packed_end l2;
 	/* L3: IPv4 or IPv6 (valid if FKH_IPV4,6) */
-	union {
+	__rte_packed_begin union {
 		/* Valid if FKH_IPV4 */
-		struct {
+		__rte_packed_begin struct {
 			uint8_t fk_ihl_vers;
 			uint8_t fk_tos;
 			uint16_t fk_tot_len;
@@ -127,9 +127,9 @@ struct fm_header_set {
 			uint16_t fk_check;
 			uint32_t fk_saddr;
 			uint32_t fk_daddr;
-		} __rte_packed ip4;
+		} __rte_packed_end ip4;
 		/* Valid if FKH_IPV6 */
-		struct {
+		__rte_packed_begin struct {
 			union {
 				struct {
 					uint32_t fk_un1_flow;
@@ -141,18 +141,18 @@ struct fm_header_set {
 			} ctl;
 			uint8_t fk_srcip[16];
 			uint8_t fk_dstip[16];
-		} __rte_packed ip6;
+		} __rte_packed_end ip6;
 		uint8_t rawdata[FM_LAYER_SIZE];
-	} __rte_packed l3;
+	} __rte_packed_end l3;
 	/* L4: UDP, TCP, or ICMP (valid if FKH_UDP,TCP,ICMP) */
-	union {
-		struct {
+	__rte_packed_begin union {
+		__rte_packed_begin struct {
 			uint16_t fk_source;
 			uint16_t fk_dest;
 			uint16_t fk_len;
 			uint16_t fk_check;
-		} __rte_packed udp;
-		struct {
+		} __rte_packed_end udp;
+		__rte_packed_begin struct {
 			uint16_t fk_source;
 			uint16_t fk_dest;
 			uint32_t fk_seq;
@@ -161,23 +161,23 @@ struct fm_header_set {
 			uint16_t fk_window;
 			uint16_t fk_check;
 			uint16_t fk_urg_ptr;
-		} __rte_packed tcp;
-		struct {
+		} __rte_packed_end tcp;
+		__rte_packed_begin struct {
 			uint8_t fk_code;
 			uint8_t fk_type;
-		} __rte_packed icmp;
+		} __rte_packed_end icmp;
 		uint8_t rawdata[FM_LAYER_SIZE];
-	} __rte_packed l4;
+	} __rte_packed_end l4;
 	/* VXLAN (valid if FKH_VXLAN) */
-	struct {
+	__rte_packed_begin struct {
 		uint8_t fkvx_flags;
 		uint8_t fkvx_res0[3];
 		uint8_t fkvx_vni[3];
 		uint8_t fkvx_res1;
-	} __rte_packed vxlan;
+	} __rte_packed_end vxlan;
 	/* Payload or unknown inner-most protocol */
 	uint8_t fk_l5_data[64];
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * FK (flow key) template.
@@ -186,7 +186,7 @@ struct fm_header_set {
  */
 #define FM_HDRSET_MAX 2
 
-struct fm_key_template {
+__rte_packed_begin struct fm_key_template {
 	struct fm_header_set fk_hdrset[FM_HDRSET_MAX];
 	uint32_t fk_flags;
 	uint16_t fk_packet_tag;
@@ -194,7 +194,7 @@ struct fm_key_template {
 	uint16_t fk_port_id;
 	uint32_t fk_wq_id;    /* WQ index */
 	uint64_t fk_wq_vnic;  /* VNIC handle for WQ index */
-} __rte_packed;
+} __rte_packed_end;
 
 /* Action operation types */
 enum {
@@ -260,11 +260,11 @@ enum {
  * encap" and also simple ops like insert this data, add PACKET_LEN to
  * this address, etc.
  */
-struct fm_action_op {
+__rte_packed_begin struct fm_action_op {
 	uint32_t fa_op;		/* FMOP flags */
 
-	union {
-		struct {
+	__rte_packed_begin union {
+		__rte_packed_begin struct {
 			uint8_t len1_offset;
 			uint8_t len1_delta;
 			uint8_t len2_offset;
@@ -272,35 +272,35 @@ struct fm_action_op {
 			uint16_t outer_vlan;
 			uint8_t template_offset;
 			uint8_t template_len;
-		} __rte_packed encap;
-		struct {
+		} __rte_packed_end encap;
+		__rte_packed_begin struct {
 			uint16_t rq_index;
 			uint16_t rq_count;
 			uint64_t vnic_handle;
-		} __rte_packed rq_steer;
-		struct {
+		} __rte_packed_end rq_steer;
+		__rte_packed_begin struct {
 			uint16_t vlan;
-		} __rte_packed ovlan;
-		struct {
+		} __rte_packed_end ovlan;
+		__rte_packed_begin struct {
 			uint16_t vlan;
-		} __rte_packed set_encap_vlan;
-		struct {
+		} __rte_packed_end set_encap_vlan;
+		__rte_packed_begin struct {
 			uint16_t mark;
-		} __rte_packed mark;
-		struct {
+		} __rte_packed_end mark;
+		__rte_packed_begin struct {
 			uint32_t ext_mark;
-		} __rte_packed ext_mark;
-		struct {
+		} __rte_packed_end ext_mark;
+		__rte_packed_begin struct {
 			uint8_t tag;
-		} __rte_packed tag;
-		struct {
+		} __rte_packed_end tag;
+		__rte_packed_begin struct {
 			uint64_t handle;
-		} __rte_packed exact;
-		struct {
+		} __rte_packed_end exact;
+		__rte_packed_begin struct {
 			uint32_t egport;
-		} __rte_packed set_egport;
-	} __rte_packed;
-} __rte_packed;
+		} __rte_packed_end set_egport;
+	} __rte_packed_end;
+} __rte_packed_end;
 
 #define FM_ACTION_OP_MAX 64
 #define FM_ACTION_DATA_MAX 96
@@ -309,31 +309,31 @@ struct fm_action_op {
  * Action is a series of action operations applied to matched
  * packet. FMA (flowman action).
  */
-struct fm_action {
+__rte_packed_begin struct fm_action {
 	struct fm_action_op fma_action_ops[FM_ACTION_OP_MAX];
 	uint8_t fma_data[FM_ACTION_DATA_MAX];
-} __rte_packed;
+} __rte_packed_end;
 
 /* Match entry flags. FMEF (flow match entry flag) */
 #define FMEF_COUNTER    0x0001  /* counter index is valid */
 
 /* FEM (flow exact match) entry */
-struct fm_exact_match_entry {
+__rte_packed_begin struct fm_exact_match_entry {
 	struct fm_key_template fem_data;  /* Match data. Mask is per table */
 	uint32_t fem_flags;               /* FMEF_xxx */
 	uint64_t fem_action;              /* Action handle */
 	uint32_t fem_counter;             /* Counter index */
-} __rte_packed;
+} __rte_packed_end;
 
 /* FTM (flow TCAM match) entry */
-struct fm_tcam_match_entry {
+__rte_packed_begin struct fm_tcam_match_entry {
 	struct fm_key_template ftm_mask;  /* Key mask */
 	struct fm_key_template ftm_data;  /* Match data */
 	uint32_t ftm_flags;               /* FMEF_xxx */
 	uint32_t ftm_position;            /* Entry position */
 	uint64_t ftm_action;              /* Action handle */
 	uint32_t ftm_counter;             /* Counter index */
-} __rte_packed;
+} __rte_packed_end;
 
 /* Match directions */
 enum {
@@ -346,34 +346,34 @@ enum {
 #define FM_STAGE_LAST 0xff
 
 /* Hash based exact match table. FET (flow exact match table) */
-struct fm_exact_match_table {
+__rte_packed_begin struct fm_exact_match_table {
 	uint8_t fet_direction; /* FM_INGRESS or EGRESS*/
 	uint8_t fet_stage;
 	uint8_t pad[2];
 	uint32_t fet_max_entries;
 	uint64_t fet_dflt_action;
 	struct fm_key_template fet_key;
-} __rte_packed;
+} __rte_packed_end;
 
 /* TCAM based match table. FTT (flow TCAM match table) */
-struct fm_tcam_match_table {
+__rte_packed_begin struct fm_tcam_match_table {
 	uint8_t ftt_direction;
 	uint8_t ftt_stage;
 	uint8_t pad[2];
 	uint32_t ftt_max_entries;
-} __rte_packed;
+} __rte_packed_end;
 
-struct fm_counter_counts {
+__rte_packed_begin struct fm_counter_counts {
 	uint64_t fcc_packets;
 	uint64_t fcc_bytes;
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Return structure for FM_INFO_QUERY devcmd
  */
 #define FM_VERSION 1		/* This header file is for version 1 */
 
-struct fm_info {
+__rte_packed_begin struct fm_info {
 	uint64_t fm_op_mask;		/* Bitmask of action supported ops */
 	uint64_t fm_current_ts;		/* Current VIC timestamp */
 	uint64_t fm_clock_freq;		/* Timestamp clock frequency */
@@ -381,6 +381,6 @@ struct fm_info {
 	uint8_t fm_stages;		/* Number of match-action stages */
 	uint8_t pad[5];
 	uint32_t fm_counter_count;	/* Number of allocated counters */
-} __rte_packed;
+} __rte_packed_end;
 
 #endif /* _VNIC_FLOWMAN_H_ */
diff --git a/drivers/net/gve/base/gve_desc.h b/drivers/net/gve/base/gve_desc.h
index 006b36442f..a54767093a 100644
--- a/drivers/net/gve/base/gve_desc.h
+++ b/drivers/net/gve/base/gve_desc.h
@@ -22,7 +22,7 @@
  * rings.
  */
 
-struct gve_tx_pkt_desc {
+__rte_packed_begin struct gve_tx_pkt_desc {
 	u8	type_flags;  /* desc type is lower 4 bits, flags upper */
 	u8	l4_csum_offset;  /* relative offset of L4 csum word */
 	u8	l4_hdr_offset;  /* Offset of start of L4 headers in packet */
@@ -30,24 +30,24 @@ struct gve_tx_pkt_desc {
 	__be16	len;  /* Total length of this packet (in bytes) */
 	__be16	seg_len;  /* Length of this descriptor's segment */
 	__be64	seg_addr;  /* Base address (see note) of this segment */
-} __packed;
+} __rte_packed_end;
 
-struct gve_tx_mtd_desc {
+__rte_packed_begin struct gve_tx_mtd_desc {
 	u8      type_flags;     /* type is lower 4 bits, subtype upper  */
 	u8      path_state;     /* state is lower 4 bits, hash type upper */
 	__be16  reserved0;
 	__be32  path_hash;
 	__be64  reserved1;
-} __packed;
+} __rte_packed_end;
 
-struct gve_tx_seg_desc {
+__rte_packed_begin struct gve_tx_seg_desc {
 	u8	type_flags;	/* type is lower 4 bits, flags upper	*/
 	u8	l3_offset;	/* TSO: 2 byte units to start of IPH	*/
 	__be16	reserved;
 	__be16	mss;		/* TSO MSS				*/
 	__be16	seg_len;
 	__be64	seg_addr;
-} __packed;
+} __rte_packed_end;
 
 /* GVE Transmit Descriptor Types */
 #define	GVE_TXD_STD		(0x0 << 4) /* Std with Host Address	*/
@@ -80,7 +80,7 @@ struct gve_tx_seg_desc {
  */
 #define GVE_RX_PAD 2
 
-struct gve_rx_desc {
+__rte_packed_begin struct gve_rx_desc {
 	u8	padding[48];
 	__be32	rss_hash;  /* Receive-side scaling hash (Toeplitz for gVNIC) */
 	__be16	mss;
@@ -90,7 +90,7 @@ struct gve_rx_desc {
 	__sum16	csum;  /* 1's-complement partial checksum of L3+ bytes */
 	__be16	len;  /* Length of the received packet */
 	__be16	flags_seq;  /* Flags [15:3] and sequence number [2:0] (1-7) */
-} __packed;
+} __rte_packed_end;
 GVE_CHECK_STRUCT_LEN(64, gve_rx_desc);
 
 /* If the device supports raw dma addressing then the addr in data slot is
diff --git a/drivers/net/gve/base/gve_desc_dqo.h b/drivers/net/gve/base/gve_desc_dqo.h
index bb4a18d4d1..e950bc3601 100644
--- a/drivers/net/gve/base/gve_desc_dqo.h
+++ b/drivers/net/gve/base/gve_desc_dqo.h
@@ -14,7 +14,7 @@
 #define GVE_TX_MIN_TSO_MSS_DQO 88
 
 /* Basic TX descriptor (DTYPE 0x0C) */
-struct gve_tx_pkt_desc_dqo {
+__rte_packed_begin struct gve_tx_pkt_desc_dqo {
 	__le64 buf_addr;
 
 	/* Must be GVE_TX_PKT_DESC_DTYPE_DQO (0xc) */
@@ -34,7 +34,7 @@ struct gve_tx_pkt_desc_dqo {
 	__le16 compl_tag;
 	u16 buf_size: 14;
 	u16 reserved2: 2;
-} __packed;
+} __rte_packed_end;
 GVE_CHECK_STRUCT_LEN(16, gve_tx_pkt_desc_dqo);
 
 #define GVE_TX_PKT_DESC_DTYPE_DQO 0xc
@@ -66,7 +66,7 @@ GVE_CHECK_STRUCT_LEN(2, gve_tx_context_cmd_dtype);
  *
  * "flex" fields allow the driver to send additional packet context to HW.
  */
-struct gve_tx_tso_context_desc_dqo {
+__rte_packed_begin struct gve_tx_tso_context_desc_dqo {
 	/* The L4 payload bytes that should be segmented. */
 	u32 tso_total_len: 24;
 	u32 flex10: 8;
@@ -84,13 +84,13 @@ struct gve_tx_tso_context_desc_dqo {
 	u8 flex7;
 	u8 flex8;
 	u8 flex9;
-} __packed;
+} __rte_packed_end;
 GVE_CHECK_STRUCT_LEN(16, gve_tx_tso_context_desc_dqo);
 
 #define GVE_TX_TSO_CTX_DESC_DTYPE_DQO 0x5
 
 /* General context descriptor for sending metadata. */
-struct gve_tx_general_context_desc_dqo {
+__rte_packed_begin struct gve_tx_general_context_desc_dqo {
 	u8 flex4;
 	u8 flex5;
 	u8 flex6;
@@ -105,7 +105,7 @@ struct gve_tx_general_context_desc_dqo {
 	u8 flex1;
 	u8 flex2;
 	u8 flex3;
-} __packed;
+} __rte_packed_end;
 GVE_CHECK_STRUCT_LEN(16, gve_tx_general_context_desc_dqo);
 
 #define GVE_TX_GENERAL_CTX_DESC_DTYPE_DQO 0x4
@@ -113,9 +113,9 @@ GVE_CHECK_STRUCT_LEN(16, gve_tx_general_context_desc_dqo);
 /* Logical structure of metadata which is packed into context descriptor flex
  * fields.
  */
-struct gve_tx_metadata_dqo {
+__rte_packed_begin struct gve_tx_metadata_dqo {
 	union {
-		struct {
+		__rte_packed_begin struct {
 			u8 version;
 
 			/* If `skb->l4_hash` is set, this value should be
@@ -130,16 +130,16 @@ struct gve_tx_metadata_dqo {
 			 * skb had a rehash from the TCP stack.
 			 */
 			u16 rehash_event: 1;
-		}  __packed;
+		}  __rte_packed_end;
 		u8 bytes[12];
 	};
-}  __packed;
+}  __rte_packed_end;
 GVE_CHECK_STRUCT_LEN(12, gve_tx_metadata_dqo);
 
 #define GVE_TX_METADATA_VERSION_DQO 0
 
 /* TX completion descriptor */
-struct gve_tx_compl_desc {
+__rte_packed_begin struct gve_tx_compl_desc {
 	/* For types 0-4 this is the TX queue ID associated with this
 	 * completion.
 	 */
@@ -163,7 +163,7 @@ struct gve_tx_compl_desc {
 		__le16 completion_tag;
 	};
 	__le32 reserved1;
-} __packed;
+} __rte_packed_end;
 GVE_CHECK_STRUCT_LEN(8, gve_tx_compl_desc);
 
 #define GVE_COMPL_TYPE_DQO_PKT 0x2 /* Packet completion */
@@ -172,18 +172,18 @@ GVE_CHECK_STRUCT_LEN(8, gve_tx_compl_desc);
 #define GVE_COMPL_TYPE_DQO_REINJECTION 0x3 /* Re-injection completion */
 
 /* Descriptor to post buffers to HW on buffer queue. */
-struct gve_rx_desc_dqo {
+__rte_packed_begin struct gve_rx_desc_dqo {
 	__le16 buf_id; /* ID returned in Rx completion descriptor */
 	__le16 reserved0;
 	__le32 reserved1;
 	__le64 buf_addr; /* DMA address of the buffer */
 	__le64 header_buf_addr;
 	__le64 reserved2;
-} __packed;
+} __rte_packed_end;
 GVE_CHECK_STRUCT_LEN(32, gve_rx_desc_dqo);
 
 /* Descriptor for HW to notify SW of new packets received on RX queue. */
-struct gve_rx_compl_desc_dqo {
+__rte_packed_begin struct gve_rx_compl_desc_dqo {
 	/* Must be 1 */
 	u8 rxdid: 4;
 	u8 reserved0: 4;
@@ -238,7 +238,7 @@ struct gve_rx_compl_desc_dqo {
 	__le32 hash;
 	__le32 reserved6;
 	__le64 reserved7;
-} __packed;
+} __rte_packed_end;
 
 GVE_CHECK_STRUCT_LEN(32, gve_rx_compl_desc_dqo);
 
diff --git a/drivers/net/gve/base/gve_osdep.h b/drivers/net/gve/base/gve_osdep.h
index 64181cebd6..cb3936c150 100644
--- a/drivers/net/gve/base/gve_osdep.h
+++ b/drivers/net/gve/base/gve_osdep.h
@@ -95,9 +95,6 @@
 #ifndef ____cacheline_aligned
 #define ____cacheline_aligned	__rte_cache_aligned
 #endif
-#ifndef __packed
-#define __packed		__rte_packed
-#endif
 #define __iomem
 
 #define msleep(ms)		rte_delay_ms(ms)
diff --git a/drivers/net/hns3/hns3_mbx.h b/drivers/net/hns3/hns3_mbx.h
index 2b6cb8f513..3f923f128a 100644
--- a/drivers/net/hns3/hns3_mbx.h
+++ b/drivers/net/hns3/hns3_mbx.h
@@ -112,18 +112,18 @@ struct hns3_ring_chain_param {
 	uint8_t int_gl_index;
 };
 
-struct hns3_mbx_vlan_filter {
+__rte_packed_begin struct hns3_mbx_vlan_filter {
 	uint8_t is_kill;
 	uint16_t vlan_id;
 	uint16_t proto;
-} __rte_packed;
+} __rte_packed_end;
 
-struct hns3_mbx_link_status {
+__rte_packed_begin struct hns3_mbx_link_status {
 	uint16_t link_status;
 	uint32_t speed;
 	uint16_t duplex;
 	uint8_t flag;
-} __rte_packed;
+} __rte_packed_end;
 
 #define HNS3_MBX_MSG_MAX_DATA_SIZE	14
 #define HNS3_MBX_MAX_RING_CHAIN_PARAM_NUM	4
diff --git a/drivers/net/hns3/hns3_rxtx.h b/drivers/net/hns3/hns3_rxtx.h
index e975cd151a..da8056f2cf 100644
--- a/drivers/net/hns3/hns3_rxtx.h
+++ b/drivers/net/hns3/hns3_rxtx.h
@@ -214,7 +214,7 @@ enum hns3_pkt_tun_type {
 };
 
 /* hardware spec ring buffer format */
-struct hns3_desc {
+__rte_packed_begin struct hns3_desc {
 	union {
 		uint64_t addr;
 		uint64_t timestamp;
@@ -282,7 +282,7 @@ struct hns3_desc {
 			};
 		} rx;
 	};
-} __rte_packed;
+} __rte_packed_end;
 
 struct hns3_entry {
 	struct rte_mbuf *mbuf;
diff --git a/drivers/net/i40e/base/i40e_osdep.h b/drivers/net/i40e/base/i40e_osdep.h
index 8960206d8b..fde763ef6f 100644
--- a/drivers/net/i40e/base/i40e_osdep.h
+++ b/drivers/net/i40e/base/i40e_osdep.h
@@ -177,21 +177,23 @@ static inline uint64_t i40e_read64_addr(volatile void *addr)
 #define ARRAY_SIZE(arr) RTE_DIM(arr)
 
 /* memory allocation tracking */
+__rte_packed_begin
 struct i40e_dma_mem {
 	void *va;
 	u64 pa;
 	u32 size;
 	const void *zone;
-} __rte_packed;
+} __rte_packed_end;
 
 #define i40e_allocate_dma_mem(h, m, unused, s, a) \
 			i40e_allocate_dma_mem_d(h, m, s, a)
 #define i40e_free_dma_mem(h, m) i40e_free_dma_mem_d(h, m)
 
+__rte_packed_begin
 struct i40e_virt_mem {
 	void *va;
 	u32 size;
-} __rte_packed;
+} __rte_packed_end;
 
 #define i40e_allocate_virt_mem(h, m, s) i40e_allocate_virt_mem_d(h, m, s)
 #define i40e_free_virt_mem(h, m) i40e_free_virt_mem_d(h, m)
diff --git a/drivers/net/iavf/iavf_ipsec_crypto.h b/drivers/net/iavf/iavf_ipsec_crypto.h
index 49f9202aca..58ca7bc648 100644
--- a/drivers/net/iavf/iavf_ipsec_crypto.h
+++ b/drivers/net/iavf/iavf_ipsec_crypto.h
@@ -11,12 +11,14 @@
 
 
 
+__rte_packed_begin
 struct iavf_tx_ipsec_desc {
 	union {
 		struct {
 			__le64 qw0;
 			__le64 qw1;
 		};
+		__rte_packed_begin
 		struct {
 			__le16 l4payload_length;
 			__le32 esn;
@@ -28,9 +30,9 @@ struct iavf_tx_ipsec_desc {
 			u8 next_header;
 			__le16 ipv6_ext_hdr_length;
 			__le32 said;
-		} __rte_packed;
+		} __rte_packed_end;
 	};
-} __rte_packed;
+} __rte_packed_end;
 
 #define IAVF_IPSEC_TX_DESC_QW0_L4PAYLEN_SHIFT    0
 #define IAVF_IPSEC_TX_DESC_QW0_L4PAYLEN_MASK     (0x3FFFULL << \
@@ -97,7 +99,7 @@ struct iavf_ipsec_crypto_pkt_metadata {
 	uint8_t next_proto;		/* Next Protocol (8b/1B) */
 
 	uint32_t esn;		        /* Extended Sequence Number (32b/4B) */
-} __rte_packed;
+};
 
 /**
  * Inline IPsec Crypto offload is supported
diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index 6a093c6746..f7df5f21f2 100644
--- a/drivers/net/iavf/iavf_rxtx.c
+++ b/drivers/net/iavf/iavf_rxtx.c
@@ -53,7 +53,7 @@ static uint16_t geneve_udp_port = RTE_GENEVE_DEFAULT_PORT;
 struct simple_gre_hdr {
 	uint16_t flags;
 	uint16_t proto;
-} __rte_packed;
+};
 
 /* structure that caches offload info for the current packet */
 struct offload_info {
diff --git a/drivers/net/ice/base/ice_osdep.h b/drivers/net/ice/base/ice_osdep.h
index 5f7347023f..327e9a90e9 100644
--- a/drivers/net/ice/base/ice_osdep.h
+++ b/drivers/net/ice/base/ice_osdep.h
@@ -136,9 +136,6 @@ writeq(uint64_t value, volatile void *addr)
 #ifndef __maybe_unused
 #define __maybe_unused  __rte_unused
 #endif
-#ifndef __packed
-#define __packed  __rte_packed
-#endif
 
 #ifndef BIT_ULL
 #define BIT_ULL(a) (1ULL << (a))
@@ -187,17 +184,19 @@ do {									\
 #define BITS_PER_BYTE       8
 
 /* memory allocation tracking */
+__rte_packed_begin
 struct ice_dma_mem {
 	void *va;
 	u64 pa;
 	u32 size;
 	const void *zone;
-} __rte_packed;
+} __rte_packed_end;
 
+__rte_packed_begin
 struct ice_virt_mem {
 	void *va;
 	u32 size;
-} __rte_packed;
+} __rte_packed_end;
 
 #define ice_malloc(h, s)    rte_zmalloc(NULL, s, 0)
 #define ice_calloc(h, c, s) rte_calloc(NULL, c, s, 0)
diff --git a/drivers/net/ionic/ionic_if.h b/drivers/net/ionic/ionic_if.h
index e4ac79ac21..de15bde2f7 100644
--- a/drivers/net/ionic/ionic_if.h
+++ b/drivers/net/ionic/ionic_if.h
@@ -379,7 +379,7 @@ enum ionic_lif_state {
  * @queue_count:    Queue counts per queue-type
  */
 union ionic_lif_config {
-	struct {
+	__rte_packed_begin struct {
 		u8     state;
 		u8     rsvd[3];
 		char   name[IONIC_IFNAMSIZ];
@@ -388,7 +388,7 @@ union ionic_lif_config {
 		__le16 vlan;
 		__le64 features;
 		__le32 queue_count[IONIC_QTYPE_MAX];
-	} __rte_packed;
+	} __rte_packed_end;
 	__le32 words[64];
 };
 
@@ -425,10 +425,10 @@ union ionic_lif_config {
  *     @eq_qtype:        RDMA Event Qtype
  */
 union ionic_lif_identity {
-	struct {
+	__rte_packed_begin struct {
 		__le64 capabilities;
 
-		struct {
+		__rte_packed_begin struct {
 			u8 version;
 			u8 rsvd[3];
 			__le32 max_ucast_filters;
@@ -438,9 +438,9 @@ union ionic_lif_identity {
 			__le32 max_mtu;
 			u8 rsvd2[106];
 			union ionic_lif_config config;
-		} __rte_packed eth;
+		} __rte_packed_end eth;
 
-		struct {
+		__rte_packed_begin struct {
 			u8 version;
 			u8 qp_opcodes;
 			u8 admin_opcodes;
@@ -460,8 +460,8 @@ union ionic_lif_identity {
 			struct ionic_lif_logical_qtype rq_qtype;
 			struct ionic_lif_logical_qtype cq_qtype;
 			struct ionic_lif_logical_qtype eq_qtype;
-		} __rte_packed rdma;
-	} __rte_packed;
+		} __rte_packed_end rdma;
+	} __rte_packed_end;
 	__le32 words[478];
 };
 
@@ -584,7 +584,7 @@ union ionic_q_identity {
  * @cq_ring_base: Completion queue ring base address
  * @sg_ring_base: Scatter/Gather ring base address
  */
-struct ionic_q_init_cmd {
+__rte_packed_begin struct ionic_q_init_cmd {
 	u8     opcode;
 	u8     rsvd;
 	__le16 lif_index;
@@ -607,7 +607,7 @@ struct ionic_q_init_cmd {
 	__le64 cq_ring_base;
 	__le64 sg_ring_base;
 	u8     rsvd2[20];
-} __rte_packed;
+} __rte_packed_end;
 
 /**
  * struct ionic_q_init_comp - Queue init command completion
@@ -1236,7 +1236,7 @@ union ionic_port_config {
  * @fec_type:           fec type (enum ionic_port_fec_type)
  * @xcvr:               transceiver status
  */
-struct ionic_port_status {
+__rte_packed_begin struct ionic_port_status {
 	__le32 id;
 	__le32 speed;
 	u8     status;
@@ -1244,7 +1244,7 @@ struct ionic_port_status {
 	u8     fec_type;
 	u8     rsvd[48];
 	struct ionic_xcvr_status  xcvr;
-} __rte_packed;
+} __rte_packed_end;
 
 /**
  * struct ionic_port_identify_cmd - Port identify command
@@ -1414,7 +1414,7 @@ struct ionic_port_getattr_cmd {
 struct ionic_port_getattr_comp {
 	u8     status;
 	u8     rsvd[3];
-	union {
+	__rte_packed_begin union {
 		u8      state;
 		__le32  speed;
 		__le32  mtu;
@@ -1423,7 +1423,7 @@ struct ionic_port_getattr_comp {
 		u8      pause_type;
 		u8      loopback_mode;
 		u8      rsvd2[11];
-	} __rte_packed;
+	} __rte_packed_end;
 	u8     color;
 };
 
@@ -1489,12 +1489,12 @@ struct ionic_dev_setattr_cmd {
 	u8     opcode;
 	u8     attr;
 	__le16 rsvd;
-	union {
+	__rte_packed_begin union {
 		u8      state;
 		char    name[IONIC_IFNAMSIZ];
 		__le64  features;
 		u8      rsvd2[60];
-	} __rte_packed;
+	} __rte_packed_end;
 };
 
 /**
@@ -1506,10 +1506,10 @@ struct ionic_dev_setattr_cmd {
 struct ionic_dev_setattr_comp {
 	u8     status;
 	u8     rsvd[3];
-	union {
+	__rte_packed_begin union {
 		__le64  features;
 		u8      rsvd2[11];
-	} __rte_packed;
+	} __rte_packed_end;
 	u8     color;
 };
 
@@ -1533,10 +1533,10 @@ struct ionic_dev_getattr_cmd {
 struct ionic_dev_getattr_comp {
 	u8     status;
 	u8     rsvd[3];
-	union {
+	__rte_packed_begin union {
 		__le64  features;
 		u8      rsvd2[11];
-	} __rte_packed;
+	} __rte_packed_end;
 	u8     color;
 };
 
@@ -1594,7 +1594,7 @@ struct ionic_lif_setattr_cmd {
 	u8     opcode;
 	u8     attr;
 	__le16 index;
-	union {
+	__rte_packed_begin union {
 		u8      state;
 		char    name[IONIC_IFNAMSIZ];
 		__le32  mtu;
@@ -1608,7 +1608,7 @@ struct ionic_lif_setattr_cmd {
 		} rss;
 		u8      stats_ctl;
 		u8      rsvd[60];
-	} __rte_packed;
+	} __rte_packed_end;
 };
 
 /**
@@ -1622,10 +1622,10 @@ struct ionic_lif_setattr_comp {
 	u8     status;
 	u8     rsvd;
 	__le16 comp_index;
-	union {
+	__rte_packed_begin union {
 		__le64  features;
 		u8      rsvd2[11];
-	} __rte_packed;
+	} __rte_packed_end;
 	u8     color;
 };
 
@@ -1657,13 +1657,13 @@ struct ionic_lif_getattr_comp {
 	u8     status;
 	u8     rsvd;
 	__le16 comp_index;
-	union {
+	__rte_packed_begin union {
 		u8      state;
 		__le32  mtu;
 		u8      mac[6];
 		__le64  features;
 		u8      rsvd2[11];
-	} __rte_packed;
+	} __rte_packed_end;
 	u8     color;
 };
 
@@ -1811,7 +1811,7 @@ struct ionic_vf_setattr_cmd {
 	u8     opcode;
 	u8     attr;
 	__le16 vf_index;
-	union {
+	__rte_packed_begin union {
 		u8     macaddr[6];
 		__le16 vlanid;
 		__le32 maxrate;
@@ -1820,7 +1820,7 @@ struct ionic_vf_setattr_cmd {
 		u8     linkstate;
 		__le64 stats_pa;
 		u8     pad[60];
-	} __rte_packed;
+	} __rte_packed_end;
 };
 
 struct ionic_vf_setattr_comp {
@@ -1849,7 +1849,7 @@ struct ionic_vf_getattr_comp {
 	u8     status;
 	u8     attr;
 	__le16 vf_index;
-	union {
+	__rte_packed_begin union {
 		u8     macaddr[6];
 		__le16 vlanid;
 		__le32 maxrate;
@@ -1858,7 +1858,7 @@ struct ionic_vf_getattr_comp {
 		u8     linkstate;
 		__le64 stats_pa;
 		u8     pad[11];
-	} __rte_packed;
+	} __rte_packed_end;
 	u8     color;
 };
 
@@ -1953,7 +1953,7 @@ enum ionic_qos_sched_type {
  * @ip_dscp:		IP dscp values
  */
 union ionic_qos_config {
-	struct {
+	__rte_packed_begin struct {
 #define IONIC_QOS_CONFIG_F_ENABLE		BIT(0)
 #define IONIC_QOS_CONFIG_F_NO_DROP		BIT(1)
 /* Used to rewrite PCP or DSCP value. */
@@ -1988,7 +1988,7 @@ union ionic_qos_config {
 				u8      ip_dscp[IONIC_QOS_DSCP_MAX];
 			};
 		};
-	} __rte_packed;
+	} __rte_packed_end;
 	__le32  words[64];
 };
 
@@ -2785,14 +2785,14 @@ union ionic_dev_info_regs {
  * @data:            Opcode-specific side-data
  */
 union ionic_dev_cmd_regs {
-	struct {
+	__rte_packed_begin struct {
 		u32                   doorbell;
 		u32                   done;
 		union ionic_dev_cmd         cmd;
 		union ionic_dev_cmd_comp    comp;
 		u8                    rsvd[48];
 		u32                   data[478];
-	} __rte_packed;
+	} __rte_packed_end;
 	u32 words[512];
 };
 
@@ -2802,10 +2802,10 @@ union ionic_dev_cmd_regs {
  * @devcmd:          Device command registers
  */
 union ionic_dev_regs {
-	struct {
+	__rte_packed_begin struct {
 		union ionic_dev_info_regs info;
 		union ionic_dev_cmd_regs  devcmd;
-	} __rte_packed;
+	} __rte_packed_end;
 	__le32 words[1024];
 };
 
diff --git a/drivers/net/memif/memif.h b/drivers/net/memif/memif.h
index 3f5b407a48..c21c434e3e 100644
--- a/drivers/net/memif/memif.h
+++ b/drivers/net/memif/memif.h
@@ -59,7 +59,7 @@ typedef uint8_t memif_log2_ring_size_t;
   * S2C
   * Contains server interfaces configuration.
   */
-typedef struct __rte_packed {
+typedef __rte_packed_begin struct {
 	uint8_t name[MEMIF_NAME_SZ]; /**< Client app name. In this case DPDK version */
 	memif_version_t min_version; /**< lowest supported memif version */
 	memif_version_t max_version; /**< highest supported memif version */
@@ -67,36 +67,36 @@ typedef struct __rte_packed {
 	memif_ring_index_t max_s2c_ring; /**< maximum num of S2C ring */
 	memif_ring_index_t max_c2s_ring; /**< maximum num of C2S rings */
 	memif_log2_ring_size_t max_log2_ring_size; /**< maximum ring size (as log2) */
-} memif_msg_hello_t;
+} __rte_packed_end memif_msg_hello_t;
 
 /**
  * C2S
  * Contains information required to identify interface
  * to which the client wants to connect.
  */
-typedef struct __rte_packed {
+typedef __rte_packed_begin struct {
 	memif_version_t version;		/**< memif version */
 	memif_interface_id_t id;		/**< interface id */
 	memif_interface_mode_t mode:8;		/**< interface mode */
 	uint8_t secret[24];			/**< optional security parameter */
 	uint8_t name[MEMIF_NAME_SZ]; /**< Client app name. In this case DPDK version */
-} memif_msg_init_t;
+} __rte_packed_end memif_msg_init_t;
 
 /**
  * C2S
  * Request server to add new shared memory region to server interface.
  * Shared files file descriptor is passed in cmsghdr.
  */
-typedef struct __rte_packed {
+typedef __rte_packed_begin struct {
 	memif_region_index_t index;		/**< shm regions index */
 	memif_region_size_t size;		/**< shm region size */
-} memif_msg_add_region_t;
+} __rte_packed_end memif_msg_add_region_t;
 
 /**
  * C2S
  * Request server to add new ring to server interface.
  */
-typedef struct __rte_packed {
+typedef __rte_packed_begin struct {
 	uint16_t flags;				/**< flags */
 #define MEMIF_MSG_ADD_RING_FLAG_C2S 1		/**< ring is in C2S direction */
 	memif_ring_index_t index;		/**< ring index */
@@ -104,34 +104,34 @@ typedef struct __rte_packed {
 	memif_region_offset_t offset;		/**< buffer start offset */
 	memif_log2_ring_size_t log2_ring_size;	/**< ring size (log2) */
 	uint16_t private_hdr_size;		/**< used for private metadata */
-} memif_msg_add_ring_t;
+} __rte_packed_end memif_msg_add_ring_t;
 
 /**
  * C2S
  * Finalize connection establishment.
  */
-typedef struct __rte_packed {
+typedef __rte_packed_begin struct {
 	uint8_t if_name[MEMIF_NAME_SZ];		/**< client interface name */
-} memif_msg_connect_t;
+} __rte_packed_end memif_msg_connect_t;
 
 /**
  * S2C
  * Finalize connection establishment.
  */
-typedef struct __rte_packed {
+typedef __rte_packed_begin struct {
 	uint8_t if_name[MEMIF_NAME_SZ];		/**< server interface name */
-} memif_msg_connected_t;
+} __rte_packed_end memif_msg_connected_t;
 
 /**
  * C2S & S2C
  * Disconnect interfaces.
  */
-typedef struct __rte_packed {
+typedef __rte_packed_begin struct {
 	uint32_t code;				/**< error code */
 	uint8_t string[96];			/**< disconnect reason */
-} memif_msg_disconnect_t;
+} __rte_packed_end memif_msg_disconnect_t;
 
-typedef struct __rte_packed __rte_aligned(128)
+typedef __rte_packed_begin struct __rte_aligned(128)
 {
 	memif_msg_type_t type:16;
 	union {
@@ -143,7 +143,7 @@ typedef struct __rte_packed __rte_aligned(128)
 		memif_msg_connected_t connected;
 		memif_msg_disconnect_t disconnect;
 	};
-} memif_msg_t;
+} __rte_packed_end memif_msg_t;
 
 /*
  *  Ring and Descriptor Layout
@@ -152,14 +152,14 @@ typedef struct __rte_packed __rte_aligned(128)
 /**
  * Buffer descriptor.
  */
-typedef struct __rte_packed {
+typedef __rte_packed_begin struct {
 	uint16_t flags;				/**< flags */
 #define MEMIF_DESC_FLAG_NEXT 1			/**< is chained buffer */
 	memif_region_index_t region; /**< region index on which the buffer is located */
 	uint32_t length;			/**< buffer length */
 	memif_region_offset_t offset;		/**< buffer offset */
 	uint32_t metadata;
-} memif_desc_t;
+} __rte_packed_end memif_desc_t;
 
 #define MEMIF_CACHELINE_ALIGN_MARK(mark) \
 	alignas(RTE_CACHE_LINE_SIZE) RTE_MARKER mark;
diff --git a/drivers/net/mlx4/mlx4_mr.h b/drivers/net/mlx4/mlx4_mr.h
index af5251a960..626fcf39e3 100644
--- a/drivers/net/mlx4/mlx4_mr.h
+++ b/drivers/net/mlx4/mlx4_mr.h
@@ -41,29 +41,29 @@ struct mlx4_mr {
 };
 
 /* Cache entry for Memory Region. */
-struct mlx4_mr_cache {
+__rte_packed_begin struct mlx4_mr_cache {
 	uintptr_t start; /* Start address of MR. */
 	uintptr_t end; /* End address of MR. */
 	uint32_t lkey; /* rte_cpu_to_be_32(ibv_mr->lkey). */
-} __rte_packed;
+} __rte_packed_end;
 
 /* MR Cache table for Binary search. */
-struct mlx4_mr_btree {
+__rte_packed_begin struct mlx4_mr_btree {
 	uint16_t len; /* Number of entries. */
 	uint16_t size; /* Total number of entries. */
 	int overflow; /* Mark failure of table expansion. */
 	struct mlx4_mr_cache (*table)[];
-} __rte_packed;
+} __rte_packed_end;
 
 /* Per-queue MR control descriptor. */
-struct mlx4_mr_ctrl {
+__rte_packed_begin struct mlx4_mr_ctrl {
 	uint32_t *dev_gen_ptr; /* Generation number of device to poll. */
 	uint32_t cur_gen; /* Generation number saved to flush caches. */
 	uint16_t mru; /* Index of last hit entry in top-half cache. */
 	uint16_t head; /* Index of the oldest entry in top-half cache. */
 	struct mlx4_mr_cache cache[MLX4_MR_CACHE_N]; /* Cache for top-half. */
 	struct mlx4_mr_btree cache_bh; /* Cache for bottom-half. */
-} __rte_packed;
+} __rte_packed_end;
 
 extern struct mlx4_dev_list  mlx4_mem_event_cb_list;
 extern rte_rwlock_t mlx4_mem_event_rwlock;
diff --git a/drivers/net/mlx5/hws/mlx5dr.h b/drivers/net/mlx5/hws/mlx5dr.h
index 3668ab9fcf..de1357e099 100644
--- a/drivers/net/mlx5/hws/mlx5dr.h
+++ b/drivers/net/mlx5/hws/mlx5dr.h
@@ -328,13 +328,14 @@ union mlx5dr_crc_encap_entropy_hash_ip_field {
 	};
 };
 
+__rte_packed_begin
 struct mlx5dr_crc_encap_entropy_hash_fields {
 	union mlx5dr_crc_encap_entropy_hash_ip_field dst;
 	union mlx5dr_crc_encap_entropy_hash_ip_field src;
 	uint8_t next_protocol;
 	rte_be16_t dst_port;
 	rte_be16_t src_port;
-} __rte_packed;
+} __rte_packed_end;
 
 enum mlx5dr_crc_encap_entropy_hash_size {
 	MLX5DR_CRC_ENCAP_ENTROPY_HASH_SIZE_8,
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index 89d277b523..5fd356e00f 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -235,10 +235,11 @@ mlx5_is_probed_port_on_mpesw_device(struct mlx5_dev_spawn_data *spawn)
 }
 
 /** Data associated with socket messages. */
+__rte_packed_begin
 struct mlx5_flow_dump_req  {
 	uint32_t port_id; /**< There are plans in DPDK to extend port_id. */
 	uint64_t flow_id;
-} __rte_packed;
+} __rte_packed_end;
 
 struct mlx5_flow_dump_ack {
 	int rc; /**< Return code. */
diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5/mlx5_flow.h
index bcc2782460..9aad71239e 100644
--- a/drivers/net/mlx5/mlx5_flow.h
+++ b/drivers/net/mlx5/mlx5_flow.h
@@ -673,6 +673,7 @@ struct mlx5_flow_dv_tag_resource {
 };
 
 /* Modify resource structure */
+__rte_packed_begin
 struct mlx5_flow_dv_modify_hdr_resource {
 	struct mlx5_list_entry entry;
 	void *action; /**< Modify header action object. */
@@ -684,7 +685,7 @@ struct mlx5_flow_dv_modify_hdr_resource {
 	bool root; /**< Whether action is in root table. */
 	struct mlx5_modification_cmd actions[];
 	/**< Modification actions. */
-} __rte_packed;
+} __rte_packed_end;
 
 /* Modify resource key of the hash organization. */
 union mlx5_flow_modify_hdr_key {
@@ -831,6 +832,7 @@ struct mlx5_flow_dv_dest_array_resource {
 
 
 /** Device flow handle structure for DV mode only. */
+__rte_packed_begin
 struct mlx5_flow_handle_dv {
 	/* Flow DV api: */
 	struct mlx5_flow_dv_matcher *matcher; /**< Cache to matcher. */
@@ -846,9 +848,10 @@ struct mlx5_flow_handle_dv {
 	/**< Index to sample action resource in cache. */
 	uint32_t rix_dest_array;
 	/**< Index to destination array resource in cache. */
-} __rte_packed;
+} __rte_packed_end;
 
 /** Device flow handle structure: used both for creating & destroying. */
+__rte_packed_begin
 struct mlx5_flow_handle {
 	SILIST_ENTRY(uint32_t)next;
 	struct mlx5_vf_vlan vf_vlan; /**< Structure for VF VLAN workaround. */
@@ -875,7 +878,7 @@ struct mlx5_flow_handle {
 	struct mlx5_flow_handle_dv dvh;
 #endif
 	uint8_t flex_item; /**< referenced Flex Item bitmask. */
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Size for Verbs device flow handle structure only. Do not use the DV only
@@ -1250,6 +1253,7 @@ struct mlx5_flow_attr {
 };
 
 /* Flow structure. */
+__rte_packed_begin
 struct rte_flow {
 	uint32_t dev_handles;
 	/**< Device flow handles that are part of the flow. */
@@ -1268,7 +1272,7 @@ struct rte_flow {
 		uint32_t ct; /**< Holds ASO CT index. */
 	};
 	uint32_t geneve_tlv_option; /**< Holds Geneve TLV option id. > */
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * HWS COUNTER ID's layout
diff --git a/drivers/net/mlx5/mlx5_hws_cnt.h b/drivers/net/mlx5/mlx5_hws_cnt.h
index d8da9dfcdd..28438d6319 100644
--- a/drivers/net/mlx5/mlx5_hws_cnt.h
+++ b/drivers/net/mlx5/mlx5_hws_cnt.h
@@ -133,6 +133,7 @@ enum {
 };
 
 /* HWS counter age parameter. */
+__rte_packed_begin
 struct __rte_cache_aligned mlx5_hws_age_param {
 	RTE_ATOMIC(uint32_t) timeout; /* Aging timeout in seconds (atomically accessed). */
 	RTE_ATOMIC(uint32_t) sec_since_last_hit;
@@ -149,7 +150,7 @@ struct __rte_cache_aligned mlx5_hws_age_param {
 	cnt_id_t own_cnt_index;
 	/* Counter action created specifically for this AGE action. */
 	void *context; /* Flow AGE context. */
-} __rte_packed;
+} __rte_packed_end;
 
 
 /**
diff --git a/drivers/net/mlx5/mlx5_utils.h b/drivers/net/mlx5/mlx5_utils.h
index f933daf03c..a1df3ed8f7 100644
--- a/drivers/net/mlx5/mlx5_utils.h
+++ b/drivers/net/mlx5/mlx5_utils.h
@@ -115,6 +115,7 @@ struct mlx5_l3t_level_tbl {
 };
 
 /* L3 word entry table data structure. */
+__rte_packed_begin
 struct mlx5_l3t_entry_word {
 	uint32_t idx; /* Table index. */
 	uint64_t ref_cnt; /* Table ref_cnt. */
@@ -122,9 +123,10 @@ struct mlx5_l3t_entry_word {
 		uint16_t data;
 		uint32_t ref_cnt;
 	} entry[MLX5_L3T_ET_SIZE]; /* Entry array */
-} __rte_packed;
+} __rte_packed_end;
 
 /* L3 double word entry table data structure. */
+__rte_packed_begin
 struct mlx5_l3t_entry_dword {
 	uint32_t idx; /* Table index. */
 	uint64_t ref_cnt; /* Table ref_cnt. */
@@ -132,9 +134,10 @@ struct mlx5_l3t_entry_dword {
 		uint32_t data;
 		int32_t ref_cnt;
 	} entry[MLX5_L3T_ET_SIZE]; /* Entry array */
-} __rte_packed;
+} __rte_packed_end;
 
 /* L3 quad word entry table data structure. */
+__rte_packed_begin
 struct mlx5_l3t_entry_qword {
 	uint32_t idx; /* Table index. */
 	uint64_t ref_cnt; /* Table ref_cnt. */
@@ -142,9 +145,10 @@ struct mlx5_l3t_entry_qword {
 		uint64_t data;
 		uint32_t ref_cnt;
 	} entry[MLX5_L3T_ET_SIZE]; /* Entry array */
-} __rte_packed;
+} __rte_packed_end;
 
 /* L3 pointer entry table data structure. */
+__rte_packed_begin
 struct mlx5_l3t_entry_ptr {
 	uint32_t idx; /* Table index. */
 	uint64_t ref_cnt; /* Table ref_cnt. */
@@ -152,7 +156,7 @@ struct mlx5_l3t_entry_ptr {
 		void *data;
 		uint32_t ref_cnt;
 	} entry[MLX5_L3T_ET_SIZE]; /* Entry array */
-} __rte_packed;
+} __rte_packed_end;
 
 /* L3 table data structure. */
 struct mlx5_l3t_tbl {
diff --git a/drivers/net/netvsc/hn_nvs.h b/drivers/net/netvsc/hn_nvs.h
index 3766d2ee34..1a76f8d93f 100644
--- a/drivers/net/netvsc/hn_nvs.h
+++ b/drivers/net/netvsc/hn_nvs.h
@@ -67,125 +67,125 @@
 
 
 /* NVS message common header */
-struct hn_nvs_hdr {
+__rte_packed_begin struct hn_nvs_hdr {
 	uint32_t	type;
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_init {
+__rte_packed_begin struct hn_nvs_init {
 	uint32_t	type;	/* NVS_TYPE_INIT */
 	uint32_t	ver_min;
 	uint32_t	ver_max;
 	uint8_t		rsvd[28];
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_init_resp {
+__rte_packed_begin struct hn_nvs_init_resp {
 	uint32_t	type;	/* NVS_TYPE_INIT_RESP */
 	uint32_t	ver;	/* deprecated */
 	uint32_t	rsvd;
 	uint32_t	status;	/* NVS_STATUS_ */
-} __rte_packed;
+} __rte_packed_end;
 
 /* No response */
-struct hn_nvs_ndis_conf {
+__rte_packed_begin struct hn_nvs_ndis_conf {
 	uint32_t	type;	/* NVS_TYPE_NDIS_CONF */
 	uint32_t	mtu;
 	uint32_t	rsvd;
 	uint64_t	caps;	/* NVS_NDIS_CONF_ */
 	uint8_t		rsvd1[20];
-} __rte_packed;
+} __rte_packed_end;
 
 #define NVS_NDIS_CONF_SRIOV		0x0004
 #define NVS_NDIS_CONF_VLAN		0x0008
 
 /* No response */
-struct hn_nvs_ndis_init {
+__rte_packed_begin struct hn_nvs_ndis_init {
 	uint32_t	type;	/* NVS_TYPE_NDIS_INIT */
 	uint32_t	ndis_major;	/* NDIS_VERSION_MAJOR_ */
 	uint32_t	ndis_minor;	/* NDIS_VERSION_MINOR_ */
 	uint8_t		rsvd[28];
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_vf_association {
+__rte_packed_begin struct hn_nvs_vf_association {
 	uint32_t	type;	/* NVS_TYPE_VFASSOC_NOTE */
 	uint32_t	allocated;
 	uint32_t	serial;
-} __rte_packed;
+} __rte_packed_end;
 
 #define NVS_DATAPATH_SYNTHETIC	0
 #define NVS_DATAPATH_VF		1
 
 /* No response */
-struct hn_nvs_datapath {
+__rte_packed_begin struct hn_nvs_datapath {
 	uint32_t	type;	/* NVS_TYPE_SET_DATAPATH */
 	uint32_t	active_path;/* NVS_DATAPATH_* */
 	uint8_t		rsvd[32];
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_rxbuf_conn {
+__rte_packed_begin struct hn_nvs_rxbuf_conn {
 	uint32_t	type;	/* NVS_TYPE_RXBUF_CONN */
 	uint32_t	gpadl;	/* RXBUF vmbus GPADL */
 	uint16_t	sig;	/* NVS_RXBUF_SIG */
 	uint8_t		rsvd[30];
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_rxbuf_sect {
+__rte_packed_begin struct hn_nvs_rxbuf_sect {
 	uint32_t	start;
 	uint32_t	slotsz;
 	uint32_t	slotcnt;
 	uint32_t	end;
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_rxbuf_connresp {
+__rte_packed_begin struct hn_nvs_rxbuf_connresp {
 	uint32_t	type;	/* NVS_TYPE_RXBUF_CONNRESP */
 	uint32_t	status;	/* NVS_STATUS_ */
 	uint32_t	nsect;	/* # of elem in nvs_sect */
 	struct hn_nvs_rxbuf_sect nvs_sect[1];
-} __rte_packed;
+} __rte_packed_end;
 
 /* No response */
-struct hn_nvs_rxbuf_disconn {
+__rte_packed_begin struct hn_nvs_rxbuf_disconn {
 	uint32_t	type;	/* NVS_TYPE_RXBUF_DISCONN */
 	uint16_t	sig;	/* NVS_RXBUF_SIG */
 	uint8_t		rsvd[34];
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_chim_conn {
+__rte_packed_begin struct hn_nvs_chim_conn {
 	uint32_t	type;	/* NVS_TYPE_CHIM_CONN */
 	uint32_t	gpadl;	/* chimney buf vmbus GPADL */
 	uint16_t	sig;	/* NDIS_NVS_CHIM_SIG */
 	uint8_t		rsvd[30];
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_chim_connresp {
+__rte_packed_begin struct hn_nvs_chim_connresp {
 	uint32_t	type;	/* NVS_TYPE_CHIM_CONNRESP */
 	uint32_t	status;	/* NVS_STATUS_ */
 	uint32_t	sectsz;	/* section size */
-} __rte_packed;
+} __rte_packed_end;
 
 /* No response */
-struct hn_nvs_chim_disconn {
+__rte_packed_begin struct hn_nvs_chim_disconn {
 	uint32_t	type;	/* NVS_TYPE_CHIM_DISCONN */
 	uint16_t	sig;	/* NVS_CHIM_SIG */
 	uint8_t		rsvd[34];
-} __rte_packed;
+} __rte_packed_end;
 
 #define NVS_SUBCH_OP_ALLOC		1
 
-struct hn_nvs_subch_req {
+__rte_packed_begin struct hn_nvs_subch_req {
 	uint32_t	type;	/* NVS_TYPE_SUBCH_REQ */
 	uint32_t	op;	/* NVS_SUBCH_OP_ */
 	uint32_t	nsubch;
 	uint8_t		rsvd[28];
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_subch_resp {
+__rte_packed_begin struct hn_nvs_subch_resp {
 	uint32_t	type;	/* NVS_TYPE_SUBCH_RESP */
 	uint32_t	status;	/* NVS_STATUS_ */
 	uint32_t	nsubch;
 	uint8_t		rsvd[28];
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_rndis {
+__rte_packed_begin struct hn_nvs_rndis {
 	uint32_t	type;	/* NVS_TYPE_RNDIS */
 	uint32_t	rndis_mtype;/* NVS_RNDIS_MTYPE_ */
 	/*
@@ -199,13 +199,13 @@ struct hn_nvs_rndis {
 	uint32_t	chim_idx;
 	uint32_t	chim_sz;
 	uint8_t		rsvd[24];
-} __rte_packed;
+} __rte_packed_end;
 
-struct hn_nvs_rndis_ack {
+__rte_packed_begin struct hn_nvs_rndis_ack {
 	uint32_t	type;	/* NVS_TYPE_RNDIS_ACK */
 	uint32_t	status;	/* NVS_STATUS_ */
 	uint8_t		rsvd[32];
-} __rte_packed;
+} __rte_packed_end;
 
 
 int	hn_nvs_attach(struct hn_data *hv, unsigned int mtu);
diff --git a/drivers/net/netvsc/ndis.h b/drivers/net/netvsc/ndis.h
index d97a397a86..cf323b8266 100644
--- a/drivers/net/netvsc/ndis.h
+++ b/drivers/net/netvsc/ndis.h
@@ -42,11 +42,11 @@
 #define	NDIS_OBJTYPE_RSS_PARAMS		0x89
 #define	NDIS_OBJTYPE_OFFLOAD		0xa7
 
-struct ndis_object_hdr {
+__rte_packed_begin struct ndis_object_hdr {
 	uint8_t			ndis_type;	/* NDIS_OBJTYPE_ */
 	uint8_t			ndis_rev;	/* type specific */
 	uint16_t		ndis_size;	/* incl. this hdr */
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * OID_TCP_OFFLOAD_PARAMETERS
@@ -117,7 +117,7 @@ struct ndis_offload_params {
  * OID_GEN_RECEIVE_SCALE_CAPABILITIES
  * ndis_type: NDIS_OBJTYPE_RSS_CAPS
  */
-struct ndis_rss_caps {
+__rte_packed_begin struct ndis_rss_caps {
 	struct ndis_object_hdr		ndis_hdr;
 	uint32_t			ndis_caps;	/* NDIS_RSS_CAP_ */
 	uint32_t			ndis_nmsi;	/* # of MSIs */
@@ -125,7 +125,7 @@ struct ndis_rss_caps {
 	/* NDIS >= 6.30 */
 	uint16_t			ndis_nind;	/* # of indtbl ent. */
 	uint16_t			ndis_pad;
-} __rte_packed;
+} __rte_packed_end;
 
 #define	NDIS_RSS_CAPS_SIZE		\
 	offsetof(struct ndis_rss_caps, ndis_pad)
diff --git a/drivers/net/nfp/flower/nfp_flower_cmsg.h b/drivers/net/nfp/flower/nfp_flower_cmsg.h
index a7866e8382..3d73c0de0c 100644
--- a/drivers/net/nfp/flower/nfp_flower_cmsg.h
+++ b/drivers/net/nfp/flower/nfp_flower_cmsg.h
@@ -943,7 +943,7 @@ struct nfp_fl_act_pre_tun {
  * |            var_flags          |            var_np             |
  * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  */
-struct nfp_fl_act_set_tun {
+__rte_packed_begin struct nfp_fl_act_set_tun {
 	struct nfp_fl_act_head head;
 	rte_be16_t reserved;
 	rte_be64_t tun_id;
@@ -956,7 +956,7 @@ struct nfp_fl_act_set_tun {
 	uint8_t    tun_len;      /**< Only valid for NFP_FL_TUNNEL_GENEVE */
 	uint8_t    reserved2;
 	rte_be16_t tun_proto;    /**< Only valid for NFP_FL_TUNNEL_GENEVE */
-} __rte_packed;
+} __rte_packed_end;
 
 /*
  * Meter
diff --git a/drivers/net/nfp/flower/nfp_flower_flow.h b/drivers/net/nfp/flower/nfp_flower_flow.h
index f54ad6cf55..a5cb440bd5 100644
--- a/drivers/net/nfp/flower/nfp_flower_flow.h
+++ b/drivers/net/nfp/flower/nfp_flower_flow.h
@@ -53,8 +53,8 @@ struct nfp_fl_rule_metadata {
 	uint8_t act_len;
 	uint8_t flags;
 	rte_be32_t host_ctx_id;
-	rte_be64_t host_cookie __rte_packed;
-	rte_be64_t flow_version __rte_packed;
+	rte_be64_t host_cookie;
+	rte_be64_t flow_version;
 	rte_be32_t shortcut;
 };
 
diff --git a/drivers/net/nfp/nfd3/nfp_nfd3.h b/drivers/net/nfp/nfd3/nfp_nfd3.h
index 3ba562cc3f..f0104d3f03 100644
--- a/drivers/net/nfp/nfd3/nfp_nfd3.h
+++ b/drivers/net/nfp/nfd3/nfp_nfd3.h
@@ -16,7 +16,7 @@
 
 struct nfp_net_nfd3_tx_desc {
 	union {
-		struct {
+		__rte_packed_begin struct {
 			uint8_t dma_addr_hi; /**< High bits of host buf address */
 			uint16_t dma_len;    /**< Length to DMA for this desc */
 			/** Offset in buf where pkt starts + highest bit is eop flag */
@@ -35,7 +35,7 @@ struct nfp_net_nfd3_tx_desc {
 				uint16_t vlan; /**< VLAN tag to add if indicated */
 			};
 			uint16_t data_len;     /**< Length of frame + meta data */
-		} __rte_packed;
+		} __rte_packed_end;
 		uint32_t vals[4];
 	};
 };
diff --git a/drivers/net/nfp/nfp_rxtx.h b/drivers/net/nfp/nfp_rxtx.h
index c717d97003..b595eeae52 100644
--- a/drivers/net/nfp/nfp_rxtx.h
+++ b/drivers/net/nfp/nfp_rxtx.h
@@ -117,22 +117,22 @@ struct __rte_aligned(64) nfp_net_txq {
 struct nfp_net_rx_desc {
 	union {
 		/** Freelist descriptor. */
-		struct {
+		__rte_packed_begin struct {
 			uint16_t dma_addr_hi;  /**< High bits of buffer address. */
 			uint8_t spare;         /**< Reserved, must be zero. */
 			uint8_t dd;            /**< Whether descriptor available. */
 			uint32_t dma_addr_lo;  /**< Low bits of buffer address. */
-		} __rte_packed fld;
+		} __rte_packed_end fld;
 
 		/** RX descriptor. */
-		struct {
+		__rte_packed_begin struct {
 			uint16_t data_len;     /**< Length of frame + metadata. */
 			uint8_t reserved;      /**< Reserved, must be zero. */
 			uint8_t meta_len_dd;   /**< Length of metadata + done flag. */
 
 			uint16_t flags;        /**< RX flags. */
 			uint16_t offload_info; /**< Offloading info. */
-		} __rte_packed rxd;
+		} __rte_packed_end rxd;
 
 		/** Reserved. */
 		uint32_t vals[2];
diff --git a/drivers/net/nfp/nfpcore/nfp_nsp.c b/drivers/net/nfp/nfpcore/nfp_nsp.c
index 9837b3354b..94617f766d 100644
--- a/drivers/net/nfp/nfpcore/nfp_nsp.c
+++ b/drivers/net/nfp/nfpcore/nfp_nsp.c
@@ -837,14 +837,14 @@ nfp_nsp_read_module_eeprom(struct nfp_nsp *state,
 {
 	int ret;
 	int bufsz;
-	struct eeprom_buf {
+	__rte_packed_begin struct eeprom_buf {
 		uint8_t metalen;
 		rte_le16_t length;
 		rte_le16_t offset;
 		rte_le16_t readlen;
 		uint8_t eth_index;
 		uint8_t data[];
-	} __rte_packed * buf;
+	} __rte_packed_end * buf;
 
 	/* Buffer must be large enough and rounded to the next block size. */
 	bufsz = sizeof(*(buf)) + sizeof((buf)->data[0]) *
diff --git a/drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c b/drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c
index e46a3bef28..1b22ceaf79 100644
--- a/drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c
+++ b/drivers/net/ntnic/dbsconfig/ntnic_dbsconfig.c
@@ -68,24 +68,24 @@
 	} \
 } while (0)
 
-struct __rte_packed virtq_avail {
+__rte_packed_begin struct virtq_avail {
 	uint16_t flags;
 	uint16_t idx;
 	uint16_t ring[];	/* Queue Size */
-};
+} __rte_packed_end;
 
-struct __rte_packed virtq_used_elem {
+__rte_packed_begin struct virtq_used_elem {
 	/* Index of start of used descriptor chain. */
 	uint32_t id;
 	/* Total length of the descriptor chain which was used (written to) */
 	uint32_t len;
-};
+} __rte_packed_end;
 
-struct __rte_packed virtq_used {
+__rte_packed_begin struct virtq_used {
 	uint16_t flags;
 	uint16_t idx;
 	struct virtq_used_elem ring[];	/* Queue Size */
-};
+} __rte_packed_end;
 
 struct virtq_struct_layout_s {
 	size_t used_offset;
diff --git a/drivers/net/octeon_ep/otx_ep_mbox.h b/drivers/net/octeon_ep/otx_ep_mbox.h
index ec96e4edc5..a5aa940707 100644
--- a/drivers/net/octeon_ep/otx_ep_mbox.h
+++ b/drivers/net/octeon_ep/otx_ep_mbox.h
@@ -76,6 +76,7 @@ enum otx_ep_link_autoneg {
 #define OTX_EP_MBOX_MORE_FRAG_FLAG 1
 #define OTX_EP_MBOX_WRITE_WAIT_TIME msecs_to_jiffies(1)
 
+__rte_packed_begin
 union otx_ep_mbox_word {
 	uint64_t u64;
 	struct {
@@ -127,7 +128,7 @@ union otx_ep_mbox_word {
 		uint64_t status:1;
 		uint64_t rsvd:53;
 	} s_link_status;
-} __rte_packed;
+} __rte_packed_end;
 
 /* Hardware interface link state information. */
 struct otx_ep_iface_link_info {
diff --git a/drivers/net/octeontx/base/octeontx_pki_var.h b/drivers/net/octeontx/base/octeontx_pki_var.h
index 4445369ce7..7e84b92bb2 100644
--- a/drivers/net/octeontx/base/octeontx_pki_var.h
+++ b/drivers/net/octeontx/base/octeontx_pki_var.h
@@ -21,7 +21,7 @@
 #define OCTTX_PACKET_LATER_SKIP		128
 
 /* WQE descriptor */
-typedef union octtx_wqe_s {
+typedef __rte_packed_begin union octtx_wqe_s {
 	uint64_t	w[6];
 
 	struct {
@@ -160,7 +160,7 @@ typedef union octtx_wqe_s {
 #endif
 	} s;
 
-} __rte_packed octtx_wqe_t;
+} __rte_packed_end octtx_wqe_t;
 
 enum occtx_pki_ltype_e {
 	OCCTX_PKI_LTYPE_NONE		= 0,
diff --git a/drivers/net/pfe/pfe_hif.h b/drivers/net/pfe/pfe_hif.h
index e8d5ba10e1..aab2228955 100644
--- a/drivers/net/pfe/pfe_hif.h
+++ b/drivers/net/pfe/pfe_hif.h
@@ -83,9 +83,9 @@ struct __hif_hdr {
 	};
 };
 
-struct hif_ipsec_hdr {
+__rte_packed_begin struct hif_ipsec_hdr {
 	u16	sa_handle[2];
-} __packed;
+} __rte_packed_end;
 
 struct pfe_parse {
 	unsigned int packet_type;
diff --git a/drivers/net/virtio/virtio.h b/drivers/net/virtio/virtio.h
index 04a897bf51..2e8a243984 100644
--- a/drivers/net/virtio/virtio.h
+++ b/drivers/net/virtio/virtio.h
@@ -157,7 +157,7 @@
  * config space; it is just a shadow structure.
  *
  */
-struct virtio_net_config {
+__rte_packed_begin struct virtio_net_config {
 	/* The config defining mac address (if VIRTIO_NET_F_MAC) */
 	uint8_t    mac[RTE_ETHER_ADDR_LEN];
 	/* See VIRTIO_NET_F_STATUS and VIRTIO_NET_S_* above */
@@ -178,7 +178,7 @@ struct virtio_net_config {
 	uint8_t rss_max_key_size;
 	uint16_t rss_max_indirection_table_length;
 	uint32_t supported_hash_types;
-} __rte_packed;
+} __rte_packed_end;
 
 struct virtio_hw {
 	struct virtqueue **vqs;
diff --git a/drivers/net/virtio/virtio_cvq.h b/drivers/net/virtio/virtio_cvq.h
index 70739ae04b..7e35f079ab 100644
--- a/drivers/net/virtio/virtio_cvq.h
+++ b/drivers/net/virtio/virtio_cvq.h
@@ -43,10 +43,10 @@ struct virtqueue;
  * 6 bytes MAC address. This functionality is present if the
  * VIRTIO_NET_F_CTRL_MAC_ADDR feature is available.
  */
-struct virtio_net_ctrl_mac {
+__rte_packed_begin struct virtio_net_ctrl_mac {
 	uint32_t entries;
 	uint8_t macs[][RTE_ETHER_ADDR_LEN];
-} __rte_packed;
+} __rte_packed_end;
 
 #define VIRTIO_NET_CTRL_MAC    1
 #define VIRTIO_NET_CTRL_MAC_TABLE_SET        0
@@ -98,10 +98,10 @@ struct virtio_net_ctrl_rss {
 #define VIRTIO_NET_CTRL_ANNOUNCE     3
 #define VIRTIO_NET_CTRL_ANNOUNCE_ACK 0
 
-struct virtio_net_ctrl_hdr {
+__rte_packed_begin struct virtio_net_ctrl_hdr {
 	uint8_t class;
 	uint8_t cmd;
-} __rte_packed;
+} __rte_packed_end;
 
 typedef uint8_t virtio_net_ctrl_ack;
 
diff --git a/drivers/net/virtio/virtio_user/vhost_user.c b/drivers/net/virtio/virtio_user/vhost_user.c
index c10252506b..69cdf14bae 100644
--- a/drivers/net/virtio/virtio_user/vhost_user.c
+++ b/drivers/net/virtio/virtio_user/vhost_user.c
@@ -81,7 +81,7 @@ enum vhost_user_request {
 	VHOST_USER_GET_STATUS = 40,
 };
 
-struct vhost_user_msg {
+__rte_packed_begin struct vhost_user_msg {
 	enum vhost_user_request request;
 
 #define VHOST_USER_VERSION_MASK     0x3
@@ -97,7 +97,7 @@ struct vhost_user_msg {
 		struct vhost_vring_addr addr;
 		struct vhost_memory memory;
 	} payload;
-} __rte_packed;
+} __rte_packed_end;
 
 #define VHOST_USER_HDR_SIZE offsetof(struct vhost_user_msg, payload.u64)
 #define VHOST_USER_PAYLOAD_SIZE \
diff --git a/drivers/net/zxdh/zxdh_common.c b/drivers/net/zxdh/zxdh_common.c
index 4f18c97ed7..2e8796785b 100644
--- a/drivers/net/zxdh/zxdh_common.c
+++ b/drivers/net/zxdh/zxdh_common.c
@@ -27,22 +27,22 @@
 #define ZXDH_REPS_HEADER_OFFSET       4
 #define ZXDH_TBL_MSG_PRO_SUCCESS      0xaa
 
-struct zxdh_common_msg {
+__rte_packed_begin struct zxdh_common_msg {
 	uint8_t  type;    /* 0:read table 1:write table */
 	uint8_t  field;
 	uint16_t pcie_id;
 	uint16_t slen;    /* Data length for write table */
 	uint16_t reserved;
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_common_rsp_hdr {
+__rte_packed_begin struct zxdh_common_rsp_hdr {
 	uint8_t  rsp_status;
 	uint16_t rsp_len;
 	uint8_t  reserved;
 	uint8_t  payload_status;
 	uint8_t  rsv;
 	uint16_t payload_len;
-} __rte_packed;
+} __rte_packed_end;
 
 struct zxdh_tbl_msg_header {
 	uint8_t  type;
diff --git a/drivers/net/zxdh/zxdh_msg.h b/drivers/net/zxdh/zxdh_msg.h
index 530ee406b1..fe30dbe649 100644
--- a/drivers/net/zxdh/zxdh_msg.h
+++ b/drivers/net/zxdh/zxdh_msg.h
@@ -160,29 +160,29 @@ struct zxdh_pci_bar_msg {
 	uint16_t usr;
 };
 
-struct zxdh_bar_msix_reps {
+__rte_packed_begin struct zxdh_bar_msix_reps {
 	uint16_t pcie_id;
 	uint16_t check;
 	uint16_t vport;
 	uint16_t rsv;
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_bar_offset_reps {
+__rte_packed_begin struct zxdh_bar_offset_reps {
 	uint16_t check;
 	uint16_t rsv;
 	uint32_t offset;
 	uint32_t length;
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_bar_recv_msg {
+__rte_packed_begin struct zxdh_bar_recv_msg {
 	uint8_t reps_ok;
 	uint16_t reps_len;
 	uint8_t rsv;
-	union {
+	__rte_packed_begin union {
 		struct zxdh_bar_msix_reps msix_reps;
 		struct zxdh_bar_offset_reps offset_reps;
-	} __rte_packed;
-} __rte_packed;
+	} __rte_packed_end;
+} __rte_packed_end;
 
 struct zxdh_msg_recviver_mem {
 	void *recv_buffer; /* first 4B is head, followed by payload */
diff --git a/drivers/net/zxdh/zxdh_pci.h b/drivers/net/zxdh/zxdh_pci.h
index ed6fd89742..b8aa451cc7 100644
--- a/drivers/net/zxdh/zxdh_pci.h
+++ b/drivers/net/zxdh/zxdh_pci.h
@@ -64,7 +64,7 @@ enum zxdh_msix_status {
 #define ZXDH_CONFIG_STATUS_FAILED          0x80
 #define ZXDH_PCI_QUEUE_ADDR_SHIFT          12
 
-struct zxdh_net_config {
+__rte_packed_begin struct zxdh_net_config {
 	/* The config defining mac address (if ZXDH_NET_F_MAC) */
 	uint8_t    mac[RTE_ETHER_ADDR_LEN];
 	/* See ZXDH_NET_F_STATUS and ZXDH_NET_S_* above */
@@ -73,7 +73,7 @@ struct zxdh_net_config {
 	uint16_t   mtu;
 	uint32_t   speed;
 	uint8_t    duplex;
-} __rte_packed;
+} __rte_packed_end;
 
 /* This is the PCI capability header: */
 struct zxdh_pci_cap {
diff --git a/drivers/net/zxdh/zxdh_queue.h b/drivers/net/zxdh/zxdh_queue.h
index 1088bf08fc..095c8f938d 100644
--- a/drivers/net/zxdh/zxdh_queue.h
+++ b/drivers/net/zxdh/zxdh_queue.h
@@ -35,12 +35,12 @@ enum { ZXDH_VTNET_RQ = 0, ZXDH_VTNET_TQ = 1 };
  * ring descriptors: 16 bytes.
  * These can chain together via "next".
  */
-struct zxdh_vring_desc {
+__rte_packed_begin struct zxdh_vring_desc {
 	uint64_t addr;  /*  Address (guest-physical). */
 	uint32_t len;   /* Length. */
 	uint16_t flags; /* The flags as indicated above. */
 	uint16_t next;  /* We chain unused descriptors via this. */
-} __rte_packed;
+} __rte_packed_end;
 
 struct zxdh_vring_used_elem {
 	/* Index of start of used descriptor chain. */
@@ -49,46 +49,46 @@ struct zxdh_vring_used_elem {
 	uint32_t len;
 };
 
-struct zxdh_vring_used {
+__rte_packed_begin struct zxdh_vring_used {
 	uint16_t flags;
 	uint16_t idx;
 	struct zxdh_vring_used_elem ring[];
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_vring_avail {
+__rte_packed_begin struct zxdh_vring_avail {
 	uint16_t flags;
 	uint16_t idx;
 	uint16_t ring[];
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_vring_packed_desc {
+__rte_packed_begin struct zxdh_vring_packed_desc {
 	uint64_t addr;
 	uint32_t len;
 	uint16_t id;
 	uint16_t flags;
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_vring_packed_desc_event {
+__rte_packed_begin struct zxdh_vring_packed_desc_event {
 	uint16_t desc_event_off_wrap;
 	uint16_t desc_event_flags;
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_vring_packed {
+__rte_packed_begin struct zxdh_vring_packed {
 	uint32_t num;
 	struct zxdh_vring_packed_desc *desc;
 	struct zxdh_vring_packed_desc_event *driver;
 	struct zxdh_vring_packed_desc_event *device;
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_vq_desc_extra {
+__rte_packed_begin struct zxdh_vq_desc_extra {
 	void *cookie;
 	uint16_t ndescs;
 	uint16_t next;
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_virtqueue {
+__rte_packed_begin struct zxdh_virtqueue {
 	struct zxdh_hw  *hw; /* < zxdh_hw structure pointer. */
-	struct {
+	__rte_packed_begin struct {
 		/* vring keeping descs and events */
 		struct zxdh_vring_packed ring;
 		uint8_t used_wrap_counter;
@@ -96,7 +96,7 @@ struct zxdh_virtqueue {
 		uint16_t cached_flags; /* < cached flags for descs */
 		uint16_t event_flags_shadow;
 		uint16_t rsv1;
-	} __rte_packed vq_packed;
+	} __rte_packed_end vq_packed;
 	uint16_t vq_used_cons_idx; /* < last consumed descriptor */
 	uint16_t vq_nentries;  /* < vring desc numbers */
 	uint16_t vq_free_cnt;  /* < num of desc available */
@@ -129,16 +129,16 @@ struct zxdh_virtqueue {
 	uint16_t *notify_addr;
 	struct rte_mbuf **sw_ring;  /* < RX software ring. */
 	struct zxdh_vq_desc_extra vq_descx[];
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_type_hdr {
+__rte_packed_begin struct zxdh_type_hdr {
 	uint8_t port;  /* bit[0:1] 00-np 01-DRS 10-DTP */
 	uint8_t pd_len;
 	uint8_t num_buffers;
 	uint8_t reserved;
-} __rte_packed; /* 4B */
+} __rte_packed_end; /* 4B */
 
-struct zxdh_pi_hdr {
+__rte_packed_begin struct zxdh_pi_hdr {
 	uint8_t  pi_len;
 	uint8_t  pkt_type;
 	uint16_t vlan_id;
@@ -162,24 +162,24 @@ struct zxdh_pi_hdr {
 			uint8_t  reserved[2];
 		} ul;
 	};
-} __rte_packed; /* 32B */
+} __rte_packed_end; /* 32B */
 
-struct zxdh_pd_hdr_dl {
+__rte_packed_begin struct zxdh_pd_hdr_dl {
 	uint32_t ol_flag;
 	uint8_t tag_idx;
 	uint8_t tag_data;
 	uint16_t dst_vfid;
 	uint32_t svlan_insert;
 	uint32_t cvlan_insert;
-} __rte_packed; /* 16B */
+} __rte_packed_end; /* 16B */
 
-struct zxdh_net_hdr_dl {
+__rte_packed_begin struct zxdh_net_hdr_dl {
 	struct zxdh_type_hdr  type_hdr; /* 4B */
 	struct zxdh_pi_hdr    pi_hdr; /* 32B */
 	struct zxdh_pd_hdr_dl pd_hdr; /* 16B */
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_pd_hdr_ul {
+__rte_packed_begin struct zxdh_pd_hdr_ul {
 	uint32_t pkt_flag;
 	uint32_t rss_hash;
 	uint32_t fd;
@@ -189,20 +189,20 @@ struct zxdh_pd_hdr_ul {
 	uint16_t src_vfid;
 	uint16_t pkt_type_out;
 	uint16_t pkt_type_in;
-} __rte_packed; /* 24B */
+} __rte_packed_end; /* 24B */
 
-struct zxdh_net_hdr_ul {
+__rte_packed_begin struct zxdh_net_hdr_ul {
 	struct zxdh_type_hdr  type_hdr; /* 4B */
 	struct zxdh_pi_hdr    pi_hdr; /* 32B */
 	struct zxdh_pd_hdr_ul pd_hdr; /* 24B */
-} __rte_packed; /* 60B */
+} __rte_packed_end; /* 60B */
 
 struct zxdh_tx_region {
 	struct zxdh_net_hdr_dl tx_hdr;
-	union {
+	__rte_packed_begin union {
 		struct zxdh_vring_desc tx_indir[ZXDH_MAX_TX_INDIRECT];
 		struct zxdh_vring_packed_desc tx_packed_indir[ZXDH_MAX_TX_INDIRECT];
-	} __rte_packed;
+	} __rte_packed_end;
 };
 
 static inline size_t
diff --git a/drivers/net/zxdh/zxdh_rxtx.h b/drivers/net/zxdh/zxdh_rxtx.h
index de9353b223..b6f795d84f 100644
--- a/drivers/net/zxdh/zxdh_rxtx.h
+++ b/drivers/net/zxdh/zxdh_rxtx.h
@@ -20,7 +20,7 @@ struct zxdh_virtnet_stats {
 	uint64_t size_bins[8];
 };
 
-struct zxdh_virtnet_rx {
+__rte_packed_begin struct zxdh_virtnet_rx {
 	struct zxdh_virtqueue         *vq;
 
 	/* dummy mbuf, for wraparound when processing RX ring. */
@@ -32,9 +32,9 @@ struct zxdh_virtnet_rx {
 	uint16_t                  port_id;          /* Device port identifier. */
 	struct zxdh_virtnet_stats      stats;
 	const struct rte_memzone *mz;               /* mem zone to populate RX ring. */
-} __rte_packed;
+} __rte_packed_end;
 
-struct zxdh_virtnet_tx {
+__rte_packed_begin struct zxdh_virtnet_tx {
 	struct zxdh_virtqueue         *vq;
 	const struct rte_memzone *zxdh_net_hdr_mz;  /* memzone to populate hdr. */
 	rte_iova_t                zxdh_net_hdr_mem; /* hdr for each xmit packet */
@@ -42,6 +42,6 @@ struct zxdh_virtnet_tx {
 	uint16_t                  port_id;            /* Device port identifier. */
 	struct zxdh_virtnet_stats      stats;
 	const struct rte_memzone *mz;                 /* mem zone to populate TX ring. */
-} __rte_packed;
+} __rte_packed_end;
 
 #endif  /* ZXDH_RXTX_H */
-- 
2.34.1


  parent reply	other threads:[~2024-11-27  0:55 UTC|newest]

Thread overview: 132+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-20 21:05 [PATCH 00/15] fix packing of structs when building with MSVC Tyler Retzlaff
2024-03-20 21:05 ` [PATCH 01/15] eal: provide pack start macro for MSVC Tyler Retzlaff
2024-03-20 21:05 ` [PATCH 02/15] eal: pack structures when building with MSVC Tyler Retzlaff
2024-03-21 16:02   ` Bruce Richardson
2024-03-20 21:05 ` [PATCH 03/15] net: " Tyler Retzlaff
2024-10-07  1:14   ` Stephen Hemminger
2024-03-20 21:06 ` [PATCH 04/15] common/iavf: " Tyler Retzlaff
2024-03-20 21:06 ` [PATCH 05/15] common/idpf: " Tyler Retzlaff
2024-03-20 21:06 ` [PATCH 06/15] common/mlx5: " Tyler Retzlaff
2024-03-20 21:06 ` [PATCH 07/15] dma/ioat: " Tyler Retzlaff
2024-03-21 16:13   ` Bruce Richardson
2024-03-27 22:51     ` Tyler Retzlaff
2024-03-20 21:06 ` [PATCH 08/15] net/i40e: " Tyler Retzlaff
2024-03-20 21:06 ` [PATCH 09/15] net/iavf: " Tyler Retzlaff
2024-03-21 16:26   ` Bruce Richardson
2024-03-20 21:06 ` [PATCH 10/15] net/ice: " Tyler Retzlaff
2024-03-20 21:06 ` [PATCH 11/15] net/mlx5: " Tyler Retzlaff
2024-03-20 21:06 ` [PATCH 12/15] net/octeon_ep: " Tyler Retzlaff
2024-03-20 21:06 ` [PATCH 13/15] app/testpmd: " Tyler Retzlaff
2024-03-21 16:28   ` Bruce Richardson
2024-03-20 21:06 ` [PATCH 14/15] app/test: " Tyler Retzlaff
2024-03-20 21:06 ` [PATCH 15/15] examples: " Tyler Retzlaff
2024-03-21 16:31   ` Bruce Richardson
2024-03-21 15:32 ` [PATCH 00/15] fix packing of structs " Stephen Hemminger
2024-03-21 15:46   ` Tyler Retzlaff
2024-03-27 23:09 ` [PATCH v2 " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 01/15] eal: provide pack start macro for MSVC Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 02/15] eal: pack structures when building with MSVC Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 03/15] net: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 04/15] common/iavf: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 05/15] common/idpf: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 06/15] common/mlx5: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 07/15] dma/ioat: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 08/15] net/i40e: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 09/15] net/iavf: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 10/15] net/ice: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 11/15] net/mlx5: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 12/15] net/octeon_ep: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 13/15] app/testpmd: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 14/15] app/test: " Tyler Retzlaff
2024-03-27 23:09   ` [PATCH v2 15/15] examples: " Tyler Retzlaff
2024-04-15 23:51 ` [PATCH v3 00/16] fix packing of structs " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 01/16] eal: provide pack start macro for MSVC Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 02/16] eal: pack structures when building with MSVC Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 03/16] net: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 04/16] common/iavf: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 05/16] common/idpf: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 06/16] common/mlx5: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 07/16] dma/ioat: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 08/16] net/i40e: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 09/16] net/iavf: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 10/16] net/ice: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 11/16] net/mlx5: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 12/16] net/octeon_ep: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 13/16] app/testpmd: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 14/16] app/test: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 15/16] examples: " Tyler Retzlaff
2024-04-15 23:51   ` [PATCH v3 16/16] crypto/mlx5: " Tyler Retzlaff
2024-04-16  0:04 ` [PATCH v4 00/16] fix packing of structs " Tyler Retzlaff
2024-04-16  0:04   ` [PATCH v4 01/16] eal: provide pack start macro for MSVC Tyler Retzlaff
2024-04-16  0:04   ` [PATCH v4 02/16] eal: pack structures when building with MSVC Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 03/16] net: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 04/16] common/iavf: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 05/16] common/idpf: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 06/16] common/mlx5: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 07/16] dma/ioat: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 08/16] net/i40e: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 09/16] net/iavf: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 10/16] net/ice: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 11/16] net/mlx5: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 12/16] net/octeon_ep: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 13/16] app/testpmd: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 14/16] app/test: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 15/16] examples: " Tyler Retzlaff
2024-04-16  0:05   ` [PATCH v4 16/16] crypto/mlx5: " Tyler Retzlaff
2024-11-19  4:35 ` [PATCH v5 00/16] fix packing of structs " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 01/16] eal: provide pack start macro for MSVC Andre Muezerie
2024-11-19  8:32     ` Morten Brørup
2024-11-19 11:00       ` Konstantin Ananyev
2024-11-19 16:23         ` Andre Muezerie
2024-11-21 19:39       ` Andre Muezerie
2024-11-21 20:51         ` Thomas Monjalon
2024-11-22  0:11           ` Andre Muezerie
2024-11-22  8:13             ` Morten Brørup
2024-11-25 22:15               ` Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 02/16] eal: pack structures when building with MSVC Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 03/16] net: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 04/16] common/iavf: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 05/16] common/idpf: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 06/16] common/mlx5: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 07/16] dma/ioat: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 08/16] net/i40e: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 09/16] net/iavf: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 10/16] net/ice: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 11/16] net/mlx5: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 12/16] net/octeon_ep: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 13/16] app/testpmd: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 14/16] app/test: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 15/16] examples: " Andre Muezerie
2024-11-19  4:35   ` [PATCH v5 16/16] crypto/mlx5: " Andre Muezerie
2024-11-20 21:13   ` [PATCH v5 00/16] fix packing of structs " Patrick Robb
2024-11-27  0:52 ` [PATCH v6 00/30] " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 01/30] devtools: check packed attributes Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 02/30] eal/include: add new packing macros Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 03/30] app/test-pmd: remove unnecessary packed attributes Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 04/30] app/test: replace " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 05/30] doc/guides: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 06/30] drivers/baseband: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 07/30] drivers/bus: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 08/30] drivers/common: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 09/30] drivers/compress: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 10/30] drivers/crypto: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 11/30] drivers/dma: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 12/30] drivers/event: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 13/30] drivers/mempool: " Andre Muezerie
2024-11-27  0:52   ` Andre Muezerie [this message]
2024-11-27  0:52   ` [PATCH v6 15/30] drivers/raw: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 16/30] drivers/regex: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 17/30] drivers/vdpa: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 18/30] examples/common: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 19/30] examples/ip-pipeline: remove " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 20/30] examples/ipsec_secgw: replace " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 21/30] examples/l3fwd-power: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 22/30] examples/l3fwd: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 23/30] examples/ptpclient: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 24/30] examples/vhost_blk: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 25/30] lib/eal: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 26/30] lib/ipsec: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 27/30] lib/net: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 28/30] lib/pipeline: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 29/30] lib/vhost: " Andre Muezerie
2024-11-27  0:52   ` [PATCH v6 30/30] lib/eal: remove __rte_packed Andre Muezerie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1732668761-5556-15-git-send-email-andremue@linux.microsoft.com \
    --to=andremue@linux.microsoft.com \
    --cc=aman.deep.singh@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=byron.marohn@intel.com \
    --cc=conor.walsh@intel.com \
    --cc=cristian.dumitrescu@intel.com \
    --cc=david.hunt@intel.com \
    --cc=dev@dpdk.org \
    --cc=dsosnowski@nvidia.com \
    --cc=gakhil@marvell.com \
    --cc=jerinj@marvell.com \
    --cc=jingjing.wu@intel.com \
    --cc=kirill.rybalchenko@intel.com \
    --cc=konstantin.v.ananyev@yandex.ru \
    --cc=matan@nvidia.com \
    --cc=orika@nvidia.com \
    --cc=radu.nicolau@intel.com \
    --cc=roretzla@linux.microsoft.com \
    --cc=ruifeng.wang@arm.com \
    --cc=sameh.gobriel@intel.com \
    --cc=sivaprasad.tummala@amd.com \
    --cc=skori@marvell.com \
    --cc=stephen@networkplumber.org \
    --cc=suanmingm@nvidia.com \
    --cc=vattunuru@marvell.com \
    --cc=viacheslavo@nvidia.com \
    --cc=vladimir.medvedkin@intel.com \
    --cc=yipeng1.wang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).