Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio-net: add missing virtqueue kick when flushing packets
We tends to batch submitting packets during XDP_TX. This requires to kick virtqueue after a batch, we tried to do it through xdp_do_flush_map() which only makes sense for devmap not XDP_TX. So explicitly kick the virtqueue in this case. Reported-by: Kimitoshi Takahashi <[email protected]> Tested-by: Kimitoshi Takahashi <[email protected]> Cc: Daniel Borkmann <[email protected]> Fixes: 186b3c9 ("virtio-net: support XDP_REDIRECT") Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information