Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Dbusy_poll.h56 void napi_busy_loop(unsigned int napi_id,
117 unsigned int napi_id = READ_ONCE(sk->sk_napi_id); in sk_busy_loop() local
119 if (napi_id >= MIN_NAPI_ID) in sk_busy_loop()
120 napi_busy_loop(napi_id, nonblock ? NULL : sk_busy_loop_end, sk); in sk_busy_loop()
129 skb->napi_id = napi->napi_id; in skb_mark_napi_id()
137 sk->sk_napi_id = skb->napi_id; in sk_mark_napi_id()
148 sk->sk_napi_id = skb->napi_id; in sk_mark_napi_id_once()
/Linux-v4.19/include/trace/events/
Dnet.h149 __field( unsigned int, napi_id )
172 __entry->napi_id = skb->napi_id;
174 __entry->napi_id = 0;
196 __get_str(name), __entry->napi_id, __entry->queue_mapping,
/Linux-v4.19/fs/
Deventpoll.c230 unsigned int napi_id; member
403 unsigned int napi_id = READ_ONCE(ep->napi_id); in ep_busy_loop() local
405 if ((napi_id >= MIN_NAPI_ID) && net_busy_loop_on()) in ep_busy_loop()
406 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, ep); in ep_busy_loop()
411 if (ep->napi_id) in ep_reset_busy_poll_napi_id()
412 ep->napi_id = 0; in ep_reset_busy_poll_napi_id()
421 unsigned int napi_id; in ep_set_busy_poll_napi_id() local
437 napi_id = READ_ONCE(sk->sk_napi_id); in ep_set_busy_poll_napi_id()
444 if (napi_id < MIN_NAPI_ID || napi_id == ep->napi_id) in ep_set_busy_poll_napi_id()
448 ep->napi_id = napi_id; in ep_set_busy_poll_napi_id()
/Linux-v4.19/drivers/staging/octeon/
Dethernet-rx.c59 static irqreturn_t cvm_oct_do_interrupt(int irq, void *napi_id) in cvm_oct_do_interrupt() argument
63 napi_schedule(napi_id); in cvm_oct_do_interrupt()
/Linux-v4.19/net/core/
Ddev.c165 static struct napi_struct *napi_by_id(unsigned int napi_id);
881 struct net_device *dev_get_by_napi_id(unsigned int napi_id) in dev_get_by_napi_id() argument
887 if (napi_id < MIN_NAPI_ID) in dev_get_by_napi_id()
890 napi = napi_by_id(napi_id); in dev_get_by_napi_id()
5981 static struct napi_struct *napi_by_id(unsigned int napi_id) in napi_by_id() argument
5983 unsigned int hash = napi_id % HASH_SIZE(napi_hash); in napi_by_id()
5987 if (napi->napi_id == napi_id) in napi_by_id()
6026 void napi_busy_loop(unsigned int napi_id, in napi_busy_loop() argument
6040 napi = napi_by_id(napi_id); in napi_busy_loop()
6111 napi->napi_id = napi_gen_id; in napi_hash_add()
[all …]
Dfilter.c5921 case offsetof(struct __sk_buff, napi_id): in bpf_convert_ctx_access()
5924 bpf_target_off(struct sk_buff, napi_id, 4, in bpf_convert_ctx_access()
Dskbuff.c831 CHECK_SKB_FIELD(napi_id); in __copy_skb_header()
/Linux-v4.19/tools/include/uapi/linux/
Dbpf.h2323 __u32 napi_id; member
/Linux-v4.19/include/uapi/linux/
Dbpf.h2323 __u32 napi_id; member
/Linux-v4.19/include/linux/
Dskbuff.h821 unsigned int napi_id; member
956 return skb->napi_id; in skb_napi_id()
Dnetdevice.h341 unsigned int napi_id; member
2619 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Defx.c476 channel->napi_str.napi_id = 0; in ef4_copy_channel()
/Linux-v4.19/drivers/net/ethernet/sfc/
Defx.c516 channel->napi_str.napi_id = 0; in efx_copy_channel()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_verifier.c1342 offsetof(struct __sk_buff, napi_id)),