Lines Matching full:bandwidth
34 * This node permits simple traffic shaping by emulating bandwidth
110 if (hinfo->cfg.wfq && hinfo->cfg.bandwidth) { \
113 8000000 / hinfo->cfg.bandwidth; \
360 if (cfg->upstream.bandwidth == in ngp_rcvmsg()
361 cfg->downstream.bandwidth) { in ngp_rcvmsg()
362 cfg->bandwidth = cfg->upstream.bandwidth; in ngp_rcvmsg()
363 cfg->upstream.bandwidth = 0; in ngp_rcvmsg()
364 cfg->downstream.bandwidth = 0; in ngp_rcvmsg()
366 cfg->bandwidth = 0; in ngp_rcvmsg()
380 if (cfg->bandwidth == -1) { in ngp_rcvmsg()
381 priv->upper.cfg.bandwidth = 0; in ngp_rcvmsg()
382 priv->lower.cfg.bandwidth = 0; in ngp_rcvmsg()
384 } else if (cfg->bandwidth >= 100 && in ngp_rcvmsg()
385 cfg->bandwidth <= 1000000000) { in ngp_rcvmsg()
386 priv->upper.cfg.bandwidth = cfg->bandwidth; in ngp_rcvmsg()
387 priv->lower.cfg.bandwidth = cfg->bandwidth; in ngp_rcvmsg()
388 if (cfg->bandwidth >= 10000000) in ngp_rcvmsg()
543 if (new->bandwidth == -1) { in parse_cfg()
544 current->bandwidth = 0; in parse_cfg()
548 } else if (new->bandwidth >= 100 && new->bandwidth <= 1000000000) in parse_cfg()
549 current->bandwidth = new->bandwidth; in parse_cfg()
551 if (current->bandwidth | priv->delay | in parse_cfg()
602 * bandwidth, delay, BER or duplication probability is in ngp_rcvdata()
725 * 1) Try to extract the frame from the inbound (bandwidth) queue;
729 * 4) Loop to 2) until bandwidth quota for this timeslice is reached, or
753 /* Bandwidth queue processing */ in pipe_dequeue()
806 if (hinfo->cfg.bandwidth) { in pipe_dequeue()
809 8000000 / hinfo->cfg.bandwidth; in pipe_dequeue()