/titanic_50/usr/src/uts/common/io/fcoe/ |
H A D | fcoe_fc.c | 58 static void fcoe_deregister_client(fcoe_port_t *eport); 59 static int fcoe_ctl(fcoe_port_t *eport, int cmd, void *arg); 61 static void *fcoe_alloc_netb(fcoe_port_t *eport, 73 fcoe_port_t *eport; in fcoe_register_client() local 108 eport = &mac->fm_eport; in fcoe_register_client() 109 eport->eport_flags = client->ect_eport_flags | EPORT_FLAG_MAC_IN_USE; in fcoe_register_client() 110 eport->eport_fcoe_private = mac; in fcoe_register_client() 111 eport->eport_client_private = client->ect_client_port_struct; in fcoe_register_client() 112 eport->eport_max_fc_frame_size = 2136; in fcoe_register_client() 113 eport->eport_tx_frame = fcoe_tx_frame; in fcoe_register_client() [all …]
|
H A D | fcoe.c | 676 fcoe_port_t *eport; in fcoe_iocmd() local 720 eport = &fcoe_mac->fm_eport; in fcoe_iocmd() 722 fcoe_init_wwn_from_mac(eport->eport_portwwn, in fcoe_iocmd() 725 (void) memcpy(eport->eport_portwwn, param->fcp_pwwn, 8); in fcoe_iocmd() 729 fcoe_init_wwn_from_mac(eport->eport_nodewwn, in fcoe_iocmd() 732 (void) memcpy(eport->eport_nodewwn, param->fcp_nwwn, 8); in fcoe_iocmd()
|
H A D | fcoe_eth.c | 339 fcoe_mac_set_address(fcoe_port_t *eport, uint8_t *addr, boolean_t fc_assigned) in fcoe_mac_set_address() argument 341 fcoe_mac_t *mac = EPORT2MAC(eport); in fcoe_mac_set_address()
|
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei_eth.c | 1301 fcoei_port_event(fcoe_port_t *eport, uint32_t event) in fcoei_port_event() argument 1305 if (!(EPORT2SS(eport)->ss_flags & SS_FLAG_LV_BOUND)) { in fcoei_port_event() 1310 mutex_enter(&EPORT2SS(eport)->ss_watchdog_mutex); in fcoei_port_event() 1313 EPORT2SS(eport)->ss_link_state = FC_STATE_OFFLINE; in fcoei_port_event() 1315 eport->eport_portwwn[0], eport->eport_portwwn[1], in fcoei_port_event() 1316 eport->eport_portwwn[2], eport->eport_portwwn[3], in fcoei_port_event() 1317 eport->eport_portwwn[4], eport->eport_portwwn[5], in fcoei_port_event() 1318 eport->eport_portwwn[6], eport->eport_portwwn[7]); in fcoei_port_event() 1322 if (eport->eport_mtu >= 2200) { in fcoei_port_event() 1323 EPORT2SS(eport)->ss_fcp_data_payload_size = in fcoei_port_event() [all …]
|
H A D | fcoei.c | 408 fcoe_port_t *eport; in fcoei_attach_init() local 439 eport = fcoe_register_client(&client_fcoei); in fcoei_attach_init() 440 if (eport == NULL) { in fcoei_attach_init() 443 ss->ss_eport = eport; in fcoei_attach_init() 444 FCOE_SET_DEFAULT_FPORT_ADDR(eport->eport_efh_dst); in fcoei_attach_init() 530 bcopy(eport->eport_portwwn, els->nport_ww_name.raw_wwn, 8); in fcoei_attach_init() 531 bcopy(eport->eport_nodewwn, els->node_ww_name.raw_wwn, 8); in fcoei_attach_init() 572 eport->eport_deregister_client(eport); in fcoei_attach_init()
|
H A D | fcoei.h | 363 void fcoei_port_event(fcoe_port_t *eport, uint32_t event);
|
/titanic_50/usr/src/uts/common/sys/fcoe/ |
H A D | fcoe_common.h | 135 fcoe_frame_t *(*eport_alloc_frame)(struct fcoe_port *eport, 138 void *(*eport_alloc_netb)(struct fcoe_port *eport, 141 void (*eport_deregister_client)(struct fcoe_port *eport); 142 int (*eport_ctl)(struct fcoe_port *eport, 144 int (*eport_set_mac_address)(struct fcoe_port *eport, 187 void (*ect_port_event)(fcoe_port_t *eport, uint32_t event); 300 #define EPORT_CLT_TYPE(eport) \ argument 301 (((eport)->eport_flags & EPORT_FLAG_INI_MODE) ? \
|
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_bay.c | 260 x86pi_gen_bay(topo_mod_t *mod, tnode_t *t_parent, smbios_port_ext_t *eport, in x86pi_gen_bay() argument 283 port_id = eport->smbporte_port; in x86pi_gen_bay() 319 rv = bay_bdf(mod, eport, &bdf); in x86pi_gen_bay() 329 rv = bay_update_tnode(mod, tn_bay, bdf, eport->smbporte_phy); in x86pi_gen_bay()
|
/titanic_50/usr/src/uts/common/io/comstar/port/fcoet/ |
H A D | fcoet_eth.h | 35 void fcoet_port_event(fcoe_port_t *eport, uint32_t event);
|
H A D | fcoet.c | 437 fcoe_port_t *eport; in fcoet_attach_init() local 471 eport = fcoe_register_client(&client_fcoet); in fcoet_attach_init() 472 if (eport == NULL) { in fcoet_attach_init() 511 ss->ss_eport = eport; in fcoet_attach_init() 512 FCOE_SET_DEFAULT_FPORT_ADDR(eport->eport_efh_dst); in fcoet_attach_init()
|
H A D | fcoet_eth.c | 337 fcoet_port_event(fcoe_port_t *eport, uint32_t event) in fcoet_port_event() argument 339 fcoet_soft_state_t *ss = EPORT2SS(eport); in fcoet_port_event() 342 if (eport->eport_mtu >= FCOE_MIN_MTU_SIZE) { in fcoet_port_event()
|