]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: use xdp_return_frame API
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 17 Apr 2018 14:45:32 +0000 (16:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Apr 2018 14:50:27 +0000 (10:50 -0400)
commit29b73e857c847d4b1cfeb1ceb8417a74bfff862c
tree3c89600c8aa6b14bc4d0a2312833a472684b8f72
parent69f511156f388a6922f4fe04a1c055e1b2b09f2b
ixgbe: use xdp_return_frame API

Extend struct ixgbe_tx_buffer to store the xdp_mem_info.

Notice that this could be optimized further by putting this into
a union in the struct ixgbe_tx_buffer, but this patchset
works towards removing this again.  Thus, this is not done.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c