Lines Matching refs:grp

132 aggr_port_create(aggr_grp_t *grp, const datalink_id_t linkid, boolean_t force,  in aggr_port_create()  argument
180 if (((err = dls_mgmt_get_linkinfo(grp->lg_linkid, in aggr_port_create()
338 aggr_port_notify_link(aggr_grp_t *grp, aggr_port_t *port) in aggr_port_notify_link() argument
348 ASSERT(MAC_PERIM_HELD(grp->lg_mh)); in aggr_port_notify_link()
378 mutex_enter(&grp->lg_stat_lock); in aggr_port_notify_link()
381 do_detach |= (ifspeed != grp->lg_ifspeed); in aggr_port_notify_link()
383 do_attach |= (ifspeed == grp->lg_ifspeed); in aggr_port_notify_link()
385 mutex_exit(&grp->lg_stat_lock); in aggr_port_notify_link()
391 link_state_changed = aggr_grp_attach_port(grp, port); in aggr_port_notify_link()
394 link_state_changed = aggr_grp_detach_port(grp, port); in aggr_port_notify_link()
406 aggr_port_notify_unicst(aggr_grp_t *grp, aggr_port_t *port, in aggr_port_notify_unicst() argument
414 ASSERT(MAC_PERIM_HELD(grp->lg_mh)); in aggr_port_notify_unicst()
424 if (bcmp(mac_addr, grp->lg_addr, ETHERADDRL) == 0) { in aggr_port_notify_unicst()
432 aggr_grp_port_mac_changed(grp, port, &mac_addr_changed, in aggr_port_notify_unicst()
442 if (mac_addr_changed && aggr_grp_update_ports_mac(grp)) in aggr_port_notify_unicst()
458 aggr_grp_t *grp = port->lp_grp; in aggr_port_notify_cb() local
462 mac_perim_enter_by_mh(grp->lg_mh, &mph); in aggr_port_notify_cb()
476 mac_tx_update(grp->lg_mh); in aggr_port_notify_cb()
479 if (aggr_port_notify_link(grp, port)) in aggr_port_notify_cb()
480 mac_link_update(grp->lg_mh, grp->lg_link_state); in aggr_port_notify_cb()
483 aggr_port_notify_unicst(grp, port, &mac_addr_changed, in aggr_port_notify_cb()
486 mac_unicst_update(grp->lg_mh, grp->lg_addr); in aggr_port_notify_cb()
488 mac_link_update(grp->lg_mh, grp->lg_link_state); in aggr_port_notify_cb()
552 aggr_grp_t *grp = port->lp_grp; in aggr_port_unicst() local
554 ASSERT(MAC_PERIM_HELD(grp->lg_mh)); in aggr_port_unicst()
557 return (mac_unicast_primary_set(port->lp_mh, grp->lg_addr)); in aggr_port_unicst()
655 aggr_grp_t *grp = port->lp_grp; in aggr_port_remmac() local
659 ASSERT(MAC_PERIM_HELD(grp->lg_mh)); in aggr_port_remmac()
683 if (port->lp_prom_addr == NULL && !grp->lg_promisc) in aggr_port_remmac()