Lines Matching defs:weight
4275 int weight_p __read_mostly = 64; /* old backlog weight */
4276 int dev_weight_rx_bias __read_mostly = 1; /* bias for backlog weight */
6390 napi->weight = READ_ONCE(dev_rx_weight);
6755 int (*poll)(struct napi_struct *, int), int weight)
6769 if (weight > NAPI_POLL_WEIGHT)
6770 netdev_err_once(dev, "%s() called with weight %d\n", __func__,
6771 weight);
6772 napi->weight = weight;
6831 int work, weight;
6837 weight = n->weight;
6847 work = n->poll(n, weight);
6848 trace_napi_poll(n, work, weight);
6851 if (unlikely(work > weight))
6853 n->poll, work, weight);
6855 if (likely(work < weight))
6859 * consume the entire weight. In such cases this code
11317 sd->backlog.weight = weight_p;