Re: [PATCH net-next v5 2/6] virtio_net: Remove command data from control_buf

2024-04-30 Thread Heng Qi
On Tue, 23 Apr 2024 06:57:42 +0300, Daniel Jurgens wrote: > Allocate memory for the data when it's used. Ideally the 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 tha

Re: [PATCH net-next v5 2/6] virtio_net: Remove command data from control_buf

2024-04-26 Thread Paolo Abeni
On Tue, 2024-04-23 at 06:57 +0300, Daniel Jurgens wrote: > Allocate memory for the data when it's used. Ideally the could be on the Minor nit: 'buffer' or 'struct' is missing here No need to repost just for this. Thank, Paolo