Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/net/
A 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()
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()
156 WRITE_ONCE(sk->sk_napi_id, napi_id); in __sk_mark_napi_id_once()
165 __sk_mark_napi_id_once(sk, skb->napi_id); in sk_mark_napi_id_once()
[all …]
A Dxdp.h65 unsigned int napi_id; member
365 unsigned int napi_id, u32 frag_size);
369 unsigned int napi_id) in xdp_rxq_info_reg() argument
371 return __xdp_rxq_info_reg(xdp_rxq, dev, queue_index, napi_id, 0); in xdp_rxq_info_reg()
A Dxdp_sock_drv.h53 return pool->heads[0].xdp.rxq->napi_id; in xsk_pool_get_napi_id()
/linux-6.3-rc2/include/trace/events/
A 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.3-rc2/tools/testing/selftests/bpf/verifier/
A Dcgroup_skb.c71 offsetof(struct __sk_buff, napi_id)),
163 offsetof(struct __sk_buff, napi_id)),
165 offsetof(struct __sk_buff, napi_id)),
A Dctx_skb.c26 offsetof(struct __sk_buff, napi_id)),
/linux-6.3-rc2/fs/
A 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.3-rc2/net/core/
A Dxdp.c169 unsigned int napi_id, u32 frag_size) in __xdp_rxq_info_reg() argument
190 xdp_rxq->napi_id = napi_id; in __xdp_rxq_info_reg()
A 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()
1374 n->dev->name, n->napi_id); in napi_kthread_create()
6093 unsigned int hash = napi_id % HASH_SIZE(napi_hash); in napi_by_id()
6097 if (napi->napi_id == napi_id) in napi_by_id()
6169 void napi_busy_loop(unsigned int napi_id, in napi_busy_loop() argument
6183 napi = napi_by_id(napi_id); in napi_busy_loop()
6260 napi->napi_id = napi_gen_id; in napi_hash_add()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_xdp.c133 lan966x->napi.napi_id); in lan966x_xdp_port_init()
/linux-6.3-rc2/drivers/staging/octeon/
A 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.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_base.c505 ring->q_vector->napi.napi_id, in ice_vsi_cfg_rxq()
529 ring->q_vector->napi.napi_id, in ice_vsi_cfg_rxq()
A Dice_txrx.c519 rx_ring->q_index, rx_ring->q_vector->napi.napi_id)) in ice_setup_rx_ring()
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A Daq_vec.c152 self->napi.napi_id) < 0) { in aq_vec_ring_alloc()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_dp.c300 rx_ring->idx, rx_ring->r_vec->napi.napi_id); in nfp_net_rx_ring_alloc()
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/
A Dfuneth_rx.c706 irq->napi.napi_id); in fun_rxq_create_dev()
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_main.c2004 unsigned int napi_id; in __alloc_dma_rx_desc_resources() local
2054 napi_id = ch->rxtx_napi.napi_id; in __alloc_dma_rx_desc_resources()
2056 napi_id = ch->rx_napi.napi_id; in __alloc_dma_rx_desc_resources()
2060 napi_id); in __alloc_dma_rx_desc_resources()
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Defx_channels.c616 channel->napi_str.napi_id = 0; in efx_copy_channel()
/linux-6.3-rc2/include/uapi/linux/
A Dbpf.h5952 __u32 napi_id; member
/linux-6.3-rc2/tools/include/uapi/linux/
A Dbpf.h5952 __u32 napi_id; member
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Defx_channels.c613 channel->napi_str.napi_id = 0; in efx_copy_channel()
/linux-6.3-rc2/include/linux/
A Dnetdevice.h370 unsigned int napi_id; member
3091 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
A Dskbuff.h1017 unsigned int napi_id;
1192 return skb->napi_id; in skb_napi_id()
/linux-6.3-rc2/drivers/net/
A Dveth.c1084 err = xdp_rxq_info_reg(&rq->xdp_rxq, dev, i, rq->xdp_napi.napi_id); in veth_enable_xdp_range()
/linux-6.3-rc2/drivers/net/ethernet/socionext/
A Dnetsec.c1315 err = xdp_rxq_info_reg(&dring->xdp_rxq, priv->ndev, 0, priv->napi.napi_id); in netsec_setup_rx_dring()

Completed in 139 milliseconds

12