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

2024-03-28 Thread kernel test robot
://lore.kernel.org/r/20240328044715.266641-3-danielj%40nvidia.com patch subject: [PATCH net-next v2 2/6] virtio_net: Remove command data from control_buf config: x86_64-randconfig-122-20240328 (https://download.01.org/0day-ci/archive/20240329/202403290542.gm5d7hmg-...@intel.com/config) compiler: clang

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

2024-03-27 Thread Daniel Jurgens
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 than RTNL. Signed-off-by: Daniel Jurgens Reviewed-by: Jiri Pirko --