[PATCH 3/6] bus/ifpga: remove packed attribute
Xu, Rosen
rosen.xu at intel.com
Thu Oct 17 16:52:34 CEST 2024
Hi,
> -----Original Message-----
> From: Richardson, Bruce <bruce.richardson at intel.com>
> Sent: Thursday, October 17, 2024 10:22 PM
> To: dev at dpdk.org
> Cc: Richardson, Bruce <bruce.richardson at intel.com>; Xu, Rosen
> <rosen.xu at intel.com>
> Subject: [PATCH 3/6] bus/ifpga: remove packed attribute
>
> The struct rte_afu_device does not need to be packed, so remove the
> packed attribute from it.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> drivers/bus/ifpga/bus_ifpga_driver.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/bus/ifpga/bus_ifpga_driver.h
> b/drivers/bus/ifpga/bus_ifpga_driver.h
> index 5bbe36d6e0..557e8fd08d 100644
> --- a/drivers/bus/ifpga/bus_ifpga_driver.h
> +++ b/drivers/bus/ifpga/bus_ifpga_driver.h
> @@ -77,7 +77,7 @@ struct rte_afu_device {
> struct rte_intr_handle *intr_handle; /**< Interrupt handle */
> struct rte_afu_driver *driver; /**< Associated driver */
> char path[IFPGA_BUS_BITSTREAM_PATH_MAX_LEN];
> -} __rte_packed;
> +};
>
> /**
> * @internal
> --
> 2.43.0
Acked-by: Rosen Xu <rosen.xu at intel.com>
More information about the dev
mailing list