Searched refs:napi (Results 1 - 25 of 563) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/sunplus/
H A Dspl2sw_int.h9 int spl2sw_rx_poll(struct napi_struct *napi, int budget);
10 int spl2sw_tx_poll(struct napi_struct *napi, int budget);
/linux-master/include/trace/events/
H A Dnapi.h3 #define TRACE_SYSTEM napi
16 TP_PROTO(struct napi_struct *napi, int work, int budget),
18 TP_ARGS(napi, work, budget),
21 __field( struct napi_struct *, napi)
22 __string( dev_name, napi->dev ? napi->dev->name : NO_DEV)
28 __entry->napi = napi;
29 __assign_str(dev_name, napi->dev ? napi
[all...]
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.h12 int ionic_rx_napi(struct napi_struct *napi, int budget);
13 int ionic_tx_napi(struct napi_struct *napi, int budget);
14 int ionic_txrx_napi(struct napi_struct *napi, int budget);
/linux-master/net/core/
H A Dgro_cells.c10 struct napi_struct napi; member in struct:gro_cell
40 napi_schedule(&cell->napi);
51 static int gro_cell_poll(struct napi_struct *napi, int budget) argument
53 struct gro_cell *cell = container_of(napi, struct gro_cell, napi);
61 napi_gro_receive(napi, skb);
66 napi_complete_done(napi, work_done);
83 set_bit(NAPI_STATE_NO_BUSY_POLL, &cell->napi.state);
85 netif_napi_add(dev, &cell->napi, gro_cell_poll);
86 napi_enable(&cell->napi);
[all...]
H A Dgro.c234 static void napi_gro_complete(struct napi_struct *napi, struct sk_buff *skb) argument
267 gro_normal_one(napi, skb, NAPI_GRO_CB(skb)->count);
270 static void __napi_gro_flush_chain(struct napi_struct *napi, u32 index, argument
273 struct list_head *head = &napi->gro_hash[index].list;
280 napi_gro_complete(napi, skb);
281 napi->gro_hash[index].count--;
284 if (!napi->gro_hash[index].count)
285 __clear_bit(index, &napi->gro_bitmask);
288 /* napi->gro_hash[].list contains packets ordered by age.
292 void napi_gro_flush(struct napi_struct *napi, boo argument
422 gro_flush_oldest(struct napi_struct *napi, struct list_head *head) argument
441 dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb) argument
577 napi_skb_finish(struct napi_struct *napi, struct sk_buff *skb, gro_result_t ret) argument
604 napi_gro_receive(struct napi_struct *napi, struct sk_buff *skb) argument
620 napi_reuse_skb(struct napi_struct *napi, struct sk_buff *skb) argument
649 napi_get_frags(struct napi_struct *napi) argument
664 napi_frags_finish(struct napi_struct *napi, struct sk_buff *skb, gro_result_t ret) argument
696 napi_frags_skb(struct napi_struct *napi) argument
736 napi_gro_frags(struct napi_struct *napi) argument
[all...]
H A Dnetdev-genl.c160 netdev_nl_napi_fill_one(struct sk_buff *rsp, struct napi_struct *napi, argument
166 if (WARN_ON_ONCE(!napi->dev))
168 if (!(napi->dev->flags & IFF_UP))
175 if (napi->napi_id >= MIN_NAPI_ID &&
176 nla_put_u32(rsp, NETDEV_A_NAPI_ID, napi->napi_id))
179 if (nla_put_u32(rsp, NETDEV_A_NAPI_IFINDEX, napi->dev->ifindex))
182 if (napi->irq >= 0 && nla_put_u32(rsp, NETDEV_A_NAPI_IRQ, napi->irq))
185 if (napi->thread) {
186 pid = task_pid_nr(napi
202 struct napi_struct *napi; local
241 struct napi_struct *napi; local
[all...]
/linux-master/include/linux/
H A Dnetpoll.h70 static inline void *netpoll_poll_lock(struct napi_struct *napi) argument
72 struct net_device *dev = napi->dev;
77 while (cmpxchg(&napi->poll_owner, -1, owner) != -1)
80 return napi;
87 struct napi_struct *napi = have; local
89 if (napi)
90 smp_store_release(&napi->poll_owner, -1);
99 static inline void *netpoll_poll_lock(struct napi_struct *napi) argument
/linux-master/drivers/infiniband/hw/hfi1/
H A Dipoib_rx.c22 static struct sk_buff *prepare_frag_skb(struct napi_struct *napi, int size) argument
33 return napi_alloc_skb(napi, size);
49 struct napi_struct *napi = &rxq->napi; local
55 * napi cache. Otherwise we will try to use napi frag cache.
58 skb = napi_alloc_skb(napi, skb_size);
60 skb = prepare_frag_skb(napi, skb_size);
H A Dnetdev.h18 * @napi: napi object
23 struct napi_struct napi; member in struct:hfi1_netdev_rxq
58 /* count of enabled napi polls */
103 int hfi1_netdev_rx_napi(struct napi_struct *napi, int budget);
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_xdp.c49 struct napi_struct *napi; local
78 /* Rx and Tx rings share the same napi context. */
79 napi = &rx_ring->q_vector->napi;
84 napi_disable(napi);
91 napi_enable(napi);
109 struct napi_struct *napi; local
124 /* Rx and Tx rings share the same napi context. */
125 napi = &rx_ring->q_vector->napi;
[all...]
/linux-master/drivers/net/wireless/ath/ath12k/
H A Ddp_mon.h81 struct napi_struct *napi);
87 struct napi_struct *napi);
89 struct napi_struct *napi, int budget,
101 struct napi_struct *napi,
105 struct napi_struct *napi, int *budget);
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-op-mode.h95 void (*rx)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
97 void (*rx_rss)(struct iwl_op_mode *op_mode, struct napi_struct *napi,
134 struct napi_struct *napi,
137 return op_mode->ops->rx(op_mode, napi, rxb);
141 struct napi_struct *napi,
145 op_mode->ops->rx_rss(op_mode, napi, rxb, queue);
133 iwl_op_mode_rx(struct iwl_op_mode *op_mode, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb) argument
140 iwl_op_mode_rx_rss(struct iwl_op_mode *op_mode, struct napi_struct *napi, struct iwl_rx_cmd_buffer *rxb, unsigned int queue) argument
/linux-master/drivers/net/ethernet/google/gve/
H A Dgve_utils.c67 struct sk_buff *gve_rx_copy_data(struct net_device *dev, struct napi_struct *napi, argument
72 skb = napi_alloc_skb(napi, len);
83 struct sk_buff *gve_rx_copy(struct net_device *dev, struct napi_struct *napi, argument
89 return gve_rx_copy_data(dev, napi, va, len);
113 netif_napi_add(priv->dev, &block->napi, gve_poll);
120 netif_napi_del(&block->napi);
H A Dgve_utils.h22 struct sk_buff *gve_rx_copy_data(struct net_device *dev, struct napi_struct *napi,
25 struct sk_buff *gve_rx_copy(struct net_device *dev, struct napi_struct *napi,
/linux-master/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.h69 struct napi_struct *napi, int budget);
70 int ath11k_dp_process_rx_err(struct ath11k_base *ab, struct napi_struct *napi,
73 struct napi_struct *napi,
84 struct napi_struct *napi, int budget);
86 struct napi_struct *napi, int budget);
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_vec.c21 struct napi_struct napi; member in struct:aq_vec_s
28 static int aq_vec_poll(struct napi_struct *napi, int budget) argument
30 struct aq_vec_s *self = container_of(napi, struct aq_vec_s, napi);
68 napi,
93 napi_complete_done(napi, work_done);
122 netif_napi_add(aq_nic_get_ndev(aq_nic), &self->napi, aq_vec_poll);
151 self->napi.napi_id) < 0) {
245 napi_enable(&self->napi);
265 napi_disable(&self->napi);
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtrap.c8 static int mlx5e_trap_napi_poll(struct napi_struct *napi, int budget) argument
10 struct mlx5e_trap *trap_ctx = container_of(napi, struct mlx5e_trap, napi);
29 if (unlikely(!napi_complete_done(napi, work_done)))
77 ccp.napi = &t->napi;
152 netif_napi_add(netdev, &t->napi, mlx5e_trap_napi_poll);
167 netif_napi_del(&t->napi);
176 netif_napi_del(&trap->napi);
182 napi_enable(&trap->napi);
[all...]
H A Dtrap.h14 struct napi_struct napi; member in struct:mlx5e_trap
19 /* data path - accessed per napi poll */
/linux-master/io_uring/
H A Dnapi.c4 #include "napi.h"
161 /* Singular lists use a different napi loop end check function and are
177 * io_napi_init() - Init napi settings
180 * Init napi settings in the io-uring context.
191 * io_napi_free() - Deallocate napi
194 * Free the napi list and the hash table in the io-uring context.
211 * io_napi_register() - Register napi with io-uring
215 * Register napi in the io-uring context.
223 struct io_uring_napi napi; local
225 if (copy_from_user(&napi, ar
[all...]
/linux-master/drivers/net/ethernet/
H A Dlantiq_xrx200.c64 struct napi_struct napi; member in struct:xrx200_chan
151 napi_enable(&priv->chan_tx.napi);
155 napi_enable(&priv->chan_rx.napi);
178 napi_disable(&priv->chan_rx.napi);
181 napi_disable(&priv->chan_tx.napi);
283 static int xrx200_poll_rx(struct napi_struct *napi, int budget) argument
285 struct xrx200_chan *ch = container_of(napi,
286 struct xrx200_chan, napi);
306 if (napi_complete_done(&ch->napi, rx))
313 static int xrx200_tx_housekeeping(struct napi_struct *napi, in argument
[all...]
/linux-master/tools/perf/scripts/python/bin/
H A Dnetdev-times-record5 -e skb:skb_copy_datagram_iovec -e napi:napi_poll \
/linux-master/include/linux/can/
H A Drx-offload.h29 struct napi_struct napi; member in struct:can_rx_offload
62 napi_disable(&offload->napi);
/linux-master/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dpci_mac.c91 napi_disable(&dev->mt76.napi[MT_RXQ_MAIN]);
93 napi_disable(&dev->mt76.napi[MT_RXQ_MCU]);
95 napi_disable(&dev->mt76.napi[MT_RXQ_MCU_WA]);
106 napi_enable(&dev->mt76.napi[i]);
107 napi_schedule(&dev->mt76.napi[i]);
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dpci_mac.c75 napi_disable(&dev->mt76.napi[MT_RXQ_MAIN]);
76 napi_disable(&dev->mt76.napi[MT_RXQ_MCU]);
77 napi_disable(&dev->mt76.napi[MT_RXQ_MCU_WA]);
87 napi_enable(&dev->mt76.napi[i]);
88 napi_schedule(&dev->mt76.napi[i]);
/linux-master/drivers/net/can/dev/
H A Drx-offload.c42 static int can_rx_offload_napi_poll(struct napi_struct *napi, int quota) argument
44 struct can_rx_offload *offload = container_of(napi,
46 napi);
66 napi_complete_done(napi, work_done);
70 napi_schedule(&offload->napi);
325 napi_schedule(&offload->napi);
347 napi_schedule(&offload->napi);
364 netif_napi_add_weight(dev, &offload->napi, can_rx_offload_napi_poll,
417 napi_enable(&offload->napi);
423 netif_napi_del(&offload->napi);
[all...]

Completed in 218 milliseconds

1234567891011>>