Home
last modified time | relevance | path

Searched refs:bandwidth (Results 1 – 25 of 102) sorted by relevance

12345

/freebsd-12.1/share/examples/pf/
H A Dfaq-example325 queue std_ext bandwidth 500Kb cbq(default borrow)
28 queue www_ext_misc bandwidth 50% priority 1 cbq(borrow)
29 queue boss_ext bandwidth 500Kb priority 3 cbq(borrow)
33 # bandwidth of each queue. bandwidth on this interface is set to the
38 altq on dc0 cbq bandwidth 100% queue { net_int, www_int }
50 queue std_int bandwidth 250Kb cbq(default borrow)
51 queue it_int bandwidth 500Kb cbq(borrow)
52 queue boss_int bandwidth 250Kb priority 3 cbq(borrow)
53 queue www_int bandwidth 99Mb cbq(red borrow)
57 # control of bandwidth is necessary. bandwidth on this interface is set
[all …]
H A Dqueue210 altq on $ext_if cbq bandwidth 5Mb queue { std, http, mail, ssh }
12 queue std bandwidth 10% cbq(default)
13 queue http bandwidth 60% priority 2 cbq(borrow red) { employees, developers }
14 queue developers bandwidth 75% cbq(borrow)
15 queue employees bandwidth 15%
16 queue mail bandwidth 10% priority 0 cbq(borrow ecn)
17 queue ssh bandwidth 20% cbq(borrow) { ssh_interactive, ssh_bulk }
18 queue ssh_interactive bandwidth 25% priority 7
19 queue ssh_bulk bandwidth 75% priority 0
H A Dqueue16 altq on $ext_if cbq bandwidth 10Mb \
8 queue deflt bandwidth 10% priority 0 cbq(default ecn)
9 queue http bandwidth 1.5Mb priority 3 { http_vhosts, http_cust1 }
10 queue http_vhosts bandwidth 40% cbq(borrow red)
11 queue http_cust1 bandwidth 0.5Mb
12 queue mail bandwidth 10% priority 1
13 queue ssh bandwidth 100Kb priority 7 cbq(borrow)
14 queue rsets bandwidth 7500b priority 0 cbq(red)
H A Dqueue47 # The total bandwidth for engineering faculty is shared between three
8 # departments. CS department gets the half of the bandwidth, EE and IE
9 # departments get the thirty percent and twenty percent of bandwidth
14 altq on dc0 bandwidth 16Mb hfsc queue { eng law art }
15 queue eng bandwidth 10Mb { cs ee ie }
19 queue law bandwidth 3Mb
20 queue art bandwidth 3Mb
H A Dfaq-example212 # the bandwidth to 610Kbps to get the best performance out of the TCP
15 altq on fxp0 priq bandwidth 610Kb queue { std_out, ssh_im_out, dns_out, \
32 # from the Internet. use the cbq scheduler to control bandwidth. max
33 # bandwidth is 2Mbps.
35 altq on dc0 cbq bandwidth 2Mb queue { std_in, ssh_im_in, dns_in, bob_in }
43 # bob_in - bandwidth reserved for Bob's workstation. allow him to
46 queue std_in bandwidth 1.6Mb cbq(default)
47 queue ssh_im_in bandwidth 200Kb priority 4
48 queue dns_in bandwidth 120Kb priority 5
49 queue bob_in bandwidth 80Kb cbq(borrow)
H A Dackpri7 # part of the bandwidth, but if they get delayed, downloads suffer
18 # For a 512/128 kbps ADSL with PPPoE link, using "bandwidth 100Kb"
21 # if it's set too low, the available bandwidth is not fully used.
24 altq on $ext_if priq bandwidth 100Kb queue { q_pri, q_def }
/freebsd-12.1/sys/netgraph/
H A Dng_pipe.c365 cfg->bandwidth = cfg->upstream.bandwidth; in ngp_rcvmsg()
366 cfg->upstream.bandwidth = 0; in ngp_rcvmsg()
369 cfg->bandwidth = 0; in ngp_rcvmsg()
383 if (cfg->bandwidth == -1) { in ngp_rcvmsg()
389 priv->upper.cfg.bandwidth = cfg->bandwidth; in ngp_rcvmsg()
390 priv->lower.cfg.bandwidth = cfg->bandwidth; in ngp_rcvmsg()
546 if (new->bandwidth == -1) { in parse_cfg()
547 current->bandwidth = 0; in parse_cfg()
551 } else if (new->bandwidth >= 100 && new->bandwidth <= 1000000000) in parse_cfg()
552 current->bandwidth = new->bandwidth; in parse_cfg()
[all …]
H A Dng_pipe.h117 u_int64_t bandwidth; member
146 u_int64_t bandwidth; member
H A Dng_ppp.c2311 xmitBytes = (alink->conf.bandwidth * 10 * diff.tv_sec) in ng_ppp_mp_strategy()
2318 (100 * alink->bytesInQueue) / alink->conf.bandwidth; in ng_ppp_mp_strategy()
2334 priv->activeLinks[sortByLatency[i]]].conf.bandwidth) in ng_ppp_mp_strategy()
2344 priv->activeLinks[sortByLatency[i]]].conf.bandwidth; in ng_ppp_mp_strategy()
2354 priv->activeLinks[sortByLatency[i]]].conf.bandwidth; in ng_ppp_mp_strategy()
2372 if (link->conf.bandwidth > fastLink->conf.bandwidth) { in ng_ppp_mp_strategy()
2390 link->conf.bandwidth < slowLink->conf.bandwidth)) { in ng_ppp_mp_strategy()
2490 if (priv->links[i].conf.bandwidth == 0) in ng_ppp_update()
2520 || link->conf.bandwidth != link0->conf.bandwidth) in ng_ppp_update()
2582 if (newConf->links[i].bandwidth == 0) in ng_ppp_config_valid()
[all …]
/freebsd-12.1/sys/dev/sfxge/common/
H A Dhunt_nic.c51 uint32_t bandwidth; in hunt_nic_get_required_pcie_bandwidth() local
62 bandwidth = 0; in hunt_nic_get_required_pcie_bandwidth()
72 EFX_PCIE_LINK_SPEED_GEN3, &bandwidth)) != 0) in hunt_nic_get_required_pcie_bandwidth()
85 &bandwidth)) != 0) in hunt_nic_get_required_pcie_bandwidth()
90 *bandwidth_mbpsp = bandwidth; in hunt_nic_get_required_pcie_bandwidth()
119 uint32_t bandwidth; in hunt_board_cfg() local
361 if ((rc = hunt_nic_get_required_pcie_bandwidth(enp, &bandwidth)) != 0) in hunt_board_cfg()
363 encp->enc_required_pcie_bandwidth_mbps = bandwidth; in hunt_board_cfg()
H A Dmedford_nic.c104 uint32_t bandwidth; in medford_nic_get_required_pcie_bandwidth() local
110 bandwidth = 0; in medford_nic_get_required_pcie_bandwidth()
115 &bandwidth)) != 0) in medford_nic_get_required_pcie_bandwidth()
119 *bandwidth_mbpsp = bandwidth; in medford_nic_get_required_pcie_bandwidth()
146 uint32_t bandwidth; in medford_board_cfg() local
364 rc = medford_nic_get_required_pcie_bandwidth(enp, &bandwidth); in medford_board_cfg()
367 encp->enc_required_pcie_bandwidth_mbps = bandwidth; in medford_board_cfg()
/freebsd-12.1/contrib/tcpdump/
H A Dprint-igrp.c72 register u_int delay, bandwidth; in igrp_entry_print() local
86 bandwidth = EXTRACT_24BITS(igr->igr_bw); in igrp_entry_print()
87 metric = bandwidth + delay; in igrp_entry_print()
93 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth, in igrp_entry_print()
H A Dprint-eigrp.c126 uint8_t bandwidth[4]; member
146 uint8_t bandwidth[4]; member
165 uint8_t bandwidth[4]; member
184 uint8_t bandwidth[4]; member
368 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->bandwidth), in eigrp_print()
410 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->bandwidth), in eigrp_print()
452 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_int->bandwidth), in eigrp_print()
488 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_ext->bandwidth), in eigrp_print()
/freebsd-12.1/sbin/pfctl/tests/files/
H A Dpf1004.in1 altq on em0 cbq(default codel) bandwidth 20Mb queue qmain
3 queue q1 priority 1 bandwidth 60%
4 queue q2 priority 2 bandwidth 40%
H A Dpf1004.ok1 altq on em0 cbq( codel default ) bandwidth 20Mb tbrsize 12000 queue { qmain }
3 queue q1 bandwidth 60%
4 queue q2 bandwidth 40% priority 2
H A Dpf1003.in1 altq on em0 cbq(default) bandwidth 100Kb queue qmain
H A Dpf1003.ok1 altq on em0 cbq( default ) bandwidth 100Kb tbrsize 1500 queue { qmain }
/freebsd-12.1/sbin/pfctl/
H A Dpfctl_altq.c285 printf("bandwidth %s ", rate2str((double)a->bandwidth)); in print_queue()
434 pa->bandwidth = eval_bwspec(bw,
437 if (pa->bandwidth > pa->ifbandwidth) {
451 if (pa->bandwidth > parent->pa.bandwidth) {
456 parent->meta.bwsum += pa->bandwidth;
457 if (parent->meta.bwsum > parent->pa.bandwidth) {
461 parent->pa.bandwidth);
555 if (pa->bandwidth == 0)
558 f = ((double) pa->bandwidth / (double) pa->ifbandwidth);
784 opts->lssc_m2 = pa->bandwidth;
[all …]
/freebsd-12.1/sys/netpfil/pf/
H A Dpf_altq.h141 uint32_t bandwidth; /* queue bandwidth */ member
173 uint64_t bandwidth; /* queue bandwidth */ member
209 uint64_t bandwidth; /* queue bandwidth */ member
/freebsd-12.1/sys/netinet/
H A Dip_dummynet.h134 int bandwidth; /* bit/s or bits/tick. */ member
219 int bandwidth; // XXX use link bandwidth? member
/freebsd-12.1/sys/gnu/dts/mips/
H A DWLI-TX4-AG300N.dts55 bandwidth {
56 label = "bandwidth";
/freebsd-12.1/sbin/ipfw/
H A Ddummynet.c620 double b = p->bandwidth; in list_pipes()
799 if (*bandwidth != -1) in read_bandwidth()
811 *bandwidth = 0; in read_bandwidth()
835 *bandwidth = bw; in read_bandwidth()
927 read_bandwidth(arg, &link->bandwidth, buf, sizeof(buf)); in load_extra_delays()
1396 p->bandwidth = -1; in ipfw_config_pipe()
1639 read_bandwidth(av[0], &p->bandwidth, NULL, 0); in ipfw_config_pipe()
1740 if (p->bandwidth == -1) in ipfw_config_pipe()
1741 p->bandwidth = 0; in ipfw_config_pipe()
1820 if (p.bandwidth==0) /* this is a WF2Q+ queue */ in ipfw_config_pipe()
[all …]
/freebsd-12.1/sys/netpfil/ipfw/
H A Dip_dn_glue.c169 int bandwidth; /* really, bytes/tick. */ member
235 int bandwidth; /* really, bytes/tick. */ member
454 p->bandwidth = p7->bandwidth; in dn_compat_config_pipe()
632 pipe7->bandwidth = l->bandwidth; in dn_c_copy_pipe()
/freebsd-12.1/sys/dev/drm2/radeon/
H A Devergreen.c853 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in evergreen_dram_bandwidth()
855 return dfixed_trunc(bandwidth); in evergreen_dram_bandwidth()
873 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in evergreen_dram_bandwidth_for_display()
875 return dfixed_trunc(bandwidth); in evergreen_dram_bandwidth_for_display()
882 fixed20_12 sclk, bandwidth; in evergreen_data_return_bandwidth() local
893 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in evergreen_data_return_bandwidth()
895 return dfixed_trunc(bandwidth); in evergreen_data_return_bandwidth()
913 bandwidth.full = dfixed_mul(bandwidth, disp_clk_request_efficiency); in evergreen_dmif_request_bandwidth()
937 fixed20_12 bandwidth; in evergreen_average_bandwidth() local
946 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in evergreen_average_bandwidth()
[all …]
H A Dsi.c563 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce6_dram_bandwidth()
565 return dfixed_trunc(bandwidth); in dce6_dram_bandwidth()
583 bandwidth.full = dfixed_mul(bandwidth, disp_dram_allocation); in dce6_dram_bandwidth_for_display()
585 return dfixed_trunc(bandwidth); in dce6_dram_bandwidth_for_display()
592 fixed20_12 sclk, bandwidth; in dce6_data_return_bandwidth() local
603 bandwidth.full = dfixed_mul(bandwidth, return_efficiency); in dce6_data_return_bandwidth()
605 return dfixed_trunc(bandwidth); in dce6_data_return_bandwidth()
642 return dfixed_trunc(bandwidth); in dce6_dmif_request_bandwidth()
664 fixed20_12 bandwidth; in dce6_average_bandwidth() local
673 bandwidth.full = dfixed_mul(bandwidth, wm->vsc); in dce6_average_bandwidth()
[all …]

12345