Searched refs:NAPI_POLL_WEIGHT (Results 1 – 16 of 16) sorted by relevance
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpsw_priv.c | 384 ch_budget = NAPI_POLL_WEIGHT / cpsw->tx_ch_num; in cpsw_split_res() 399 ch_budget = (consumed_rate * NAPI_POLL_WEIGHT) / max_rate; in cpsw_split_res() 400 ch_budget = (NAPI_POLL_WEIGHT - ch_budget) / in cpsw_split_res() 407 budget = NAPI_POLL_WEIGHT; in cpsw_split_res() 411 txv[i].budget = (ch_rate * NAPI_POLL_WEIGHT) / max_rate; in cpsw_split_res() 437 budget = NAPI_POLL_WEIGHT; in cpsw_split_res()
|
| /linux/drivers/net/ethernet/cavium/thunder/ |
| H A D | nicvf_queues.h | 77 #define CMP_QUEUE_CQE_THRESH (NAPI_POLL_WEIGHT / 2)
|
| /linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
| H A D | pch_gbe_main.c | 1497 thresh = tx_ring->count - NAPI_POLL_WEIGHT; in pch_gbe_clean_tx() 1510 for (j = 0; j < NAPI_POLL_WEIGHT; j++) in pch_gbe_clean_tx() 1516 if (j < NAPI_POLL_WEIGHT) { in pch_gbe_clean_tx() 1575 if (cleaned_count++ == NAPI_POLL_WEIGHT) { in pch_gbe_clean_tx()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 539 1, NAPI_POLL_WEIGHT); in otx2_set_coalesce() 541 1, NAPI_POLL_WEIGHT); in otx2_set_coalesce()
|
| H A D | otx2_pf.c | 1902 pfvf->hw.cq_ecount_wait = (cur_moder.pkts > NAPI_POLL_WEIGHT) ? in otx2_dim_work() 1903 NAPI_POLL_WEIGHT : cur_moder.pkts; in otx2_dim_work()
|
| /linux/include/linux/ |
| H A D | netdevice.h | 2882 #define NAPI_POLL_WEIGHT 64 macro 2911 netif_napi_add_weight(dev, napi, poll, NAPI_POLL_WEIGHT); in netif_napi_add() 2918 netif_napi_add_weight_locked(dev, napi, poll, NAPI_POLL_WEIGHT); in netif_napi_add_locked() 2937 netif_napi_add_weight_locked(dev, napi, poll, NAPI_POLL_WEIGHT); in netif_napi_add_config_locked() 2970 netif_napi_add_tx_weight(dev, napi, poll, NAPI_POLL_WEIGHT); in netif_napi_add_tx()
|
| /linux/kernel/bpf/ |
| H A D | cpumap.c | 401 if (packets >= NAPI_POLL_WEIGHT || empty) { in cpu_map_kthread_run()
|
| /linux/drivers/net/ |
| H A D | tun.c | 2040 if (!more || queue_len > NAPI_POLL_WEIGHT) in tun_get_user() 3720 if (ec->rx_max_coalesced_frames > NAPI_POLL_WEIGHT) in tun_set_coalesce() 3721 tun->rx_batched = NAPI_POLL_WEIGHT; in tun_set_coalesce()
|
| H A D | virtio_net.c | 31 static int napi_weight = NAPI_POLL_WEIGHT; 5398 napi_weight = ec->tx_max_coalesced_frames ? NAPI_POLL_WEIGHT : 0; in virtnet_set_coalesce() 5473 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 D | m_can.c | 1279 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/fs/ |
| H A D | eventpoll.c | 752 if (epoll_params.busy_poll_budget > NAPI_POLL_WEIGHT && in ep_eventpoll_bp_ioctl()
|
| /linux/net/bpf/ |
| H A D | test_run.c | 1361 batch_size = NAPI_POLL_WEIGHT; in bpf_prog_test_run_xdp()
|
| /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
|
| /linux/drivers/net/ethernet/microchip/ |
| H A D | lan743x_main.c | 2326 NAPI_POLL_WEIGHT); in lan743x_tx_open()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | pci.c | 942 int budget = NAPI_POLL_WEIGHT; in rtw89_pci_low_power_interrupt_handler()
|
| /linux/net/core/ |
| H A D | dev.c | 7627 if (weight > NAPI_POLL_WEIGHT) in netif_napi_add_weight_locked()
|