Home
last modified time | relevance | path

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

12

/Linux-v5.15/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 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id()
138 static inline void __sk_mark_napi_id_once(struct sock *sk, unsigned int napi_id) in __sk_mark_napi_id_once() argument
142 WRITE_ONCE(sk->sk_napi_id, napi_id); in __sk_mark_napi_id_once()
151 __sk_mark_napi_id_once(sk, skb->napi_id); in sk_mark_napi_id_once()
[all …]
Dxdp.h62 unsigned int napi_id; member
256 struct net_device *dev, u32 queue_index, unsigned int napi_id);
/Linux-v5.15/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-v5.15/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-v5.15/fs/
Deventpoll.c222 unsigned int napi_id; member
394 unsigned int napi_id = READ_ONCE(ep->napi_id); in ep_busy_loop() local
396 if ((napi_id >= MIN_NAPI_ID) && net_busy_loop_on()) { in ep_busy_loop()
397 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, ep, false, in ep_busy_loop()
406 ep->napi_id = 0; in ep_busy_loop()
418 unsigned int napi_id; in ep_set_busy_poll_napi_id() local
433 napi_id = READ_ONCE(sk->sk_napi_id); in ep_set_busy_poll_napi_id()
440 if (napi_id < MIN_NAPI_ID || napi_id == ep->napi_id) in ep_set_busy_poll_napi_id()
444 ep->napi_id = napi_id; in ep_set_busy_poll_napi_id()
/Linux-v5.15/net/core/
Dxdp.c162 struct net_device *dev, u32 queue_index, unsigned int napi_id) in xdp_rxq_info_reg() argument
183 xdp_rxq->napi_id = napi_id; in xdp_rxq_info_reg()
Ddev.c173 static struct napi_struct *napi_by_id(unsigned int napi_id);
923 struct net_device *dev_get_by_napi_id(unsigned int napi_id) in dev_get_by_napi_id() argument
929 if (napi_id < MIN_NAPI_ID) in dev_get_by_napi_id()
932 napi = napi_by_id(napi_id); in dev_get_by_napi_id()
1442 n->dev->name, n->napi_id); in napi_kthread_create()
6608 static struct napi_struct *napi_by_id(unsigned int napi_id) in napi_by_id() argument
6610 unsigned int hash = napi_id % HASH_SIZE(napi_hash); in napi_by_id()
6614 if (napi->napi_id == napi_id) in napi_by_id()
6686 void napi_busy_loop(unsigned int napi_id, in napi_busy_loop() argument
6700 napi = napi_by_id(napi_id); in napi_busy_loop()
[all …]
Dfilter.c8725 case offsetof(struct __sk_buff, napi_id): in bpf_convert_ctx_access()
8728 bpf_target_off(struct sk_buff, napi_id, 4, in bpf_convert_ctx_access()
Dskbuff.c1039 CHECK_SKB_FIELD(napi_id); in __copy_skb_header()
/Linux-v5.15/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-v5.15/drivers/net/ethernet/intel/ice/
Dice_base.c454 ring->q_index, ring->q_vector->napi.napi_id); in ice_vsi_cfg_rxq()
476 ring->q_index, ring->q_vector->napi.napi_id); in ice_vsi_cfg_rxq()
Dice_txrx.c491 rx_ring->q_index, rx_ring->q_vector->napi.napi_id)) in ice_setup_rx_ring()
/Linux-v5.15/tools/include/uapi/linux/
Dbpf.h5268 __u32 napi_id; member
/Linux-v5.15/include/uapi/linux/
Dbpf.h5268 __u32 napi_id; member
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c1970 unsigned int napi_id; in __alloc_dma_rx_desc_resources() local
2020 napi_id = ch->rxtx_napi.napi_id; in __alloc_dma_rx_desc_resources()
2022 napi_id = ch->rx_napi.napi_id; in __alloc_dma_rx_desc_resources()
2026 napi_id); in __alloc_dma_rx_desc_resources()
/Linux-v5.15/drivers/net/ethernet/sfc/
Defx_channels.c614 channel->napi_str.napi_id = 0; in efx_copy_channel()
/Linux-v5.15/include/linux/
Dskbuff.h894 unsigned int napi_id; member
1050 return skb->napi_id; in skb_napi_id()
Dnetdevice.h342 unsigned int napi_id; member
3004 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
/Linux-v5.15/drivers/net/
Dveth.c1010 err = xdp_rxq_info_reg(&rq->xdp_rxq, dev, i, rq->xdp_napi.napi_id); in veth_enable_xdp_range()
Dvirtio_net.c1569 err = xdp_rxq_info_reg(&vi->rq[i].xdp_rxq, dev, i, vi->rq[i].napi.napi_id); in virtnet_open()
/Linux-v5.15/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-v5.15/drivers/net/ethernet/sfc/falcon/
Defx.c473 channel->napi_str.napi_id = 0; in ef4_copy_channel()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1604 rx_ring->queue_index, rx_ring->q_vector->napi.napi_id); in i40e_setup_rx_descriptors()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c2570 rx_ring->idx, rx_ring->r_vec->napi.napi_id); in nfp_net_rx_ring_alloc()

12