/linux-6.3-rc2/include/net/ |
A 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() 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 D | xdp.h | 65 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 D | xdp_sock_drv.h | 53 return pool->heads[0].xdp.rxq->napi_id; in xsk_pool_get_napi_id()
|
/linux-6.3-rc2/include/trace/events/ |
A 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.3-rc2/tools/testing/selftests/bpf/verifier/ |
A 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)),
|
A D | ctx_skb.c | 26 offsetof(struct __sk_buff, napi_id)),
|
/linux-6.3-rc2/fs/ |
A 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.3-rc2/net/core/ |
A D | xdp.c | 169 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 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() 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 D | lan966x_xdp.c | 133 lan966x->napi.napi_id); in lan966x_xdp_port_init()
|
/linux-6.3-rc2/drivers/staging/octeon/ |
A 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.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_base.c | 505 ring->q_vector->napi.napi_id, in ice_vsi_cfg_rxq() 529 ring->q_vector->napi.napi_id, in ice_vsi_cfg_rxq()
|
A D | ice_txrx.c | 519 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 D | aq_vec.c | 152 self->napi.napi_id) < 0) { in aq_vec_ring_alloc()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_dp.c | 300 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 D | funeth_rx.c | 706 irq->napi.napi_id); in fun_rxq_create_dev()
|
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_main.c | 2004 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 D | efx_channels.c | 616 channel->napi_str.napi_id = 0; in efx_copy_channel()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | bpf.h | 5952 __u32 napi_id; member
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | bpf.h | 5952 __u32 napi_id; member
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | efx_channels.c | 613 channel->napi_str.napi_id = 0; in efx_copy_channel()
|
/linux-6.3-rc2/include/linux/ |
A D | netdevice.h | 370 unsigned int napi_id; member 3091 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
|
A D | skbuff.h | 1017 unsigned int napi_id; 1192 return skb->napi_id; in skb_napi_id()
|
/linux-6.3-rc2/drivers/net/ |
A D | veth.c | 1084 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 D | netsec.c | 1315 err = xdp_rxq_info_reg(&dring->xdp_rxq, priv->ndev, 0, priv->napi.napi_id); in netsec_setup_rx_dring()
|