Lines Matching refs:napi_id
46 void napi_busy_loop(unsigned int napi_id,
107 unsigned int napi_id = READ_ONCE(sk->sk_napi_id); in sk_busy_loop() local
109 if (napi_id >= MIN_NAPI_ID) in sk_busy_loop()
110 napi_busy_loop(napi_id, nonblock ? NULL : sk_busy_loop_end, sk, in sk_busy_loop()
124 if (skb->napi_id < MIN_NAPI_ID) in skb_mark_napi_id()
125 skb->napi_id = napi->napi_id; in skb_mark_napi_id()
133 if (unlikely(READ_ONCE(sk->sk_napi_id) != skb->napi_id)) in sk_mark_napi_id()
134 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id()
147 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id_set()
152 static inline void __sk_mark_napi_id_once(struct sock *sk, unsigned int napi_id) in __sk_mark_napi_id_once() argument
156 WRITE_ONCE(sk->sk_napi_id, napi_id); in __sk_mark_napi_id_once()
165 __sk_mark_napi_id_once(sk, skb->napi_id); in sk_mark_napi_id_once()
173 __sk_mark_napi_id_once(sk, xdp->rxq->napi_id); in sk_mark_napi_id_once_xdp()