o
>
> Subject: Re: [PATCH net-next v6 2/6] virtio_net: Remove command data
> from control_buf
>
> On Fri, May 3, 2024 at 10:25 PM Daniel Jurgens wrote:
> >
> > Allocate memory for the data when it's used. Ideally the struct could
> > be on the stack, but
On Fri, May 3, 2024 at 10:25 PM Daniel Jurgens wrote:
>
> Allocate memory for the data when it's used. Ideally the struct could
> be on the stack, but we can't DMA stack memory. With this change only
> the header and status memory are shared between commands, which will
> allow using a tighter loc
Allocate memory for the data when it's used. Ideally the struct could
be on the stack, but we can't DMA stack memory. With this change only
the header and status memory are shared between commands, which will
allow using a tighter lock than RTNL.
Signed-off-by: Daniel Jurgens
Reviewed-by: Jiri Pi