Lines Matching refs:fcoe_mac
642 fcoe_mac_t *fcoe_mac;
687 fcoe_mac = fcoe_create_mac_by_id(param->fcp_mac_linkid);
688 if (fcoe_mac == NULL) {
695 if (fcoe_mac->fm_flags & FCOE_MAC_FLAG_ENABLED) {
701 ret = fcoe_open_mac(fcoe_mac, param->fcp_force_promisc,
704 fcoe_destroy_mac(fcoe_mac);
713 fcoe_mac->fm_flags |= FCOE_MAC_FLAG_ENABLED;
720 eport = &fcoe_mac->fm_eport;
723 fcoe_mac->fm_current_addr, 1, 0);
730 fcoe_mac->fm_current_addr, 0, 0);
735 cmpwwn = fcoe_cmp_wwn(fcoe_mac);
743 (void) fcoe_close_mac(fcoe_mac);
744 fcoe_destroy_mac(fcoe_mac);
752 fcoe_mac,
755 if (fcoe_mac_existed(fcoe_mac) == B_TRUE) {
756 (void) fcoe_close_mac(fcoe_mac);
757 fcoe_destroy_mac(fcoe_mac);
867 (void) snprintf(taskq_name, sizeof (taskq_name), "fcoe_mac");
991 * Return fcoe_mac if it exists, otherwise create a new one