summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_ptp.c
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@nvidia.com>2024-05-03 23:24:41 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-05-07 11:42:00 +0200
commitff7c7d9f5261e4372e541e6bb6781b386a839b48 (patch)
tree287bd5b9b7ccf10649ec25700462219ca405e240 /drivers/net/ethernet/intel/igc/igc_ptp.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 <danielj@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Heng Qi <hengqi@linux.alibaba.com> Tested-by: Heng Qi <hengqi@linux.alibaba.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ptp.c')
0 files changed, 0 insertions, 0 deletions