diff options
author | Brett Creeley <[email protected]> | 2023-06-05 12:59:25 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-06 21:11:17 -0700 |
commit | accc1bf23068c1cdc4c2b015320ba856e210dd98 (patch) | |
tree | c13768621b42edc34ecfe7be65c4da49167412b9 /tools/perf/scripts/python/flamegraph.py | |
parent | 4f48c30312b7af5365878ab191bb41e7b899e09b (diff) |
virtio_net: use control_buf for coalesce params
Commit 699b045a8e43 ("net: virtio_net: notifications coalescing
support") added coalescing command support for virtio_net. However,
the coalesce commands are using buffers on the stack, which is causing
the device to see DMA errors. There should also be a complaint from
check_for_stack() in debug_dma_map_xyz(). Fix this by adding and using
coalesce params from the control_buf struct, which aligns with other
commands.
Cc: [email protected]
Fixes: 699b045a8e43 ("net: virtio_net: notifications coalescing support")
Reviewed-by: Shannon Nelson <[email protected]>
Signed-off-by: Allen Hubbe <[email protected]>
Signed-off-by: Brett Creeley <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Xuan Zhuo <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions