• Home
  • Raw
  • Download

Lines Matching refs:qid

15 	int qid = ring->ring_idx;  in ixgbe_xsk_pool()  local
17 if (!xdp_on || !test_bit(qid, adapter->af_xdp_zc_qps)) in ixgbe_xsk_pool()
20 return xsk_get_pool_from_qid(adapter->netdev, qid); in ixgbe_xsk_pool()
25 u16 qid) in ixgbe_xsk_pool_enable() argument
31 if (qid >= adapter->num_rx_queues) in ixgbe_xsk_pool_enable()
34 if (qid >= netdev->real_num_rx_queues || in ixgbe_xsk_pool_enable()
35 qid >= netdev->real_num_tx_queues) in ixgbe_xsk_pool_enable()
46 ixgbe_txrx_ring_disable(adapter, qid); in ixgbe_xsk_pool_enable()
48 set_bit(qid, adapter->af_xdp_zc_qps); in ixgbe_xsk_pool_enable()
51 ixgbe_txrx_ring_enable(adapter, qid); in ixgbe_xsk_pool_enable()
54 err = ixgbe_xsk_wakeup(adapter->netdev, qid, XDP_WAKEUP_RX); in ixgbe_xsk_pool_enable()
56 clear_bit(qid, adapter->af_xdp_zc_qps); in ixgbe_xsk_pool_enable()
65 static int ixgbe_xsk_pool_disable(struct ixgbe_adapter *adapter, u16 qid) in ixgbe_xsk_pool_disable() argument
70 pool = xsk_get_pool_from_qid(adapter->netdev, qid); in ixgbe_xsk_pool_disable()
78 ixgbe_txrx_ring_disable(adapter, qid); in ixgbe_xsk_pool_disable()
80 clear_bit(qid, adapter->af_xdp_zc_qps); in ixgbe_xsk_pool_disable()
84 ixgbe_txrx_ring_enable(adapter, qid); in ixgbe_xsk_pool_disable()
91 u16 qid) in ixgbe_xsk_pool_setup() argument
93 return pool ? ixgbe_xsk_pool_enable(adapter, pool, qid) : in ixgbe_xsk_pool_setup()
94 ixgbe_xsk_pool_disable(adapter, qid); in ixgbe_xsk_pool_setup()
508 int ixgbe_xsk_wakeup(struct net_device *dev, u32 qid, u32 flags) in ixgbe_xsk_wakeup() argument
519 if (qid >= adapter->num_xdp_queues) in ixgbe_xsk_wakeup()
522 ring = adapter->xdp_ring[qid]; in ixgbe_xsk_wakeup()