Lines Matching defs:macaddr
86 uint8_t *macaddr, uint16_t flags, vsw_vlanid_t *vids, int nvids);
225 /* announce macaddr of vnets to the physical switch */
686 uint8_t *macaddr;
706 macaddr = (uint8_t *)port->p_macaddr.ether_addr_octet;
714 rv = mac_unicast_add(port->p_mch, macaddr, mac_flags,
719 "macaddr,vid(%s, %d) err=%d",
720 vswp->instance, ether_sprintf((void *)macaddr),
726 D2(vswp, "%s:programmed macaddr(%s) vid(%d) into device %s",
727 __func__, ether_sprintf((void *)macaddr), vid,
732 vsw_mac_add_vlans(vswp, port->p_mch, macaddr,
753 uint8_t *macaddr;
766 macaddr = (uint8_t *)vswp->if_addr.ether_addr_octet;
768 /* check if it is the primary macaddr of the card. */
770 if (ether_cmp((void *)primary_addr, (void*)macaddr) == 0) {
789 rv = mac_unicast_add(vswp->mch, macaddr, mac_flags,
794 "macaddr,vid(%s, %d) err=%d",
795 vswp->instance, ether_sprintf((void *)macaddr),
801 D2(vswp, "%s:programmed macaddr(%s) vid(%d) into device %s",
802 __func__, ether_sprintf((void *)macaddr), vid,
806 vsw_mac_add_vlans(vswp, vswp->mch, macaddr, mac_flags,
1130 vsw_mac_add_vlans(vsw_t *vswp, mac_client_handle_t mch, uint8_t *macaddr,
1148 rv = mac_unicast_add(mch, macaddr, flags,
1152 "macaddr,vid(%s, %d) err=%d",
1153 vswp->instance, ether_sprintf((void *)macaddr),
1157 D2(vswp, "%s:programmed macaddr(%s) vid(%d) "
1159 ether_sprintf((void *)macaddr),
1187 * switch to quickly learn the macaddr-port association when a guest is live
1191 * The macaddr of vnet is retained across migration. Hence, we don't need to