Searched refs:gidpt (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_fabric.c | 57 static int32_t ocs_process_gidpt_payload(ocs_node_t *node, fcct_gidpt_acc_t *gidpt, uint32_t gidpt_… 1847 ocs_process_gidpt_payload(ocs_node_t *node, fcct_gidpt_acc_t *gidpt, uint32_t gidpt_len) in ocs_process_gidpt_payload() argument 1861 residual = ocs_be16toh(gidpt->hdr.max_residual_size); in ocs_process_gidpt_payload() 1867 if (ocs_be16toh(gidpt->hdr.cmd_rsp_code) == FCCT_HDR_CMDRSP_REJECT) { in ocs_process_gidpt_payload() 1869 gidpt->hdr.reason_code, gidpt->hdr.reason_code_explanation); in ocs_process_gidpt_payload() 1873 portlist_count = (gidpt_len - sizeof(fcct_iu_header_t)) / sizeof(gidpt->port_list); in ocs_process_gidpt_payload() 1909 port_id = fc_be24toh(gidpt->port_list[i].port_id); in ocs_process_gidpt_payload() 1917 if (gidpt->port_list[i].ctl & FCCT_GID_PT_LAST_ID) in ocs_process_gidpt_payload() 1940 uint32_t port_id = fc_be24toh(gidpt->port_list[i].port_id); in ocs_process_gidpt_payload() 1967 if (gidpt->port_list[i].ctl & FCCT_GID_PT_LAST_ID) { in ocs_process_gidpt_payload()
|
H A D | ocs_els.c | 1824 fcct_gidpt_req_t *gidpt; in ocs_ns_send_gidpt() local 1828 els = ocs_els_io_alloc_size(node, sizeof(*gidpt), OCS_ELS_GID_PT_RSP_LEN, OCS_ELS_ROLE_ORIGINATOR); in ocs_ns_send_gidpt() 1841 gidpt = els->els_req.virt; in ocs_ns_send_gidpt() 1843 ocs_memset(gidpt, 0, sizeof(*gidpt)); in ocs_ns_send_gidpt() 1844 …fcct_build_req_header(&gidpt->hdr, FC_GS_NAMESERVER_GID_PT, (OCS_ELS_GID_PT_RSP_LEN - sizeof(gidpt… in ocs_ns_send_gidpt() 1845 gidpt->domain_id_scope = 0; in ocs_ns_send_gidpt() 1846 gidpt->area_id_scope = 0; in ocs_ns_send_gidpt() 1847 gidpt->port_type = 0x7f; in ocs_ns_send_gidpt()
|