Home
last modified time | relevance | path

Searched refs:ocs_log_err (Results 1 – 22 of 22) sorted by relevance

/freebsd-12-stable/sys/dev/ocs_fc/
Docs_xport.c145 ocs_log_err(ocs, "memory allocation failure\n"); in ocs_xport_rq_threads_create()
164 ocs_log_err(ocs, "ocs_thread_create failed: %d\n", rc); in ocs_xport_rq_threads_create()
218 ocs_log_err(ocs, "%s: Can't setup hardware\n", ocs->desc); in ocs_xport_attach()
246 ocs_log_err(ocs, "%s: Can't set number of SGLs\n", ocs->desc); in ocs_xport_attach()
259 ocs_log_err(ocs, "Can't allocate node pool\n"); in ocs_xport_attach()
269 ocs_log_err(ocs, "Can't allocate IO pool\n"); in ocs_xport_attach()
279 ocs_log_err(ocs, "failure creating RQ threads\n"); in ocs_xport_attach()
439 ocs_log_err(ocs, "%s: Can't set number of IOs\n", ocs->desc); in ocs_xport_initialize()
450 ocs_log_err(ocs, "Cannot enable high login mode for this port\n"); in ocs_xport_initialize()
454 ocs_log_err(ocs, "%s: Can't set high login mode\n", ocs->desc); in ocs_xport_initialize()
[all …]
Docs_gendump.c66 ocs_log_err(ocs, "failed to initialize hw\n"); in ocs_gen_dump_reset()
180 ocs_log_err(NULL, "port index(%d) out of boundary\n", in ocs_gen_dump()
218 ocs_log_err(ocs, "Failed to see dump after 10 secs\n"); in ocs_fdb_dump()
225 ocs_log_err(ocs, "dump request to hw failed\n"); in ocs_fdb_dump()
265 ocs_log_err(ocs, "Failed to dump buffers\n"); in ocs_dump_to_host()
277 ocs_log_err(ocs, "Failed to allocate dump buffer\n"); in ocs_dump_to_host()
327 ocs_log_err(ocs, "zero buffer length is invalid\n"); in ocs_function_speciic_dump()
336 ocs_log_err(ocs, "Failed to allocate dump buffers\n"); in ocs_function_speciic_dump()
347 ocs_log_err(ocs, "Failed to allocate dma buffer\n"); in ocs_function_speciic_dump()
358 ocs_log_err(ocs, "ocs_hw_set_dump_location failed\n"); in ocs_function_speciic_dump()
[all …]
Docs_hw.c246 ocs_log_err(hw->os, "bad parameter hw=%p\n", hw); in ocs_hw_link_event_init()
339 ocs_log_err(os, "bad parameter(s) hw=%p\n", hw); in ocs_hw_setup()
381 ocs_log_err(hw->os, "SLI setup failed\n"); in ocs_hw_setup()
621 ocs_log_err(hw->os, "SLI failed to initialize\n"); in ocs_hw_init()
642 ocs_log_err(hw->os, "config auto xfer rdy failed\n"); in ocs_hw_init()
651 ocs_log_err(hw->os, "set parameters auto xfer rdy T10 PI failed\n"); in ocs_hw_init()
660 ocs_log_err(hw->os, "Enabling Sliport Health check failed \n"); in ocs_hw_init()
682 ocs_log_err(hw->os, "requested %d EQ but %d allowed\n", in ocs_hw_init()
690 ocs_log_err(hw->os, "requested %d CQ but %d allowed\n", in ocs_hw_init()
698 ocs_log_err(hw->os, "requested %d MQ but %d allowed\n", in ocs_hw_init()
[all …]
Docs_domain.c122 ocs_log_err(ocs, "ocs_domain_alloc() failed\n"); in ocs_domain_cb()
238 ocs_log_err(ocs, "spv_new() failed\n"); in ocs_domain_alloc()
258 ocs_log_err(ocs, "domain allocation failed\n"); in ocs_domain_alloc()
389 ocs_log_err(ocs, "invalid index: %d\n", index); in ocs_domain_get_instance()
547 ocs_log_err(ocs, "ocs_sport_alloc() failed\n"); in __ocs_domain_init()
556 ocs_log_err(ocs, "no VLAN id available (FCF=%d)\n", in __ocs_domain_init()
568 ocs_log_err(ocs, "Can't allocate port\n"); in __ocs_domain_init()
604 ocs_log_err(ocs, "ocs_node_alloc() failed\n"); in __ocs_domain_init()
615 ocs_log_err(ocs, "Failed to initiate HW domain allocation\n"); in __ocs_domain_init()
710 ocs_log_err(ocs, "Hmmmm ... Fabric Controller node already exists\n"); in __ocs_domain_wait_alloc()
[all …]
Docs_hw_queues.c95 ocs_log_err(hw->os, "MRQ topology not supported by SLI4.\n"); in ocs_hw_init_queues()
106 ocs_log_err(hw->os, "ocs_varray_alloc for wq_class failed\n"); in ocs_hw_init_queues()
115 ocs_log_err(hw->os, "ocs_varray_alloc for wq_class failed\n"); in ocs_hw_init_queues()
172 ocs_log_err(hw->os, "invalid ULP %d for WQ\n", qt->ulp); in ocs_hw_init_queues()
185 ocs_log_err(hw->os, "QTOP_WQ: EQ ocs_varray_add failed\n"); in ocs_hw_init_queues()
193 ocs_log_err(hw->os, "HW wq_class_array ocs_varray_add failed\n"); in ocs_hw_init_queues()
198 ocs_log_err(hw->os, "Invalid class value: %d\n", qt->class); in ocs_hw_init_queues()
208 ocs_log_err(hw->os, "HW wq_cpu_array ocs_varray_add failed\n"); in ocs_hw_init_queues()
223 ocs_log_err(hw->os, "invalid ULP %d for RQ\n", qt->ulp); in ocs_hw_init_queues()
367 ocs_log_err(hw->os, "EQ[%d] allocation failure\n", eq->instance); in hw_new_eq()
[all …]
Docs_els.c207 ocs_log_err(ocs, "assertion failed. HIO is not null\n"); in ocs_els_io_alloc_size()
222 ocs_log_err(ocs, "ELS command request len greater than allocated\n"); in ocs_els_io_alloc_size()
229 ocs_log_err(ocs, "ELS command response len: %d " in ocs_els_io_alloc_size()
320 ocs_log_err(ocs, "assertion failed: niether els->els_pend nor els->active set\n"); in _ocs_els_io_free()
354 ocs_log_err(node->ocs, "assertion failed: both els->els_pend and els->active set\n"); in ocs_els_make_active()
370 ocs_log_err(node->ocs, "assertion failed: niether els->els_pend nor els->active set\n"); in ocs_els_make_active()
628 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_plogi()
688 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_flogi()
747 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_fdisc()
799 ocs_log_err(ocs, "IO alloc failed\n"); in ocs_send_prli()
[all …]
Docs_io.c112 ocs_log_err(ocs, "allocate of IO pool failed\n"); in ocs_io_pool_create()
135 ocs_log_err(ocs, "ocs_dma_alloc cmdbuf failed\n"); in ocs_io_pool_create()
144 ocs_log_err(ocs, "ocs_dma_alloc cmdbuf failed\n"); in ocs_io_pool_create()
152 ocs_log_err(ocs, "malloc sgl's failed\n"); in ocs_io_pool_create()
165 ocs_log_err(ocs, "ocs_dma_alloc els_req failed\n"); in ocs_io_pool_create()
172 ocs_log_err(ocs, "ocs_dma_alloc els_rsp failed\n"); in ocs_io_pool_create()
Dsli4.c265 ocs_log_err(sli->os, "regname %d not defined for if_type %d\n", reg, sli->if_type); in sli_reg_read()
287 ocs_log_err(sli->os, "regname %d not defined for if_type %d\n", reg, sli->if_type); in sli_reg_write()
544 ocs_log_err(sli4->os, "invalid or wrong type\n"); in sli_bmbx_command()
795 ocs_log_err(sli4->os, "unsupported topology %#x\n", sli4->config.topology); in sli4_set_link_flags_config_topo()
3255 ocs_log_err(NULL, "bad parameter sli4=%p buf=%p\n", sli4, buf); in sli_cqe_async()
3302 ocs_log_err(NULL, "bad parameter buf=%p cmd=%#x\n", buf, in sli_res_sli_config()
3336 ocs_log_err(sli4->os, "bad status COM_FUNC_RESET\n"); in sli_common_function_reset()
3340 ocs_log_err(sli4->os, "bad COM_FUNC_RESET write\n"); in sli_common_function_reset()
3425 ocs_log_err(sli4->os, "bad COM_FUNC_RESET write\n"); in sli_fw_init()
3469 ocs_log_err(sli4->os, "bad COM_FUNC_RESET write\n"); in sli_fw_term()
[all …]
Docs_ioctl.c413 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
483 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
514 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
544 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
555 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
580 ocs_log_err(ocs, "Error: ocs_textbuf_alloc failed\n"); in ocs_ioctl()
680 ocs_log_err(ocs, "ocs_firmware_write: malloc failed\n"); in ocs_firmware_write()
771 ocs_log_err(ocs, "Firmware update failed with status = %d\n", rc); in ocs_sys_fwupgrade()
1014 ocs_log_err(ocs, "Setting port to offline failed\n"); in ocs_sysctl_port_state()
1023 ocs_log_err(ocs, "Setting port to online failed\n"); in ocs_sysctl_port_state()
[all …]
Docs_unsol.c634 ocs_log_err(ocs, "ocs_node_alloc() failed\n"); in ocs_domain_dispatch_frame()
923 ocs_log_err(ocs, "IO allocation failed ox_id %04x\n", ocs_be16toh(fchdr->ox_id)); in ocs_dispatch_fcp_cmd()
936 ocs_log_err(ocs, "ESP Header present. Fix ESP Size.\n"); in ocs_dispatch_fcp_cmd()
1024 ocs_log_err(ocs, "IO allocation failed ox_id %04x\n", ocs_be16toh(fchdr->ox_id)); in ocs_dispatch_fcp_cmd_auto_xfer_rdy()
1034 ocs_log_err(ocs, "TMF flags set 0x%x\n", cmnd->task_management_flags); in ocs_dispatch_fcp_cmd_auto_xfer_rdy()
1087 ocs_log_err(ocs, "data received for NULL io, xri=0x%x\n", in ocs_dispatch_fcp_data()
1097 ocs_log_err(ocs, "data received for host owned XRI, xri=0x%x\n", in ocs_dispatch_fcp_data()
1104 ocs_log_err(ocs, "data with status 0x%x received, xri=0x%x\n", in ocs_dispatch_fcp_data()
1133 ocs_log_err(ocs, "error passing first burst, xri=0x%x, oxid=0x%x\n", in ocs_dispatch_fcp_data()
Docs_mgmt.c605 ocs_log_err(other_ocs, in ocs_mgmt_firmware_reset()
647 ocs_log_err(ocs, "ocs_mgmt_firmware_write: malloc failed"); in ocs_mgmt_firmware_write()
677 ocs_log_err(ocs, "ocs_sem_p failed\n"); in ocs_mgmt_firmware_write()
785 ocs_log_err(ocs, "ocs_sem_p failed\n"); in ocs_mgmt_get_sfp()
1638 ocs_log_err(ocs, "ocs_sem_p failed\n"); in set_linkcfg()
1829 ocs_log_err(ocs, "Set persistent topology feature failed: %d\n", hw_rc); in set_configured_topology()
1908 ocs_log_err(ocs, "ocs_sem_p failed\n"); in get_port_protocol()
1992 ocs_log_err(ocs, "ocs_sem_p failed\n"); in set_port_protocol()
2049 ocs_log_err(ocs, "ocs_sem_p failed\n"); in get_profile_list()
2127 ocs_log_err(ocs, "ocs_sem_p failed\n"); in get_active_profile()
[all …]
Docs_sport.c427 ocs_log_err(sport->ocs, "ocs_hw_port_attach failed: %d\n", rc); in ocs_sport_attach()
634 ocs_log_err(ocs, "Can't allocate port\n"); in __ocs_sport_vport_init()
694 ocs_log_err(ocs, "ocs_node_alloc() failed\n"); in __ocs_sport_vport_wait_alloc()
861 ocs_log_err(sport->ocs, "ocs_hw_port_free failed\n"); in __ocs_sport_wait_shutdown()
1541 ocs_log_err(ocs, "ocs_malloc failed\n"); in ocs_vport_create_spec()
1776 ocs_log_err(ocs, "ocs_hw_node_group_alloc() failed: %d\n", hrc); in ocs_remote_node_group_alloc()
1876 ocs_log_err(ocs, "ocs_node_group_dir_alloc() failed\n"); in ocs_node_group_init()
1889 ocs_log_err(ocs, "ocs_remote_node_group_alloc() failed\n"); in ocs_node_group_init()
1898 ocs_log_err(node->ocs, "assertion failed: idx >= ocs->hlm_group_size\n"); in ocs_node_group_init()
Docs_pci.c261 ocs_log_err(ocs, "failed to allocate memory for saved ddump\n"); in ocs_setup_params()
396 ocs_log_err(ocs, "Get default wwn failed \n"); in ocs_setup_fcports()
638 ocs_log_err(ocs, "%s: Transport Shutdown timed out\n", __func__); in ocs_device_detach()
644 ocs_log_err(ocs, "%s: Transport detach failed\n", __func__); in ocs_device_detach()
Docs_os.c950 ocs_log_err(NULL, "bad parameter\n"); in ocs_setup_timer()
986 ocs_log_err(NULL, "bad parameter\n"); in ocs_mod_timer()
1041 ocs_log_err(NULL, "%s(%d) assertion (%s) failed\n", (fn ? fn + 1 : filename), linenum, cond); in _ocs_assert()
Docs_utils.c97 ocs_log_err(NULL, "Error: size exceeds slab length\n"); in ocs_array_alloc()
980 ocs_log_err(ocs, "Could not allocate queue history buffer\n"); in ocs_queue_history_init()
1865 ocs_log_err(textbuf->ocs, "alloc segment failed\n"); in ocs_textbuf_vprintf()
2335 ocs_log_err(ocs, "ocs_malloc ramlog failed\n"); in ocs_ramlog_init()
2343 ocs_log_err(ocs, "ocs_malloc textbufs failed\n"); in ocs_ramlog_init()
2351 ocs_log_err(ocs, "ocs_textbuf_alloc failed\n"); in ocs_ramlog_init()
Docs_fabric.c338 ocs_log_err(ocs, "FDISC failed, shutting down sport\n"); in __ocs_fabric_fdisc_wait_rsp()
878 ocs_log_err(node->ocs, "ocs_xport_control(OCS_XPORT_POST_NODE_EVENT) failed: %d\n", rc); in gidpt_delay_timer_cb()
1373 ocs_log_err(ocs, "node alloc failed\n"); in __ocs_p2p_wait_domain_attach()
1963 ocs_log_err(ocs, "ocs_node_alloc() failed\n"); in ocs_process_gidpt_payload()
Docs_scsi.c203 ocs_log_err(node->ocs, "assertion failed: io->hio is not NULL\n"); in ocs_scsi_io_alloc()
705 ocs_log_err(ocs, "ocs_hw_io_init_sges failed: %d\n", rc); in ocs_scsi_build_sgls()
771 ocs_log_err(ocs, "ocs_hw_io_add_sge failed: count=%d rc=%d\n", in ocs_scsi_build_sgls()
784 ocs_log_err(ocs, "ocs_hw_io_add_sge failed: count=%d rc=%d\n", in ocs_scsi_build_sgls()
1311 ocs_log_err(ocs, "ocs_dma_alloc overflow sgl failed\n"); in ocs_scsi_io_dispatch_hw_io()
1317 ocs_log_err(ocs, "ocs_hw_io_register_sgl() failed\n"); in ocs_scsi_io_dispatch_hw_io()
1695 ocs_log_err(ocs, "NULL response buffer\n"); in ocs_scsi_send_resp()
Docs_node.c250 ocs_log_err(ocs, "node ptrs allocation failed"); in ocs_node_create_pool()
270 ocs_log_err(ocs, "node allocation failed"); in ocs_node_create_pool()
282 ocs_log_err(ocs, "ocs_dma_alloc failed: %d\n", rc); in ocs_node_create_pool()
394 ocs_log_err(ocs, "node allocation failed %06x", port_id); in ocs_node_alloc()
418 ocs_log_err(ocs, "ocs_hw_node_alloc failed: %d\n", rc); in ocs_node_alloc()
Docs_cam.c198 ocs_log_err(ocs, "Attach port failed for chan: %d\n", i); in ocs_cam_attach()
412 ocs_log_err(ocs, "FCP is NULL \n"); in ocs_scsi_new_initiator()
484 ocs_log_err(ocs, "FCP is NULL \n"); in ocs_scsi_del_initiator()
542 ocs_log_err(ocs, "FCP is NULL \n"); in ocs_scsi_recv_cmd()
676 ocs_log_err(ocs, "FCP is NULL \n"); in ocs_scsi_recv_tmf()
1172 ocs_log_err(ocs,"FCP is NULL \n"); in ocs_scsi_del_target()
Docs_os.h375 #define ocs_log_err(os, fmt, ...) ocs_log(os, LOG_ERR, fmt, ##__VA_ARGS__); macro
Docs_ddump.c812 ocs_log_err(ocs, "Saved ddump not allocated\n"); in ocs_save_ddump()
Dsli4.h3652 ocs_log_err(NULL, "unsupported FC-AL speed (speed_code: %d)\n", link_speed); in sli_fcal_is_speed_supported()