Lines Matching refs:queue_id
22 struct xsk_buff_pool *pool, u16 queue_id) in tsnep_xdp_enable_pool() argument
27 if (queue_id >= adapter->num_rx_queues || in tsnep_xdp_enable_pool()
28 queue_id >= adapter->num_tx_queues) in tsnep_xdp_enable_pool()
31 queue = &adapter->queue[queue_id]; in tsnep_xdp_enable_pool()
32 if (queue->rx->queue_index != queue_id || in tsnep_xdp_enable_pool()
33 queue->tx->queue_index != queue_id) { in tsnep_xdp_enable_pool()
58 static int tsnep_xdp_disable_pool(struct tsnep_adapter *adapter, u16 queue_id) in tsnep_xdp_disable_pool() argument
63 if (queue_id >= adapter->num_rx_queues || in tsnep_xdp_disable_pool()
64 queue_id >= adapter->num_tx_queues) in tsnep_xdp_disable_pool()
67 pool = xsk_get_pool_from_qid(adapter->netdev, queue_id); in tsnep_xdp_disable_pool()
71 queue = &adapter->queue[queue_id]; in tsnep_xdp_disable_pool()
81 struct xsk_buff_pool *pool, u16 queue_id) in tsnep_xdp_setup_pool() argument
83 return pool ? tsnep_xdp_enable_pool(adapter, pool, queue_id) : in tsnep_xdp_setup_pool()
84 tsnep_xdp_disable_pool(adapter, queue_id); in tsnep_xdp_setup_pool()