aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2018-05-31 11:00:03 +0200
committerAlexei Starovoitov <ast@kernel.org>2018-06-03 08:11:34 -0700
commit0c9d917b7d74b758af1b4e37996af48d95b2ef33 (patch)
tree379c0c7124939d33393c5c73ce1c86be6df17e51 /drivers/net/virtio_net.c
parentixgbe: implement flush flag for ndo_xdp_xmit (diff)
downloadlinux-dev-0c9d917b7d74b758af1b4e37996af48d95b2ef33.tar.xz
linux-dev-0c9d917b7d74b758af1b4e37996af48d95b2ef33.zip
tun: implement flush flag for ndo_xdp_xmit
When passed the XDP_XMIT_FLUSH flag tun_xdp_xmit now performs the same kind of socket wake up as in tun_xdp_flush(). The wake up code from tun_xdp_flush is generalized and shared with tun_xdp_xmit. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions