Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/
Dbusy_poll.h44 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/
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.4/fs/
Deventpoll.c226 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/
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.4/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.4/net/core/
Ddev.c166 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 …]
Dfilter.c7411 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()
Dskbuff.c966 CHECK_SKB_FIELD(napi_id); in __copy_skb_header()
/Linux-v5.4/include/uapi/linux/
Dbpf.h2990 __u32 napi_id; member
/Linux-v5.4/tools/include/uapi/linux/
Dbpf.h2990 __u32 napi_id; member
/Linux-v5.4/include/linux/
Dskbuff.h844 unsigned int napi_id; member
994 return skb->napi_id; in skb_napi_id()
Dnetdevice.h340 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/
Defx.c473 channel->napi_str.napi_id = 0; in ef4_copy_channel()
/Linux-v5.4/drivers/net/ethernet/sfc/
Defx.c513 channel->napi_str.napi_id = 0; in efx_copy_channel()