diff options
author | Daniel Jurgens <[email protected]> | 2024-05-03 23:24:41 +0300 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-05-07 11:42:00 +0200 |
commit | ff7c7d9f5261e4372e541e6bb6781b386a839b48 (patch) | |
tree | 287bd5b9b7ccf10649ec25700462219ca405e240 /net/switchdev/switchdev.c | |
parent | fce29030c5656986bfd533a92630a612ff58a9dc (diff) |
virtio_net: Remove command data from control_buf
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 <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Heng Qi <[email protected]>
Tested-by: Heng Qi <[email protected]>
Acked-by: Jason Wang <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions