From: Jason Wang <jasow...@redhat.com> Date: Fri, 13 Apr 2018 14:58:25 +0800
> 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 <kt...@nii.ac.jp> > Tested-by: Kimitoshi Takahashi <kt...@nii.ac.jp> > Cc: Daniel Borkmann <dan...@iogearbox.net> > Fixes: 186b3c998c50 ("virtio-net: support XDP_REDIRECT") > Signed-off-by: Jason Wang <jasow...@redhat.com> Applied and queued up for -stable, thanks Jason.