Home
last modified time | relevance | path

Searched refs:napi_weight (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet.h129 int napi_weight; /* NAPI weight */ member
H A Dfs_enet-main.c938 fpi->napi_weight = 17; in fs_enet_probe()
1019 fpi->napi_weight); in fs_enet_probe()
/openbmc/linux/drivers/net/
H A Dvirtio_net.c27 static int napi_weight = NAPI_POLL_WEIGHT; variable
28 module_param(napi_weight, int, 0444);
3429 int ret, queue_number, napi_weight; in virtnet_set_coalesce() local
3433 napi_weight = ec->tx_max_coalesced_frames ? NAPI_POLL_WEIGHT : 0; in virtnet_set_coalesce()
3435 ret = virtnet_should_update_vq_weight(dev->flags, napi_weight, in virtnet_set_coalesce()
3459 vi->sq[queue_number].napi.weight = napi_weight; in virtnet_set_coalesce()
3492 int ret, napi_weight; in virtnet_set_per_queue_coalesce() local
3499 napi_weight = ec->tx_max_coalesced_frames ? NAPI_POLL_WEIGHT : 0; in virtnet_set_per_queue_coalesce()
3500 ret = virtnet_should_update_vq_weight(dev->flags, napi_weight, in virtnet_set_per_queue_coalesce()
3515 vi->sq[queue].napi.weight = napi_weight; in virtnet_set_per_queue_coalesce()
[all …]