Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
120 if (skb->napi_id < MIN_NAPI_ID) in skb_mark_napi_id()
121 skb->napi_id = napi->napi_id; in skb_mark_napi_id()
129 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id()
140 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id_once()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/fs/
Deventpoll.c225 unsigned int napi_id; member
397 unsigned int napi_id = READ_ONCE(ep->napi_id); in ep_busy_loop() local
399 if ((napi_id >= MIN_NAPI_ID) && net_busy_loop_on()) in ep_busy_loop()
400 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, ep); in ep_busy_loop()
405 if (ep->napi_id) in ep_reset_busy_poll_napi_id()
406 ep->napi_id = 0; in ep_reset_busy_poll_napi_id()
415 unsigned int napi_id; in ep_set_busy_poll_napi_id() local
431 napi_id = READ_ONCE(sk->sk_napi_id); in ep_set_busy_poll_napi_id()
438 if (napi_id < MIN_NAPI_ID || napi_id == ep->napi_id) in ep_set_busy_poll_napi_id()
442 ep->napi_id = napi_id; in ep_set_busy_poll_napi_id()
/kernel/linux/linux-5.10/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)),
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbpf.h431 __u32 napi_id; member
/kernel/linux/linux-5.10/net/core/
Ddev.c169 static struct napi_struct *napi_by_id(unsigned int napi_id);
1000 struct net_device *dev_get_by_napi_id(unsigned int napi_id) in dev_get_by_napi_id() argument
1006 if (napi_id < MIN_NAPI_ID) in dev_get_by_napi_id()
1009 napi = napi_by_id(napi_id); in dev_get_by_napi_id()
6560 static struct napi_struct *napi_by_id(unsigned int napi_id) in napi_by_id() argument
6562 unsigned int hash = napi_id % HASH_SIZE(napi_hash); in napi_by_id()
6566 if (napi->napi_id == napi_id) in napi_by_id()
6614 void napi_busy_loop(unsigned int napi_id, in napi_busy_loop() argument
6628 napi = napi_by_id(napi_id); in napi_busy_loop()
6699 napi->napi_id = napi_gen_id; in napi_hash_add()
[all …]
Dfilter.c8526 case offsetof(struct __sk_buff, napi_id): in bpf_convert_ctx_access()
8529 bpf_target_off(struct sk_buff, napi_id, 4, in bpf_convert_ctx_access()
Dskbuff.c974 CHECK_SKB_FIELD(napi_id); in __copy_skb_header()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h580 __u32 napi_id; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h4101 __u32 napi_id; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h4101 __u32 napi_id; member
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Defx_channels.c595 channel->napi_str.napi_id = 0; in efx_copy_channel()
/kernel/linux/linux-5.10/include/linux/
Dskbuff.h884 unsigned int napi_id; member
1038 return skb->napi_id; in skb_napi_id()
Dnetdevice.h358 unsigned int napi_id; member
2912 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Defx.c473 channel->napi_str.napi_id = 0; in ef4_copy_channel()