Home
last modified time | relevance | path

Searched refs:maxbw (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/test/util-tests/tests/dladm/
H A Dset-linkprop.ksh164 set_prop_pass $vm_pvnic "-t" maxbw 89
165 validate_prop $vm_pvnic maxbw 89
166 validate_not_pprop $vm_pvnic maxbw 89
171 set_prop_pass $vm_pvnic "" maxbw 99
172 validate_prop $vm_pvnic maxbw 99
173 validate_pprop $vm_pvnic maxbw 99
189 set_prop_pass $vm_tvnic "-t" maxbw 89
190 validate_prop $vm_tvnic maxbw 89
191 validate_not_pprop $vm_tvnic maxbw 89
196 set_prop_pass $vm_tvnic "" maxbw 99
[all …]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowprop.c323 uint64_t *maxbw; in do_check_maxbw() local
330 maxbw = malloc(sizeof (uint64_t)); in do_check_maxbw()
331 if (maxbw == NULL) in do_check_maxbw()
334 status = dladm_str2bw(*prop_val, maxbw); in do_check_maxbw()
336 free(maxbw); in do_check_maxbw()
340 if ((*maxbw < MRP_MAXBW_MINVAL) && (*maxbw != 0)) { in do_check_maxbw()
341 free(maxbw); in do_check_maxbw()
347 free(maxbw); in do_check_maxbw()
351 vdp->vd_val = (uintptr_t)maxbw; in do_check_maxbw()
H A Dlinkprop.c1943 uint64_t *maxbw; in check_maxbw() local
1951 maxbw = malloc(sizeof (uint64_t)); in check_maxbw()
1952 if (maxbw == NULL) in check_maxbw()
1955 status = dladm_str2bw(*prop_val, maxbw); in check_maxbw()
1957 free(maxbw); in check_maxbw()
1961 if ((*maxbw < MRP_MAXBW_MINVAL) && (*maxbw != 0)) { in check_maxbw()
1962 free(maxbw); in check_maxbw()
1966 vdp->vd_val = (uintptr_t)maxbw; in check_maxbw()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_phys.c91 uint64_t maxbw);
121 uint64_t maxbw);
460 vsw_update_bandwidth(vsw_t *vswp, vsw_port_t *port, int type, uint64_t maxbw) in vsw_update_bandwidth() argument
465 vsw_maccl_set_bandwidth(vswp, port, type, maxbw); in vsw_update_bandwidth()
1385 vsw_maccl_set_bandwidth(vsw_t *vswp, vsw_port_t *port, int type, uint64_t maxbw) in vsw_maccl_set_bandwidth() argument
1408 if (maxbw >= MRP_MAXBW_MINVAL || maxbw == 0) { in vsw_maccl_set_bandwidth()
1410 if (maxbw == 0) { in vsw_maccl_set_bandwidth()
1413 mrp->mrp_maxbw = maxbw; in vsw_maccl_set_bandwidth()
1422 port->p_instance, maxbw, rv); in vsw_maccl_set_bandwidth()
1426 vswp->instance, maxbw, rv); in vsw_maccl_set_bandwidth()
[all …]
H A Dvsw.c175 uint64_t maxbw);
2152 uint64_t maxbw; in vsw_update_md_prop() local
2269 vsw_bandwidth_read(vswp, mdp, node, &maxbw); in vsw_update_md_prop()
2270 if (maxbw != vswp->bandwidth) { in vsw_update_md_prop()
2271 if (maxbw >= MRP_MAXBW_MINVAL || maxbw == 0) { in vsw_update_md_prop()
2276 vswp->instance, maxbw); in vsw_update_md_prop()
2432 vsw_update_bandwidth(vswp, NULL, VSW_LOCALDEV, maxbw); in vsw_update_md_prop()
2610 uint64_t maxbw; in vsw_port_update() local
2665 vsw_port_read_bandwidth(portp, curr_mdp, curr_mdex, &maxbw); in vsw_port_update()
2666 if (maxbw != portp->p_bandwidth) { in vsw_port_update()
[all …]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_client.c5219 uint64_t maxbw = mrp->mrp_maxbw; in mac_validate_props() local
5221 if (maxbw < MRP_MAXBW_MINVAL && maxbw != 0) in mac_validate_props()