Lines Matching refs:queue_id
97 u16 queue_id) in xsk_get_pool_from_qid() argument
99 if (queue_id < dev->real_num_rx_queues) in xsk_get_pool_from_qid()
100 return dev->_rx[queue_id].pool; in xsk_get_pool_from_qid()
101 if (queue_id < dev->real_num_tx_queues) in xsk_get_pool_from_qid()
102 return dev->_tx[queue_id].pool; in xsk_get_pool_from_qid()
108 void xsk_clear_pool_at_qid(struct net_device *dev, u16 queue_id) in xsk_clear_pool_at_qid() argument
110 if (queue_id < dev->num_rx_queues) in xsk_clear_pool_at_qid()
111 dev->_rx[queue_id].pool = NULL; in xsk_clear_pool_at_qid()
112 if (queue_id < dev->num_tx_queues) in xsk_clear_pool_at_qid()
113 dev->_tx[queue_id].pool = NULL; in xsk_clear_pool_at_qid()
121 u16 queue_id) in xsk_reg_pool_at_qid() argument
123 if (queue_id >= max_t(unsigned int, in xsk_reg_pool_at_qid()
128 if (queue_id < dev->real_num_rx_queues) in xsk_reg_pool_at_qid()
129 dev->_rx[queue_id].pool = pool; in xsk_reg_pool_at_qid()
130 if (queue_id < dev->real_num_tx_queues) in xsk_reg_pool_at_qid()
131 dev->_tx[queue_id].pool = pool; in xsk_reg_pool_at_qid()
240 if (xs->dev != xdp->rxq->dev || xs->queue_id != xdp->rxq->queue_index) in xsk_rcv()
350 err = dev->netdev_ops->ndo_xsk_wakeup(dev, xs->queue_id, flags); in xsk_wakeup()
387 if (xs->queue_id >= xs->dev->real_num_tx_queues) in xsk_generic_xmit()
433 err = __dev_direct_xmit(skb, xs->queue_id); in xsk_generic_xmit()
733 if (umem_xs->queue_id != qid || umem_xs->dev != dev) { in xsk_bind()
794 xs->queue_id = qid; in xsk_bind()