Home
last modified time | relevance | path

Searched refs:napi_id (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.1.9/include/net/
Dbusy_poll.h46 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 …]
Dxdp.h62 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()
Dxdp_sock_drv.h53 return pool->heads[0].xdp.rxq->napi_id; in xsk_pool_get_napi_id()
/linux-6.1.9/include/trace/events/
Dnet.h172 __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/
Dcgroup_skb.c71 offsetof(struct __sk_buff, napi_id)),
163 offsetof(struct __sk_buff, napi_id)),
165 offsetof(struct __sk_buff, napi_id)),
Dctx_skb.c26 offsetof(struct __sk_buff, napi_id)),
/linux-6.1.9/fs/
Deventpoll.c222 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/
Dxdp.c167 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()
Ddev.c168 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/
Dethernet-rx.c48 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/
Dice_base.c507 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()
Dice_txrx.c516 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/
Daq_vec.c152 self->napi.napi_id) < 0) { in aq_vec_ring_alloc()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_dp.c300 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/
Dfuneth_rx.c706 irq->napi.napi_id); in fun_rxq_create_dev()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c2000 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/
Dbpf.h5874 __u32 napi_id; member
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Defx_channels.c616 channel->napi_str.napi_id = 0; in efx_copy_channel()
/linux-6.1.9/drivers/net/ethernet/sfc/
Defx_channels.c613 channel->napi_str.napi_id = 0; in efx_copy_channel()
/linux-6.1.9/include/uapi/linux/
Dbpf.h5874 __u32 napi_id; member
/linux-6.1.9/include/linux/
Dskbuff.h1006 unsigned int napi_id;
1183 return skb->napi_id; in skb_napi_id()
Dnetdevice.h367 unsigned int napi_id; member
3055 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
/linux-6.1.9/drivers/net/
Dveth.c1075 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/
Dnetsec.c1315 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/
Dmana_en.c1738 cq->napi.napi_id)); in mana_create_rxq()

12