/Linux-v5.4/include/net/ |
D | busy_poll.h | 44 void napi_busy_loop(unsigned int napi_id, 105 unsigned int napi_id = READ_ONCE(sk->sk_napi_id); in sk_busy_loop() local 107 if (napi_id >= MIN_NAPI_ID) in sk_busy_loop() 108 napi_busy_loop(napi_id, nonblock ? NULL : sk_busy_loop_end, sk); in sk_busy_loop() 117 skb->napi_id = napi->napi_id; in skb_mark_napi_id() 125 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id() 136 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id_once()
|
/Linux-v5.4/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-v5.4/fs/ |
D | eventpoll.c | 226 unsigned int napi_id; member 400 unsigned int napi_id = READ_ONCE(ep->napi_id); in ep_busy_loop() local 402 if ((napi_id >= MIN_NAPI_ID) && net_busy_loop_on()) in ep_busy_loop() 403 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, ep); in ep_busy_loop() 408 if (ep->napi_id) in ep_reset_busy_poll_napi_id() 409 ep->napi_id = 0; in ep_reset_busy_poll_napi_id() 418 unsigned int napi_id; in ep_set_busy_poll_napi_id() local 434 napi_id = READ_ONCE(sk->sk_napi_id); in ep_set_busy_poll_napi_id() 441 if (napi_id < MIN_NAPI_ID || napi_id == ep->napi_id) in ep_set_busy_poll_napi_id() 445 ep->napi_id = napi_id; in ep_set_busy_poll_napi_id()
|
/Linux-v5.4/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-v5.4/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-v5.4/net/core/ |
D | dev.c | 166 static struct napi_struct *napi_by_id(unsigned int napi_id); 800 struct net_device *dev_get_by_napi_id(unsigned int napi_id) in dev_get_by_napi_id() argument 806 if (napi_id < MIN_NAPI_ID) in dev_get_by_napi_id() 809 napi = napi_by_id(napi_id); in dev_get_by_napi_id() 6031 static struct napi_struct *napi_by_id(unsigned int napi_id) in napi_by_id() argument 6033 unsigned int hash = napi_id % HASH_SIZE(napi_hash); in napi_by_id() 6037 if (napi->napi_id == napi_id) in napi_by_id() 6085 void napi_busy_loop(unsigned int napi_id, in napi_busy_loop() argument 6099 napi = napi_by_id(napi_id); in napi_busy_loop() 6171 napi->napi_id = napi_gen_id; in napi_hash_add() [all …]
|
D | filter.c | 7411 case offsetof(struct __sk_buff, napi_id): in bpf_convert_ctx_access() 7414 bpf_target_off(struct sk_buff, napi_id, 4, in bpf_convert_ctx_access()
|
D | skbuff.c | 966 CHECK_SKB_FIELD(napi_id); in __copy_skb_header()
|
/Linux-v5.4/include/uapi/linux/ |
D | bpf.h | 2990 __u32 napi_id; member
|
/Linux-v5.4/tools/include/uapi/linux/ |
D | bpf.h | 2990 __u32 napi_id; member
|
/Linux-v5.4/include/linux/ |
D | skbuff.h | 844 unsigned int napi_id; member 994 return skb->napi_id; in skb_napi_id()
|
D | netdevice.h | 340 unsigned int napi_id; member 2649 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
|
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/ |
D | efx.c | 473 channel->napi_str.napi_id = 0; in ef4_copy_channel()
|
/Linux-v5.4/drivers/net/ethernet/sfc/ |
D | efx.c | 513 channel->napi_str.napi_id = 0; in efx_copy_channel()
|