> -Original Message-
> From: Maciej Fijalkowski
> Sent: Thursday, February 4, 2021 10:52
> To: Camelia Alexandra Groza
> Cc: k...@kernel.org; da...@davemloft.net; Madalin Bucur (OSS)
> ; netdev@vger.kernel.org
> Subject: Re: [PATCH net 1/3] dpaa_eth: reserve sp
On Tue, Feb 02, 2021 at 07:34:42PM +0200, Camelia Groza wrote:
> When the erratum workaround is triggered, the newly created xdp_frame
> structure is stored at the start of the newly allocated buffer. Avoid
> the structure from being overwritten by explicitly reserving enough
> space in the buffer
When the erratum workaround is triggered, the newly created xdp_frame
structure is stored at the start of the newly allocated buffer. Avoid
the structure from being overwritten by explicitly reserving enough
space in the buffer for storing it.
Account for the fact that the structure's size might i