/netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/microchip/ |
H A D | sparx5_pcb135_board.dtsi | 376 microchip,bandwidth = <1000>; 383 microchip,bandwidth = <1000>; 390 microchip,bandwidth = <1000>; 397 microchip,bandwidth = <1000>; 404 microchip,bandwidth = <1000>; 411 microchip,bandwidth = <1000>; 418 microchip,bandwidth = <1000>; 425 microchip,bandwidth = <1000>; 432 microchip,bandwidth = <1000>; 439 microchip,bandwidth = <1000>; [all …]
|
H A D | sparx5_pcb134_board.dtsi | 718 microchip,bandwidth = <10000>; 728 microchip,bandwidth = <10000>; 737 microchip,bandwidth = <10000>; 746 microchip,bandwidth = <10000>; 755 microchip,bandwidth = <10000>; 764 microchip,bandwidth = <10000>; 773 microchip,bandwidth = <10000>; 782 microchip,bandwidth = <10000>; 791 microchip,bandwidth = <10000>; 800 microchip,bandwidth = <10000>; [all …]
|
/netbsd-src/dist/pf/share/pf/ |
H A D | faq-example3 | 11 # to the Internet. use the cbq scheduler so that the bandwidth use of 12 # each queue can be controlled. the max outgoing bandwidth is 1.5Mbps. 14 altq on fxp0 cbq bandwidth 1.5Mb queue { std_ext, www_ext, boss_ext } 25 queue std_ext bandwidth 500Kb cbq(default borrow) 26 queue www_ext bandwidth 500Kb { www_ext_http, www_ext_misc } 27 queue www_ext_http bandwidth 50% priority 3 cbq(red 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 35 # bandwidth while traffic coming from the Internet will be limited to [all …]
|
H A D | queue2 | 10 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 D | queue1 | 6 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 D | queue4 | 7 # 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 D | faq-example2 | 12 # 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 D | ackpri | 7 # 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 }
|
/netbsd-src/usr.sbin/altq/libaltq/ |
H A D | qop_cbq.c | 115 uint64_t bandwidth = 100000000; /* 100Mbps */ in cbq_interface_parser() local 126 if (EQUAL(*argv, "bandwidth")) { in cbq_interface_parser() 129 bandwidth = atobps(*argv); in cbq_interface_parser() 154 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) in cbq_interface_parser() 158 if (qcmd_cbq_add_if(ifname, bandwidth, in cbq_interface_parser() 172 uint64_t bandwidth = 0; in cbq_class_parser() local 241 bandwidth = atobps(*argv); in cbq_class_parser() 291 if (bandwidth == 0 && pbandwidth != 0) { in cbq_class_parser() 295 bandwidth = ifinfo->bandwidth / 10 in cbq_class_parser() 312 qcmd_cbq_add_if(const char * ifname,u_int bandwidth,int is_wrr,int efficient,bool no_control) qcmd_cbq_add_if() argument 328 qcmd_cbq_add_class(const char * ifname,const char * class_name,const char * parent_name,const char * borrow_name,u_int pri,u_int bandwidth,u_int maxdelay,u_int maxburst,u_int minburst,u_int av_pkt_size,u_int max_pkt_size,int admission_type,int flags) qcmd_cbq_add_class() argument 405 qcmd_cbq_modify_class(const char * ifname,const char * class_name,u_int pri,u_int bandwidth,u_int maxdelay,u_int maxburst,u_int minburst,u_int av_pkt_size,u_int max_pkt_size,int flags) qcmd_cbq_modify_class() argument 482 qop_cbq_add_if(struct ifinfo ** rp,const char * ifname,u_int bandwidth,int is_wrr,int efficient,bool no_control) qop_cbq_add_if() argument 523 qop_cbq_add_class(struct classinfo ** rp,const char * class_name,struct ifinfo * ifinfo,struct classinfo * parent,struct classinfo * borrow,u_int pri,u_int bandwidth,u_int maxdelay,u_int maxburst,u_int minburst,u_int av_pkt_size,u_int max_pkt_size,int admission_type,int flags) qop_cbq_add_class() argument 671 qop_cbq_modify_class(struct classinfo * clinfo,u_int pri,u_int bandwidth,u_int maxdelay,u_int maxburst,u_int minburst,u_int av_pkt_size,u_int max_pkt_size,int flags) qop_cbq_modify_class() argument 769 cbq_class_spec(struct ifinfo * ifinfo,u_long parent_class,u_long borrow_class,u_int pri,int flags,u_int bandwidth,u_int maxdelay,u_int maxburst,u_int minburst,u_int av_pkt_size,u_int max_pkt_size,cbq_class_spec_t * cl_spec) cbq_class_spec() argument [all...] |
H A D | qop_cbq.h | 53 double psPerByte; /* bandwidth in ps per sec */ 63 uint64_t bandwidth; /* bandwidth in bps */ member 64 uint64_t allocated; /* bandwidth used by children */ 79 int qcmd_cbq_add_if(const char *ifname, uint64_t bandwidth, 83 u_int pri, uint64_t bandwidth, 88 u_int pri, uint64_t bandwidth, 93 uint64_t bandwidth, int is_wrr, int efficient, bool no_control); 96 struct classinfo *borrow, u_int pri, uint64_t bandwidth, 100 int qop_cbq_modify_class(struct classinfo *clinfo, u_int pri, uint64_t bandwidth, [all...] |
H A D | qop_blue.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ in blue_interface_parser() local 102 bandwidth = atobps(*argv); in blue_interface_parser() 134 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) in blue_interface_parser() 137 pkttime = packet_size * 8 * 1000 / (bandwidth / 1000); in blue_interface_parser() 139 if (qcmd_blue_add_if(ifname, bandwidth, max_pmark, hold_time, in blue_interface_parser() 149 qcmd_blue_add_if(const char *ifname, u_int bandwidth, int max_pmark, in qcmd_blue_add_if() argument 154 error = qop_blue_add_if(NULL, ifname, bandwidth, max_pmark, hold_time, in qcmd_blue_add_if() 166 qop_blue_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, in qop_blue_add_if() argument 182 error = qop_add_if(&ifinfo, ifname, bandwidth, in qop_blue_add_if()
|
H A D | qop_fifoq.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ in fifoq_interface_parser() local 97 bandwidth = atobps(*argv); in fifoq_interface_parser() 115 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) in fifoq_interface_parser() 118 if (qcmd_fifoq_add_if(ifname, bandwidth, qlimit) != 0) in fifoq_interface_parser() 127 qcmd_fifoq_add_if(const char *ifname, u_int bandwidth, int qlimit) in qcmd_fifoq_add_if() argument 131 error = qop_fifoq_add_if(NULL, ifname, bandwidth, qlimit); in qcmd_fifoq_add_if() 143 u_int bandwidth, int qlimit) in qop_fifoq_add_if() argument 153 error = qop_add_if(&ifinfo, ifname, bandwidth, in qop_fifoq_add_if()
|
H A D | qop_red.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ in red_interface_parser() local 104 bandwidth = atobps(*argv); in red_interface_parser() 146 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) in red_interface_parser() 149 pkttime = packet_size * 8 * 1000 / (bandwidth / 1000); in red_interface_parser() 165 if (qcmd_red_add_if(ifname, bandwidth, weight, inv_pmax, in red_interface_parser() 175 qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight, in qcmd_red_add_if() argument 181 error = qop_red_add_if(NULL, ifname, bandwidth, weight, inv_pmax, in qcmd_red_add_if() 194 u_int bandwidth, int weight, int inv_pmax, int th_min, in qop_red_add_if() argument 211 error = qop_add_if(&ifinfo, ifname, bandwidth, in qop_red_add_if()
|
H A D | qop_wfq.c | 86 u_int bandwidth = 100000000; /* 100Mbps */ in wfq_interface_parser() local 99 bandwidth = atobps(*argv); in wfq_interface_parser() 138 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) in wfq_interface_parser() 146 if (qcmd_wfq_add_if(ifname, bandwidth, in wfq_interface_parser() 156 qcmd_wfq_add_if(const char *ifname, u_int bandwidth, int hash_policy, in qcmd_wfq_add_if() argument 161 error = qop_wfq_add_if(NULL, ifname, bandwidth, in qcmd_wfq_add_if() 173 qop_wfq_add_if(struct ifinfo **rp, const char *ifname, u_int bandwidth, in qop_wfq_add_if() argument 186 error = qop_add_if(&ifinfo, ifname, bandwidth, in qop_wfq_add_if()
|
H A D | qop_rio.c | 87 u_int bandwidth = 100000000; /* 100Mbps */ in rio_interface_parser() local 111 bandwidth = atobps(*argv); in rio_interface_parser() 175 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) in rio_interface_parser() 178 pkttime = packet_size * 8 * 1000 / (bandwidth / 1000); in rio_interface_parser() 194 if (qcmd_rio_add_if(ifname, bandwidth, weight, in rio_interface_parser() 207 qcmd_rio_add_if(const char *ifname, u_int bandwidth, int weight, in qcmd_rio_add_if() argument 226 error = qop_rio_add_if(NULL, ifname, bandwidth, weight, red_params, in qcmd_rio_add_if() 239 u_int bandwidth, int weight, struct redparams *red_params, in qop_rio_add_if() argument 255 error = qop_add_if(&ifinfo, ifname, bandwidth, in qop_rio_add_if()
|
H A D | qop_priq.c | 94 u_int bandwidth = 100000000; /* 100Mbps */ in priq_interface_parser() local 105 bandwidth = atobps(*argv); in priq_interface_parser() 119 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) in priq_interface_parser() 122 if (qcmd_priq_add_if(ifname, bandwidth, flags) != 0) in priq_interface_parser() 180 qcmd_priq_add_if(const char *ifname, u_int bandwidth, int flags) in qcmd_priq_add_if() argument 184 error = qop_priq_add_if(NULL, ifname, bandwidth, flags); in qcmd_priq_add_if() 232 u_int bandwidth, int flags) in qop_priq_add_if() argument 241 error = qop_add_if(&ifinfo, ifname, bandwidth, in qop_priq_add_if() 364 iface.arg = ifinfo->bandwidth; in priq_attach()
|
H A D | qop_jobs.c | 150 u_int bandwidth = 100000000; /* 100 Mbps */ in jobs_interface_parser() local 162 bandwidth = atobps(*argv); in jobs_interface_parser() 183 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) in jobs_interface_parser() 186 if (qcmd_jobs_add_if(ifname, bandwidth, qlimit, separate) != 0) in jobs_interface_parser() 287 qcmd_jobs_add_if(const char *ifname, u_int bandwidth, int qlimit, int separate) in qcmd_jobs_add_if() argument 291 error = qop_jobs_add_if(NULL, ifname, bandwidth, qlimit, separate); in qcmd_jobs_add_if() 367 u_int bandwidth, int qlimit, int separate) in qop_jobs_add_if() argument 378 error = qop_add_if(&ifinfo, ifname, bandwidth, in qop_jobs_add_if() 531 attach.bandwidth = ifinfo->bandwidth; in jobs_attach() 542 (int) attach.bandwidth, (int) attach.qlimit, in jobs_attach()
|
H A D | qop_dummy.c | 77 u_int bandwidth = 0; in null_interface_parser() local 87 bandwidth = atobps(*argv); in null_interface_parser() 99 if (bandwidth != 0) in null_interface_parser() 100 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) in null_interface_parser()
|
H A D | qop_hfsc.c | 108 u_int bandwidth = 100000000; /* 100Mbps */ in hfsc_interface_parser() local 119 bandwidth = atobps(*argv); in hfsc_interface_parser() 133 if (qcmd_tbr_register(ifname, bandwidth, tbrsize) != 0) in hfsc_interface_parser() 136 if (qcmd_hfsc_add_if(ifname, bandwidth, flags) != 0) in hfsc_interface_parser() 182 fm2 = ifinfo->bandwidth / 100 * pshare; in hfsc_class_parser() 345 qcmd_hfsc_add_if(const char *ifname, u_int bandwidth, int flags) in qcmd_hfsc_add_if() argument 349 error = qop_hfsc_add_if(NULL, ifname, bandwidth, flags); in qcmd_hfsc_add_if() 413 u_int bandwidth, int flags) in qop_hfsc_add_if() argument 423 error = qop_add_if(&ifinfo, ifname, bandwidth, in qop_hfsc_add_if() 432 sc.m1 = bandwidth; in qop_hfsc_add_if() [all …]
|
H A D | qop_fifoq.h | 37 int qcmd_fifoq_add_if(const char *ifname, u_int bandwidth, int qlimit); 39 u_int bandwidth, int qlimit);
|
/netbsd-src/usr.sbin/altq/altqd/altq.conf.samples/ |
H A D | hfsc.grate | 6 # interface bandwidth 45Mbps is arbitrary (it doesn't matter as long as 7 # it is bigger than the total guaranteed bandwidth) 9 interface pvc0 bandwidth 45M hfsc 11 # 50% of the excess bandwidth goes to the default class 15 # TCP 10Mbps guaranteed rate (no excess bandwidth assigned) 20 # UDP 5Mbps guaranteed rate (no excess bandwidth assigned)
|
H A D | hfsc.lo0 | 6 # interface bandwidth 300Mbps is arbitrary (it doesn't matter as long as 7 # it is bigger than the total guaranteed bandwidth) 9 interface lo0 bandwidth 300M hfsc 11 # 50% of the excess bandwidth goes to the default class 15 # TCP 10Mbps guaranteed rate (no excess bandwidth assigned) 20 # UDP 5Mbps guaranteed rate (no excess bandwidth assigned)
|
H A D | hfsc.share | 5 interface pvc0 bandwidth 45M hfsc 7 # 10% of the bandwidth share goes to the default class 11 # bandwidth share guaranteed rate 18 # CMU bandwidth share guaranteed rate 27 # MIT bandwidth share guaranteed rate
|
/netbsd-src/usr.sbin/altq/tbrconfig/ |
H A D | tbrconfig.c | 206 u_long bandwidth; in atobps() local 209 bandwidth = strtoul(s, &cp, 0); in atobps() 212 bandwidth *= 1000; in atobps() 214 bandwidth *= 1000000; in atobps() 216 bandwidth *= 1000000000; in atobps() 218 return (bandwidth); in atobps()
|
/netbsd-src/dist/pf/sbin/pfctl/ |
H A D | pfctl_altq.c | 199 printf("bandwidth %s ", rate2str((double)a->bandwidth)); in print_queue() 330 pa->bandwidth = eval_bwspec(bw, in eval_pfqueue() 331 parent == NULL ? 0 : parent->bandwidth); in eval_pfqueue() 333 if (pa->bandwidth > pa->ifbandwidth) { in eval_pfqueue() 340 if (pa->bandwidth > parent->bandwidth) { in eval_pfqueue() 352 bwsum += altq->bandwidth; in eval_pfqueue() 354 bwsum += pa->bandwidth; in eval_pfqueue() 355 if (bwsum > parent->bandwidth) { in eval_pfqueue() 362 if (eval_queue_opts(pa, opts, parent == NULL? 0 : parent->bandwidth)) in eval_pfqueue() 439 if (pa->bandwidth == 0) in cbq_compute_idletime() [all …]
|