xsk: Wipe out dead zero_copy_allocator declarations

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
This commit is contained in:
Maciej Fijalkowski 2021-12-10 18:15:11 +01:00 committed by Daniel Borkmann
parent f742fc68ac
commit d27a662290
3 changed files with 0 additions and 4 deletions

View File

@ -22,7 +22,6 @@
struct i40e_vsi; struct i40e_vsi;
struct xsk_buff_pool; struct xsk_buff_pool;
struct zero_copy_allocator;
int i40e_queue_pair_disable(struct i40e_vsi *vsi, int queue_pair); int i40e_queue_pair_disable(struct i40e_vsi *vsi, int queue_pair);
int i40e_queue_pair_enable(struct i40e_vsi *vsi, int queue_pair); int i40e_queue_pair_enable(struct i40e_vsi *vsi, int queue_pair);

View File

@ -35,8 +35,6 @@ int ixgbe_xsk_pool_setup(struct ixgbe_adapter *adapter,
struct xsk_buff_pool *pool, struct xsk_buff_pool *pool,
u16 qid); 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); 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, int ixgbe_clean_rx_irq_zc(struct ixgbe_q_vector *q_vector,
struct ixgbe_ring *rx_ring, struct ixgbe_ring *rx_ring,

View File

@ -10,7 +10,6 @@ struct xdp_mem_allocator {
union { union {
void *allocator; void *allocator;
struct page_pool *page_pool; struct page_pool *page_pool;
struct zero_copy_allocator *zc_alloc;
}; };
struct rhash_head node; struct rhash_head node;
struct rcu_head rcu; struct rcu_head rcu;