Lines Matching defs:weight
52 * at once, the weight is chosen so that the EWMA will be insensitive to short-
466 if (napi->weight)
810 bool use_napi = sq->napi.weight;
2033 if (!napi->weight)
2040 napi->weight = 0;
2049 if (napi->weight)
2132 if (!sq->napi.weight || is_xdp_raw_buffer_queue(vi, index))
2348 bool use_napi = sq->napi.weight;
3381 static int virtnet_should_update_vq_weight(int dev_flags, int weight,
3384 if (weight ^ vq_weight) {
3402 /* Can't change NAPI weight if the link is up */
3406 vi->sq[queue_number].napi.weight,
3429 vi->sq[queue_number].napi.weight = napi_weight;
3450 if (vi->sq[0].napi.weight)
3468 /* Can't change NAPI weight if the link is up */
3471 vi->sq[queue].napi.weight,
3485 vi->sq[queue].napi.weight = napi_weight;
3507 if (vi->sq[queue].napi.weight)