Lines Matching defs:weight
4453 int weight_p __read_mostly = 64; /* old backlog weight */
4454 int dev_weight_rx_bias __read_mostly = 1; /* bias for backlog weight */
5991 napi->weight = READ_ONCE(dev_rx_weight);
6430 int (*poll)(struct napi_struct *, int), int weight)
6444 if (weight > NAPI_POLL_WEIGHT)
6445 netdev_err_once(dev, "%s() called with weight %d\n", __func__,
6446 weight);
6447 napi->weight = weight;
6547 int work, weight;
6549 weight = n->weight;
6559 work = n->poll(n, weight);
6560 trace_napi_poll(n, work, weight);
6563 if (unlikely(work > weight))
6565 n->poll, work, weight);
6567 if (likely(work < weight))
6571 * consume the entire weight. In such cases this code
11626 sd->backlog.weight = weight_p;