ixgbe: split XDP_TX tail and XDP_REDIRECT map flushing
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 26 Jun 2018 15:39:48 +0000 (17:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2018 05:27:52 +0000 (14:27 +0900)
commitad088ec480768850db019a5cc543685e868a513d
treec8def069aac54360405b601e32144e78f18866ca
parentfec9d3b1dc4c481f20f5d2f5aef3ad1cb7504186
ixgbe: split XDP_TX tail and XDP_REDIRECT map flushing

The driver was combining the XDP_TX tail flush and XDP_REDIRECT
map flushing (xdp_do_flush_map).  This is suboptimal, these two
flush operations should be kept separate.

Fixes: 11393cc9b9be ("xdp: Add batching support to redirect map")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c