Lines Matching refs:ports

410  * Add or remove one or more ports to/from an existing link aggregation.
414 uint32_t nports, dladm_aggr_port_attr_db_t *ports, uint32_t flags, int cmd)
436 status = dladm_datalink_id2info(handle, ports[i].lp_linkid,
447 if (i_dladm_aggr_is_dcbmode(handle, ports[i].lp_linkid))
514 ports[i].lp_linkid, size);
541 if (ports[i].lp_linkid == portid)
612 ioc_ports[i].lp_linkid = ports[i].lp_linkid;
685 uint16_t key, uint32_t nports, dladm_aggr_port_attr_db_t *ports,
711 ioc_ports[i].lp_linkid = ports[i].lp_linkid;
737 dladm_aggr_port_attr_db_t *ports = NULL;
751 ports = malloc(attr.lg_nports * sizeof (dladm_aggr_port_attr_db_t));
752 if (ports == NULL) {
772 if (i_dladm_aggr_is_dcbmode(handle, ports[i].lp_linkid)) {
777 ports[j++].lp_linkid = portid;
792 key, j, ports, attr.lg_aggr_mode, attr.lg_policy, attr.lg_mac_fixed,
807 free(ports);
1124 dladm_aggr_port_attr_db_t *ports, aggr_mode_t aggr_mode, uint32_t policy,
1159 status = write_port(handle, portstr, ports[i].lp_linkid, size);
1234 uint32_t nports, dladm_aggr_port_attr_db_t *ports, aggr_mode_t aggr_mode,
1253 status = dladm_datalink_id2info(handle, ports[i].lp_linkid,
1264 if (i_dladm_aggr_is_dcbmode(handle, ports[i].lp_linkid))
1268 * If LLDP is enabled on any ports, it has to be
1284 nports, ports, aggr_mode, policy, mac_addr_fixed, mac_addr,
1292 status = i_dladm_aggr_create_sys(handle, linkid, key, nports, ports,
1620 * Add one or more ports to an existing link aggregation.
1624 dladm_aggr_port_attr_db_t *ports, uint32_t flags)
1626 return (i_dladm_aggr_add_rmv(handle, linkid, nports, ports, flags,
1631 * Remove one or more ports from an existing link aggregation.
1635 dladm_aggr_port_attr_db_t *ports, uint32_t flags)
1637 return (i_dladm_aggr_add_rmv(handle, linkid, nports, ports, flags,