diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2018-05-31 10:59:57 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-06-03 08:11:34 -0700 |
commit | 5e2e609522d67750d4b3c0321d1917bb109ac41b (patch) | |
tree | 7904752910f3138788fc9d9b88c340ab283d716a /drivers/net/virtio_net.c | |
parent | cdb57ed07fafb79a250e62d714b8910f2d341ef2 (diff) | |
download | linux-5e2e609522d67750d4b3c0321d1917bb109ac41b.tar.gz |
ixgbe: implement flush flag for ndo_xdp_xmit
When passed the XDP_XMIT_FLUSH flag ixgbe_xdp_xmit now performs the
same kind of ring tail update as in ixgbe_xdp_flush. The update tail
code in ixgbe_xdp_flush is generalized and shared with ixgbe_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