Home
last modified time | relevance | path

Searched refs:cfgd_vlans (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_ndd.c714 uint64_t cfgd_vlans; in hxge_param_set_vlan_ids() local
731 cfgd_vlans = ((pa->type & HXGE_PARAM_ARRAY_CNT_MASK) >> in hxge_param_set_vlan_ids()
734 if (cfgd_vlans >= HXGE_PARAM_ARRAY_INIT_SIZE) { in hxge_param_set_vlan_ids()
754 for (i = 0; i < cfgd_vlans; i++) { in hxge_param_set_vlan_ids()
764 if (cfgd_vlans == 0) { in hxge_param_set_vlan_ids()
769 if (i == cfgd_vlans) { in hxge_param_set_vlan_ids()
776 i, cfgd_vlans, cfg_position)); in hxge_param_set_vlan_ids()
784 cfgd_vlans++; in hxge_param_set_vlan_ids()
786 pa->type |= (cfgd_vlans << HXGE_PARAM_ARRAY_CNT_SHIFT); in hxge_param_set_vlan_ids()
792 cfgd_vlans, cfg_position)); in hxge_param_set_vlan_ids()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_ndd.c1386 uint64_t cfgd_vlans; in nxge_param_set_vlan_rdcgrp() local
1400 cfgd_vlans = ((pa->type & NXGE_PARAM_ARRAY_CNT_MASK) >> in nxge_param_set_vlan_rdcgrp()
1403 if (cfgd_vlans == NXGE_PARAM_ARRAY_INIT_SIZE) { in nxge_param_set_vlan_rdcgrp()
1425 for (i = 0; i < cfgd_vlans; i++) { in nxge_param_set_vlan_rdcgrp()
1435 if (cfgd_vlans == 0) { in nxge_param_set_vlan_rdcgrp()
1440 if (i == cfgd_vlans) { in nxge_param_set_vlan_rdcgrp()
1448 i, cfgd_vlans, cfg_position)); in nxge_param_set_vlan_rdcgrp()
1458 cfgd_vlans++; in nxge_param_set_vlan_rdcgrp()
1460 pa->type |= (cfgd_vlans << in nxge_param_set_vlan_rdcgrp()
1467 cfgd_vlans, cfg_position)); in nxge_param_set_vlan_rdcgrp()
[all …]
H A Dnxge_fflp.c1997 uint64_t cfgd_vlans; in nxge_fflp_update_hw() local
2032 cfgd_vlans = ((pa->type & NXGE_PARAM_ARRAY_CNT_MASK) >> in nxge_fflp_update_hw()
2035 for (i = 0; i < cfgd_vlans; i++) { in nxge_fflp_update_hw()