aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDaniel Jurgens <[email protected]>2024-05-03 23:24:41 +0300
committerPaolo Abeni <[email protected]>2024-05-07 11:42:00 +0200
commitff7c7d9f5261e4372e541e6bb6781b386a839b48 (patch)
tree287bd5b9b7ccf10649ec25700462219ca405e240 /net/switchdev/switchdev.c
parentfce29030c5656986bfd533a92630a612ff58a9dc (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