Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw_priv.c368 ch_budget = NAPI_POLL_WEIGHT / cpsw->tx_ch_num; in cpsw_split_res()
383 ch_budget = (consumed_rate * NAPI_POLL_WEIGHT) / max_rate; in cpsw_split_res()
384 ch_budget = (NAPI_POLL_WEIGHT - ch_budget) / in cpsw_split_res()
391 budget = NAPI_POLL_WEIGHT; in cpsw_split_res()
395 txv[i].budget = (ch_rate * NAPI_POLL_WEIGHT) / max_rate; in cpsw_split_res()
421 budget = NAPI_POLL_WEIGHT; in cpsw_split_res()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.h77 #define CMP_QUEUE_CQE_THRESH (NAPI_POLL_WEIGHT / 2)
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c1471 thresh = tx_ring->count - NAPI_POLL_WEIGHT; in pch_gbe_clean_tx()
1484 for (j = 0; j < NAPI_POLL_WEIGHT; j++) in pch_gbe_clean_tx()
1490 if (j < NAPI_POLL_WEIGHT) { in pch_gbe_clean_tx()
1549 if (cleaned_count++ == NAPI_POLL_WEIGHT) { in pch_gbe_clean_tx()
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx.c403 static_assert(NAPI_POLL_WEIGHT >= MAX_TX_DESC_NEEDED);
428 to_do = min_t(u32, to_do, NAPI_POLL_WEIGHT); in gve_maybe_stop_tx()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c543 1, NAPI_POLL_WEIGHT); in otx2_set_coalesce()
545 1, NAPI_POLL_WEIGHT); in otx2_set_coalesce()
H A Dotx2_pf.c1771 pfvf->hw.cq_ecount_wait = (cur_moder.pkts > NAPI_POLL_WEIGHT) ? in otx2_dim_work()
1772 NAPI_POLL_WEIGHT : cur_moder.pkts; in otx2_dim_work()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h254 #define MLX4_EN_CACHE_SIZE (2 * NAPI_POLL_WEIGHT)
/openbmc/linux/drivers/net/can/m_can/
H A Dm_can.c998 work_done = m_can_rx_handler(dev, NAPI_POLL_WEIGHT, irqstatus); in m_can_rx_peripheral()
2085 NAPI_POLL_WEIGHT); in m_can_class_register()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe.h104 #define MAX_RX_POST NAPI_POLL_WEIGHT /* Frags posted at a time */
/openbmc/linux/drivers/net/
H A Dtun.c2004 if (!more || queue_len > NAPI_POLL_WEIGHT) in tun_get_user()
3645 if (ec->rx_max_coalesced_frames > NAPI_POLL_WEIGHT) in tun_set_coalesce()
3646 tun->rx_batched = NAPI_POLL_WEIGHT; in tun_set_coalesce()
H A Dvirtio_net.c27 static int napi_weight = NAPI_POLL_WEIGHT;
3433 napi_weight = ec->tx_max_coalesced_frames ? NAPI_POLL_WEIGHT : 0; in virtnet_set_coalesce()
3499 napi_weight = ec->tx_max_coalesced_frames ? NAPI_POLL_WEIGHT : 0; in virtnet_set_per_queue_coalesce()
/openbmc/linux/include/linux/
H A Dnetdevice.h2627 #define NAPI_POLL_WEIGHT 64 macro
2645 netif_napi_add_weight(dev, napi, poll, NAPI_POLL_WEIGHT); in netif_napi_add()
2672 netif_napi_add_tx_weight(dev, napi, poll, NAPI_POLL_WEIGHT); in netif_napi_add_tx()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc.c1371 if (unlikely(filled > NAPI_POLL_WEIGHT)) { in enq_receive_complete()
/openbmc/linux/net/bpf/
H A Dtest_run.c1174 batch_size = NAPI_POLL_WEIGHT; in bpf_prog_test_run_xdp()
/openbmc/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
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c2412 NAPI_POLL_WEIGHT); in lan743x_tx_open()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dpci.c743 int budget = NAPI_POLL_WEIGHT; in rtw89_pci_low_power_interrupt_handler()
/openbmc/linux/net/core/
H A Ddev.c6452 if (weight > NAPI_POLL_WEIGHT) in netif_napi_add_weight()