Home
last modified time | relevance | path

Searched refs:napi (Results 1 – 3 of 3) sorted by relevance

/include/trace/events/
Dnapi.h2 #define TRACE_SYSTEM napi
15 TP_PROTO(struct napi_struct *napi),
17 TP_ARGS(napi),
20 __field( struct napi_struct *, napi)
21 __string( dev_name, napi->dev ? napi->dev->name : NO_DEV)
25 __entry->napi = napi;
26 __assign_str(dev_name, napi->dev ? napi->dev->name : NO_DEV);
30 __entry->napi, __get_str(dev_name))
/include/linux/
Dnetpoll.h100 static inline void *netpoll_poll_lock(struct napi_struct *napi) in netpoll_poll_lock() argument
102 struct net_device *dev = napi->dev; in netpoll_poll_lock()
105 spin_lock(&napi->poll_lock); in netpoll_poll_lock()
106 napi->poll_owner = smp_processor_id(); in netpoll_poll_lock()
107 return napi; in netpoll_poll_lock()
114 struct napi_struct *napi = have; in netpoll_poll_unlock() local
116 if (napi) { in netpoll_poll_unlock()
117 napi->poll_owner = -1; in netpoll_poll_unlock()
118 spin_unlock(&napi->poll_lock); in netpoll_poll_unlock()
140 static inline void *netpoll_poll_lock(struct napi_struct *napi) in netpoll_poll_lock() argument
Dnetdevice.h455 static inline bool napi_reschedule(struct napi_struct *napi) in napi_reschedule() argument
457 if (napi_schedule_prep(napi)) { in napi_reschedule()
458 __napi_schedule(napi); in napi_reschedule()
1450 void netif_napi_add(struct net_device *dev, struct napi_struct *napi,
1459 void netif_napi_del(struct napi_struct *napi);
2115 extern gro_result_t dev_gro_receive(struct napi_struct *napi,
2118 extern gro_result_t napi_gro_receive(struct napi_struct *napi,
2120 extern void napi_gro_flush(struct napi_struct *napi);
2121 extern struct sk_buff * napi_get_frags(struct napi_struct *napi);
2122 extern gro_result_t napi_frags_finish(struct napi_struct *napi,
[all …]