Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/
H A 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()
/OK3568_Linux_fs/kernel/include/trace/events/
H 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,
/OK3568_Linux_fs/kernel/fs/
H A Deventpoll.c228 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/verifier/
H A Dcgroup_skb.c71 offsetof(struct __sk_buff, napi_id)),
163 offsetof(struct __sk_buff, napi_id)),
165 offsetof(struct __sk_buff, napi_id)),
H A Dctx_skb.c26 offsetof(struct __sk_buff, napi_id)),
/OK3568_Linux_fs/kernel/drivers/staging/octeon/
H 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()
/OK3568_Linux_fs/kernel/net/core/
H A Ddev.c170 static struct napi_struct *napi_by_id(unsigned int napi_id);
1007 struct net_device *dev_get_by_napi_id(unsigned int napi_id) in dev_get_by_napi_id() argument
1013 if (napi_id < MIN_NAPI_ID) in dev_get_by_napi_id()
1016 napi = napi_by_id(napi_id); in dev_get_by_napi_id()
6558 static struct napi_struct *napi_by_id(unsigned int napi_id) in napi_by_id() argument
6560 unsigned int hash = napi_id % HASH_SIZE(napi_hash); in napi_by_id()
6564 if (napi->napi_id == napi_id) in napi_by_id()
6612 void napi_busy_loop(unsigned int napi_id, in napi_busy_loop() argument
6626 napi = napi_by_id(napi_id); in napi_busy_loop()
6697 napi->napi_id = napi_gen_id; in napi_hash_add()
[all …]
H A Dfilter.c8496 case offsetof(struct __sk_buff, napi_id): in bpf_convert_ctx_access()
8499 bpf_target_off(struct sk_buff, napi_id, 4, in bpf_convert_ctx_access()
H A Dskbuff.c977 CHECK_SKB_FIELD(napi_id); in __copy_skb_header()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dbpf.h2463 __u32 napi_id; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dbpf.h2463 __u32 napi_id; member
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h4101 __u32 napi_id; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h4101 __u32 napi_id; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Defx_channels.c595 channel->napi_str.napi_id = 0; in efx_copy_channel()
/OK3568_Linux_fs/kernel/include/linux/
H A Dskbuff.h885 unsigned int napi_id; member
1052 return skb->napi_id; in skb_napi_id()
H A Dnetdevice.h353 unsigned int napi_id; member
2944 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/
H A Defx.c473 channel->napi_str.napi_id = 0; in ef4_copy_channel()