Searched refs:lg_nports (Results 1 – 11 of 11) sorted by relevance
564 grp->lg_nports++; in aggr_grp_add_port()1314 grp->lg_nports = 0; in aggr_grp_create()1505 ASSERT(grp->lg_nports > 1); in aggr_grp_rem_port()1561 grp->lg_nports--; in aggr_grp_rem_port()1613 if (nports >= grp->lg_nports) { in aggr_grp_rem_ports()1855 grp->lg_nports, grp->lg_lacp_mode, grp->aggr.PeriodicTimer); in aggr_grp_info()2117 for (i = 0; i < aggr_grp->lg_nports; i++) { in aggr_grp_port_rename()2758 mtu = kmem_alloc(sizeof (uint32_t) * grp->lg_nports, KM_SLEEP); in aggr_sdu_update()2777 kmem_free(mtu, sizeof (uint32_t) * grp->lg_nports); in aggr_sdu_update()2937 vals = kmem_zalloc(sizeof (mac_propval_range_t *) * grp->lg_nports, in aggr_grp_possible_mtu_range()[all …]
157 grp.lg_nports = nports; in aggr_ioc_info_new_grp()
64 uint32_t lg_nports; member
170 attrp->lg_nports = grp->lg_nports; in i_dladm_aggr_iocp2grpattr()179 if ((attrp->lg_ports = malloc(grp->lg_nports * in i_dladm_aggr_iocp2grpattr()190 for (i = 0; i < grp->lg_nports; i++) { in i_dladm_aggr_iocp2grpattr()333 attrp->lg_nports = nports; in i_dladm_aggr_info_persist()696 ports = malloc(attr.lg_nports * sizeof (dladm_aggr_port_attr_db_t)); in i_dladm_aggr_up()707 for (i = 0, j = 0; i < attr.lg_nports; i++) { in i_dladm_aggr_up()
438 for (i = 0; i < ginfo.lg_nports; i++) { in i_dladm_aggr_link_hold()721 for (i = 0; i < ginfo.lg_nports; i++) in i_dladm_aggr_link_del()725 if (i != ginfo.lg_nports) { in i_dladm_aggr_link_del()726 if (ginfo.lg_nports == 1 && i == 0) { in i_dladm_aggr_link_del()
2701 for (i = 0; i < ginfo.lg_nports; i++) { in dlstat_aggr_port_stats()
171 uint32_t lg_nports; member
166 uint16_t lg_nports; /* number of MAC ports */ member
1017 if (aggr_attr.lg_nports == 1) in aggr_update()1023 for (i = 0; i < aggr_attr.lg_nports; i++) { in aggr_update()1386 for (i = 0; i < aggr_attr.lg_nports; i++) in aggr_configure()1390 if (i == aggr_attr.lg_nports) { in aggr_configure()
1450 != DLADM_STATUS_OK || ginfo.lg_nports == 0) in ncu_aggr_search()1453 for (i = 0; i < ginfo.lg_nports; i++) { in ncu_aggr_search()
2673 DLADM_STATUS_OK || ginfo.lg_nports == 0) { in print_link_topology()2677 for (i = 0; i < ginfo.lg_nports; i++) { in print_link_topology()2686 if (i != (ginfo.lg_nports - 1)) { in print_link_topology()3073 for (i = 0; i < ginfop->lg_nports; i++) { in print_aggr_extended()3160 for (i = 0; i < ginfop->lg_nports; i++) { in print_aggr_lacp()3285 port_stat = malloc(ginfop->lg_nports * sizeof (pktsum_t)); in print_aggr_stats()3292 for (i = 0; i < ginfop->lg_nports; i++) { in print_aggr_stats()3325 for (i = 0; i < ginfop->lg_nports; i++) { in print_aggr_stats()3334 for (i = 0; i < ginfop->lg_nports; i++) in print_aggr_stats()