Searched refs:NAPI_POLL_WEIGHT (Results 1 – 18 of 18) sorted by relevance
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_priv.c | 368 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 D | nicvf_queues.h | 77 #define CMP_QUEUE_CQE_THRESH (NAPI_POLL_WEIGHT / 2)
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 1471 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 D | gve_tx.c | 403 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 D | otx2_ethtool.c | 543 1, NAPI_POLL_WEIGHT); in otx2_set_coalesce() 545 1, NAPI_POLL_WEIGHT); in otx2_set_coalesce()
|
H A D | otx2_pf.c | 1771 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 D | mlx4_en.h | 254 #define MLX4_EN_CACHE_SIZE (2 * NAPI_POLL_WEIGHT)
|
/openbmc/linux/drivers/net/can/m_can/ |
H A D | m_can.c | 998 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 D | be.h | 104 #define MAX_RX_POST NAPI_POLL_WEIGHT /* Frags posted at a time */
|
/openbmc/linux/drivers/net/ |
H A D | tun.c | 2004 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 D | virtio_net.c | 27 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 D | netdevice.h | 2627 #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 D | netvsc.c | 1371 if (unlikely(filled > NAPI_POLL_WEIGHT)) { in enq_receive_complete()
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 1174 batch_size = NAPI_POLL_WEIGHT; in bpf_prog_test_run_xdp()
|
/openbmc/linux/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 59 #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 D | lan743x_main.c | 2412 NAPI_POLL_WEIGHT); in lan743x_tx_open()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | pci.c | 743 int budget = NAPI_POLL_WEIGHT; in rtw89_pci_low_power_interrupt_handler()
|
/openbmc/linux/net/core/ |
H A D | dev.c | 6452 if (weight > NAPI_POLL_WEIGHT) in netif_napi_add_weight()
|