]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: split XDP_TX tail and XDP_REDIRECT map flushing
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 26 Jun 2018 15:39:53 +0000 (17:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2018 05:27:52 +0000 (14:27 +0900)
commita5728b6a49512821c897370fff4914c62eed56b9
tree666a172a1d4d842989b2f85f7fc5eee019d1a2ec
parent2f3ae7e2c323a6e4e18eae4781d4e3266c64bbc7
i40e: 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.

It looks like the mistake was copy-pasted from ixgbe.

Fixes: 7a3c59e6a9ca ("i40e: add support for XDP_REDIRECT")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_txrx.c