/linux-6.1.9/include/net/ |
D | busy_poll.h | 46 void napi_busy_loop(unsigned int napi_id, 107 unsigned int napi_id = READ_ONCE(sk->sk_napi_id); in sk_busy_loop() local 109 if (napi_id >= MIN_NAPI_ID) in sk_busy_loop() 110 napi_busy_loop(napi_id, nonblock ? NULL : sk_busy_loop_end, sk, in sk_busy_loop() 124 if (skb->napi_id < MIN_NAPI_ID) in skb_mark_napi_id() 125 skb->napi_id = napi->napi_id; in skb_mark_napi_id() 133 if (unlikely(READ_ONCE(sk->sk_napi_id) != skb->napi_id)) in sk_mark_napi_id() 134 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id() 147 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id_set() 152 static inline void __sk_mark_napi_id_once(struct sock *sk, unsigned int napi_id) in __sk_mark_napi_id_once() argument [all …]
|
D | xdp.h | 62 unsigned int napi_id; member 362 unsigned int napi_id, u32 frag_size); 366 unsigned int napi_id) in xdp_rxq_info_reg() argument 368 return __xdp_rxq_info_reg(xdp_rxq, dev, queue_index, napi_id, 0); in xdp_rxq_info_reg()
|
D | xdp_sock_drv.h | 53 return pool->heads[0].xdp.rxq->napi_id; in xsk_pool_get_napi_id()
|
/linux-6.1.9/include/trace/events/ |
D | net.h | 172 __field( unsigned int, napi_id ) 195 __entry->napi_id = skb->napi_id; 197 __entry->napi_id = 0; 219 __get_str(name), __entry->napi_id, __entry->queue_mapping,
|
/linux-6.1.9/tools/testing/selftests/bpf/verifier/ |
D | cgroup_skb.c | 71 offsetof(struct __sk_buff, napi_id)), 163 offsetof(struct __sk_buff, napi_id)), 165 offsetof(struct __sk_buff, napi_id)),
|
D | ctx_skb.c | 26 offsetof(struct __sk_buff, napi_id)),
|
/linux-6.1.9/fs/ |
D | eventpoll.c | 222 unsigned int napi_id; member 401 unsigned int napi_id = READ_ONCE(ep->napi_id); in ep_busy_loop() local 403 if ((napi_id >= MIN_NAPI_ID) && net_busy_loop_on()) { in ep_busy_loop() 404 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, ep, false, in ep_busy_loop() 413 ep->napi_id = 0; in ep_busy_loop() 425 unsigned int napi_id; in ep_set_busy_poll_napi_id() local 440 napi_id = READ_ONCE(sk->sk_napi_id); in ep_set_busy_poll_napi_id() 447 if (napi_id < MIN_NAPI_ID || napi_id == ep->napi_id) in ep_set_busy_poll_napi_id() 451 ep->napi_id = napi_id; in ep_set_busy_poll_napi_id()
|
/linux-6.1.9/net/core/ |
D | xdp.c | 167 unsigned int napi_id, u32 frag_size) in __xdp_rxq_info_reg() argument 188 xdp_rxq->napi_id = napi_id; in __xdp_rxq_info_reg()
|
D | dev.c | 168 static struct napi_struct *napi_by_id(unsigned int napi_id); 870 struct net_device *dev_get_by_napi_id(unsigned int napi_id) in dev_get_by_napi_id() argument 876 if (napi_id < MIN_NAPI_ID) in dev_get_by_napi_id() 879 napi = napi_by_id(napi_id); in dev_get_by_napi_id() 1389 n->dev->name, n->napi_id); in napi_kthread_create() 6103 static struct napi_struct *napi_by_id(unsigned int napi_id) in napi_by_id() argument 6105 unsigned int hash = napi_id % HASH_SIZE(napi_hash); in napi_by_id() 6109 if (napi->napi_id == napi_id) in napi_by_id() 6181 void napi_busy_loop(unsigned int napi_id, in napi_busy_loop() argument 6195 napi = napi_by_id(napi_id); in napi_busy_loop() [all …]
|
/linux-6.1.9/drivers/staging/octeon/ |
D | ethernet-rx.c | 48 static irqreturn_t cvm_oct_do_interrupt(int irq, void *napi_id) in cvm_oct_do_interrupt() argument 52 napi_schedule(napi_id); in cvm_oct_do_interrupt()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_base.c | 507 ring->q_index, ring->q_vector->napi.napi_id); in ice_vsi_cfg_rxq() 529 ring->q_index, ring->q_vector->napi.napi_id); in ice_vsi_cfg_rxq()
|
D | ice_txrx.c | 516 rx_ring->q_index, rx_ring->q_vector->napi.napi_id)) in ice_setup_rx_ring()
|
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_vec.c | 152 self->napi.napi_id) < 0) { in aq_vec_ring_alloc()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_dp.c | 300 rx_ring->idx, rx_ring->r_vec->napi.napi_id); in nfp_net_rx_ring_alloc()
|
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/ |
D | funeth_rx.c | 706 irq->napi.napi_id); in fun_rxq_create_dev()
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 2000 unsigned int napi_id; in __alloc_dma_rx_desc_resources() local 2050 napi_id = ch->rxtx_napi.napi_id; in __alloc_dma_rx_desc_resources() 2052 napi_id = ch->rx_napi.napi_id; in __alloc_dma_rx_desc_resources() 2056 napi_id); in __alloc_dma_rx_desc_resources()
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | bpf.h | 5874 __u32 napi_id; member
|
/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | efx_channels.c | 616 channel->napi_str.napi_id = 0; in efx_copy_channel()
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | efx_channels.c | 613 channel->napi_str.napi_id = 0; in efx_copy_channel()
|
/linux-6.1.9/include/uapi/linux/ |
D | bpf.h | 5874 __u32 napi_id; member
|
/linux-6.1.9/include/linux/ |
D | skbuff.h | 1006 unsigned int napi_id; 1183 return skb->napi_id; in skb_napi_id()
|
D | netdevice.h | 367 unsigned int napi_id; member 3055 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
|
/linux-6.1.9/drivers/net/ |
D | veth.c | 1075 err = xdp_rxq_info_reg(&rq->xdp_rxq, dev, i, rq->xdp_napi.napi_id); in veth_enable_xdp_range()
|
/linux-6.1.9/drivers/net/ethernet/socionext/ |
D | netsec.c | 1315 err = xdp_rxq_info_reg(&dring->xdp_rxq, priv->ndev, 0, priv->napi.napi_id); in netsec_setup_rx_dring()
|
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/ |
D | mana_en.c | 1738 cq->napi.napi_id)); in mana_create_rxq()
|