]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
xsk: Wipe out dead zero_copy_allocator declarations
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>
Fri, 10 Dec 2021 17:15:11 +0000 (18:15 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 13 Dec 2021 23:24:24 +0000 (00:24 +0100)
zero_copy_allocator has been removed back when Bjorn Topel introduced
xsk_buff_pool. Remove references to it that were dangling in the tree.

Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/20211210171511.11574-1-maciej.fijalkowski@intel.com
drivers/net/ethernet/intel/i40e/i40e_xsk.h
drivers/net/ethernet/intel/ixgbe/ixgbe_txrx_common.h
include/net/xdp_priv.h

index ea88f4597a07227b347a504199af494ab0b63dc5..bb962987f300a647e8b2e3aa6fdaddf245edf3be 100644 (file)
@@ -22,7 +22,6 @@
 
 struct i40e_vsi;
 struct xsk_buff_pool;
-struct zero_copy_allocator;
 
 int i40e_queue_pair_disable(struct i40e_vsi *vsi, int queue_pair);
 int i40e_queue_pair_enable(struct i40e_vsi *vsi, int queue_pair);
index a82533f21d368e973cba8fb4eae4cf5fd833cfce..bba3feaf3318cd079c20d25830919bb2daf62b32 100644 (file)
@@ -35,8 +35,6 @@ int ixgbe_xsk_pool_setup(struct ixgbe_adapter *adapter,
                         struct xsk_buff_pool *pool,
                         u16 qid);
 
-void ixgbe_zca_free(struct zero_copy_allocator *alloc, unsigned long handle);
-
 bool ixgbe_alloc_rx_buffers_zc(struct ixgbe_ring *rx_ring, u16 cleaned_count);
 int ixgbe_clean_rx_irq_zc(struct ixgbe_q_vector *q_vector,
                          struct ixgbe_ring *rx_ring,
index a9d5b7603b89e6a5b0fbd28e03f8143e14cf43cb..a2d58b1a12e155249964f928f912d17fba26b0a5 100644 (file)
@@ -10,7 +10,6 @@ struct xdp_mem_allocator {
        union {
                void *allocator;
                struct page_pool *page_pool;
-               struct zero_copy_allocator *zc_alloc;
        };
        struct rhash_head node;
        struct rcu_head rcu;