bandwidth
p->bandwidth = -1;
read_bandwidth(av[0], &p->bandwidth, NULL, 0);
if (p->bandwidth == (uint32_t)-1)
p->bandwidth = 0;
if (p.bandwidth==0) /* this is a WF2Q+ queue */
s = (double)ck.hz * avg_pkt_size * 8 / p.bandwidth;
double b = p->bandwidth;
read_bandwidth(char *arg, uint32_t *bandwidth, char *if_name, int namelen)
if (*bandwidth != (uint32_t)-1)
*bandwidth = 0;
*bandwidth = (uint32_t)bw;
read_bandwidth(arg, &link->bandwidth, buf, sizeof(buf));
queue_opt : BANDWIDTH bandwidth {
bandwidth : STRING {
hfscopts_item : LINKSHARE bandwidth {
| LINKSHARE '(' bandwidth comma NUMBER comma bandwidth ')'
| REALTIME bandwidth {
| REALTIME '(' bandwidth comma NUMBER comma bandwidth ')'
| UPPERLIMIT bandwidth {
| UPPERLIMIT '(' bandwidth comma NUMBER comma bandwidth ')'
fairqopts_item : LINKSHARE bandwidth {
| LINKSHARE '(' bandwidth number bandwidth ')' {
| HOGS bandwidth {
%type <v.queue_bwspec> bandwidth
(opts->lssc_m2 != 0 && (opts->lssc_m2 != a->bandwidth ||
if (opts->lssc_m2 != 0 && (opts->lssc_m2 != a->bandwidth ||
printf("bandwidth %s ", rate2str((double)a->bandwidth));
pa->bandwidth = eval_bwspec(bw,
parent == NULL ? pa->ifbandwidth : parent->pa.bandwidth);
if (pa->bandwidth > pa->ifbandwidth) {
if (pa->bandwidth > parent->pa.bandwidth) {
parent->meta.bwsum += pa->bandwidth;
if (parent->meta.bwsum > parent->pa.bandwidth) {
parent->pa.bandwidth);
parent == NULL ? pa->ifbandwidth : parent->pa.bandwidth))
if (pa->bandwidth == 0)
f = ((double) pa->bandwidth / (double) pa->ifbandwidth);
if (pa->bandwidth != 0 && (pf->opts & PF_OPT_QUIET) == 0) {
opts->lssc_m2 = pa->bandwidth;
opts->lssc_m2 = pa->bandwidth;
(opts->lssc_m2 != 0 && (opts->lssc_m2 != a->bandwidth ||
if (opts->lssc_m2 != 0 && (opts->lssc_m2 != a->bandwidth ||
enum ieee80211_sta_rx_bandwidth bandwidth;
if (old_bw == sta->deflink.bandwidth)
chanctx_conf->def.width = lkpi_rx_bw_to_cw(sta->deflink.bandwidth);
sta->deflink.bandwidth = IEEE80211_STA_RX_BW_40;
sta->deflink.bandwidth = IEEE80211_STA_RX_BW_20;
bw = sta->deflink.bandwidth;
bw = sta->deflink.bandwidth;
sta->deflink.bandwidth = bw;
sta->deflink.bandwidth = IEEE80211_STA_RX_BW_20;
uint32_t bandwidth;
bandwidth = single_lane;
bandwidth = dual_lane;
bandwidth = single_lane + single_lane;
bandwidth = 4 * single_lane;
bandwidth = (2 * single_lane) + (2 * single_lane);
bandwidth = dual_lane + dual_lane;
bandwidth = dual_lane + (2 * single_lane);
bandwidth = 4 * single_lane;
bandwidth = quad_lane;
bandwidth = 2 * dual_lane;
bandwidth = quad_lane + (2 * single_lane);
bandwidth = quad_lane + dual_lane;
bandwidth = quad_lane + quad_lane;
*bandwidth_mbpsp = bandwidth;
uint32_t bandwidth;
pcie_link_gen, &bandwidth);
if (bandwidth < encp->enc_required_pcie_bandwidth_mbps) {
uint32_t bandwidth;
if ((rc = hunt_nic_get_required_pcie_bandwidth(enp, &bandwidth)) != 0)
encp->enc_required_pcie_bandwidth_mbps = bandwidth;
uint32_t bandwidth;
bandwidth = 0;
EFX_PCIE_LINK_SPEED_GEN3, &bandwidth)) != 0)
bandwidth = 40000;
bandwidth = 4 * 10000;
bandwidth = 2 * 10000;
*bandwidth_mbpsp = bandwidth;
rc = medford2_nic_get_required_pcie_bandwidth(enp, &bandwidth);
encp->enc_required_pcie_bandwidth_mbps = bandwidth;
uint32_t bandwidth;
&bandwidth)) != 0)
*bandwidth_mbpsp = bandwidth;
uint32_t bandwidth;
rc = medford_nic_get_required_pcie_bandwidth(enp, &bandwidth);
encp->enc_required_pcie_bandwidth_mbps = bandwidth;
uint32_t bandwidth;
&bandwidth)) != 0)
*bandwidth_mbpsp = bandwidth;
uint32_t bandwidth;
cl = fairq_class_create(pif, a->priority, a->qlimit, a->bandwidth,
u_int bandwidth, struct fairq_opts *opts, int qid)
cl->cl_bandwidth = bandwidth / 8;
if (hinfo->cfg.wfq && hinfo->cfg.bandwidth) { \
8000000 / hinfo->cfg.bandwidth; \
if (cfg->upstream.bandwidth ==
cfg->downstream.bandwidth) {
cfg->bandwidth = cfg->upstream.bandwidth;
cfg->upstream.bandwidth = 0;
cfg->downstream.bandwidth = 0;
cfg->bandwidth = 0;
if (cfg->bandwidth == -1) {
priv->upper.cfg.bandwidth = 0;
priv->lower.cfg.bandwidth = 0;
} else if (cfg->bandwidth >= 100 &&
cfg->bandwidth <= 1000000000) {
priv->upper.cfg.bandwidth = cfg->bandwidth;
priv->lower.cfg.bandwidth = cfg->bandwidth;
if (cfg->bandwidth >= 10000000)
if (new->bandwidth == -1) {
current->bandwidth = 0;
} else if (new->bandwidth >= 100 && new->bandwidth <= 1000000000)
current->bandwidth = new->bandwidth;
if (current->bandwidth | priv->delay |
if (hinfo->cfg.bandwidth) {
8000000 / hinfo->cfg.bandwidth;
u_int64_t bandwidth;
u_int64_t bandwidth;
xmitBytes = (alink->conf.bandwidth * 10 * diff.tv_sec)
+ (alink->conf.bandwidth * (diff.tv_usec / 1000)) / 100;
(100 * alink->bytesInQueue) / alink->conf.bandwidth;
priv->activeLinks[sortByLatency[i]]].conf.bandwidth)
priv->activeLinks[sortByLatency[i]]].conf.bandwidth;
priv->activeLinks[sortByLatency[i]]].conf.bandwidth;
if (link->conf.bandwidth > fastLink->conf.bandwidth) {
link->conf.bandwidth < slowLink->conf.bandwidth)) {
if (priv->links[i].conf.bandwidth == 0)
(hdrBytes / priv->links[i].conf.bandwidth + 50) / 100;
|| link->conf.bandwidth != link0->conf.bandwidth)
if (newConf->links[i].bandwidth == 0)
if (newConf->links[i].bandwidth > NG_PPP_MAX_BANDWIDTH)
u_int32_t bandwidth; /* link bandwidth (in bytes/sec/10) */
uint32_t bandwidth; /* bit/s or bits/tick. */
uint32_t bandwidth; // XXX use link bandwidth?
bits = div64((uint64_t)pf->samples[index] * s->link.bandwidth, 1000);
bw = s->link.bandwidth;
si->credit = V_dn_cfg.io_fast ? p->bandwidth : 0;
uint64_t burst = (V_dn_cfg.curr_time - si->idle_time) * p->bandwidth;
i = fs->sched->link.bandwidth;
if (s->link.bandwidth != p->bandwidth) {
s->link.bandwidth = p->bandwidth;
si->credit = p->burst + (V_dn_cfg.io_fast ? p->bandwidth : 0);
uint32_t bandwidth; /* queue bandwidth */
uint64_t bandwidth; /* queue bandwidth */
uint64_t bandwidth; /* queue bandwidth */
exported_q->bandwidth = SATU32(q->bandwidth);
ASSIGN(bandwidth);
ASSIGN(bandwidth); /* 32-bit -> 64-bit */
ASSIGN(bandwidth);
bandwidth, loss...) the struct _cfg should be added to the array
val->v.uint32 = (e->altq.bandwidth > UINT_MAX) ?
UINT_MAX : (u_int32_t)e->altq.bandwidth;
dl->mp.bandwidth ? dl->mp.bandwidth :
arg->bundle->iface->name, arg->bundle->bandwidth);
bundle->bandwidth = 0;
if ((sp = dl->mp.bandwidth) == 0 &&
bundle->bandwidth += sp;
if (bundle->bandwidth == 0)
bundle->bandwidth = 115200; /* Shrug */
bundle.bandwidth = 0;
u_long bandwidth; /* struct tuninfo speed */
mp->bundle->bandwidth;
mplink->bandwidth = 0;
arg->cx->mp.bandwidth = val;
unsigned bandwidth; /* Our link bandwidth (or zero) */
info.baudrate = bundle->bandwidth;