[dpdk-dev] [PATCH v4 04/12] raw/ioat: add explicit padding to descriptor struct
Thomas Monjalon
thomas at monjalon.net
Mon May 3 23:20:40 CEST 2021
30/04/2021 17:06, Bruce Richardson:
> Add an explicit padding field to the end of the descriptor structure so
> that when the batch descriptor is defined on the stack for perform-ops, the
> unused space is all zeroed appropriately.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> --- a/drivers/raw/ioat/rte_ioat_rawdev_fns.h
> +++ b/drivers/raw/ioat/rte_ioat_rawdev_fns.h
> - /* 28 bytes of padding here */
> + uint16_t intr_handle; /* completion interrupt handle */
This is more than padding.
Does it deserve its own commit?
> +
> + /* remaining 26 bytes are reserved */
> + uint16_t __reserved[13];
> } __rte_aligned(64);
More information about the dev
mailing list