Home
last modified time | relevance | path

Searched refs:NAPI_POLL_WEIGHT (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.h77 #define CMP_QUEUE_CQE_THRESH (NAPI_POLL_WEIGHT / 2)
/linux/include/linux/
H A Dnetdevice.h2839 #define NAPI_POLL_WEIGHT 64 macro
2868 netif_napi_add_weight(dev, napi, poll, NAPI_POLL_WEIGHT); in netif_napi_add()
2875 netif_napi_add_weight_locked(dev, napi, poll, NAPI_POLL_WEIGHT); in netif_napi_add_locked()
2894 netif_napi_add_weight_locked(dev, napi, poll, NAPI_POLL_WEIGHT); in netif_napi_add_config_locked()
2927 netif_napi_add_tx_weight(dev, napi, poll, NAPI_POLL_WEIGHT); in netif_napi_add_tx()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c539 1, NAPI_POLL_WEIGHT); in otx2_set_coalesce()
541 1, NAPI_POLL_WEIGHT); in otx2_set_coalesce()
H A Dotx2_pf.c1905 pfvf->hw.cq_ecount_wait = (cur_moder.pkts > NAPI_POLL_WEIGHT) ? in otx2_dim_work()
1906 NAPI_POLL_WEIGHT : cur_moder.pkts; in otx2_dim_work()
/linux/kernel/bpf/
H A Dcpumap.c401 if (packets >= NAPI_POLL_WEIGHT || empty) { in cpu_map_kthread_run()
/linux/drivers/net/
H A Dtun.c1950 if (!more || queue_len > NAPI_POLL_WEIGHT) in tun_get_user()
3574 if (ec->rx_max_coalesced_frames > NAPI_POLL_WEIGHT) in tun_set_coalesce()
3575 tun->rx_batched = NAPI_POLL_WEIGHT; in tun_set_coalesce()
H A Dvirtio_net.c31 static int napi_weight = NAPI_POLL_WEIGHT;
5378 napi_weight = ec->tx_max_coalesced_frames ? NAPI_POLL_WEIGHT : 0; in virtnet_set_coalesce()
5453 napi_weight = ec->tx_max_coalesced_frames ? NAPI_POLL_WEIGHT : 0; in virtnet_set_per_queue_coalesce()
/linux/drivers/net/can/m_can/
H A Dm_can.c1279 ret = m_can_rx_handler(dev, NAPI_POLL_WEIGHT, ir); in m_can_interrupt_handler()
2538 NAPI_POLL_WEIGHT); in m_can_class_register()
/linux/drivers/net/hyperv/
H A Dnetvsc.c1417 if (unlikely(filled > NAPI_POLL_WEIGHT)) { in enq_receive_complete()
/linux/fs/
H A Deventpoll.c518 if (epoll_params.busy_poll_budget > NAPI_POLL_WEIGHT && in ep_eventpoll_bp_ioctl()
/linux/drivers/net/ethernet/nvidia/
H A Dforcedeth.c59 #define TX_WORK_PER_LOOP NAPI_POLL_WEIGHT
60 #define RX_WORK_PER_LOOP NAPI_POLL_WEIGHT
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c2317 NAPI_POLL_WEIGHT); in lan743x_tx_open()
/linux/net/core/
H A Ddev.c7573 if (weight > NAPI_POLL_WEIGHT) in netif_napi_add_weight_locked()