Lines Matching full:os
50 struct efct *efct = hw->os; in efct_hw_read_max_dump_size()
66 efc_log_debug(hw->os, "set dump location cmd failed\n"); in efct_hw_read_max_dump_size()
73 efc_log_debug(hw->os, "Dump size %x\n", hw->dump_size); in efct_hw_read_max_dump_size()
85 struct efct *efct = hw->os; in __efct_read_topology_cb()
88 efc_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status, in __efct_read_topology_cb()
170 struct efct *efct = hw->os; in efct_hw_cb_link()
183 efc_log_info(hw->os, "Link Up, NPORT, speed is %d\n", in efct_hw_cb_link()
193 efc_log_info(hw->os, "Link Up, LOOP, speed is %d\n", in efct_hw_cb_link()
203 efc_log_debug(hw->os, "READ_TOPOLOGY failed\n"); in efct_hw_cb_link()
205 efc_log_info(hw->os, "%s(%#x), speed is %d\n", in efct_hw_cb_link()
211 efc_log_info(hw->os, "Link down\n"); in efct_hw_cb_link()
221 efc_log_debug(hw->os, "unhandled link status %#x\n", in efct_hw_cb_link()
230 efct_hw_setup(struct efct_hw *hw, void *os, struct pci_dev *pdev) in efct_hw_setup() argument
246 hw->os = os; in efct_hw_setup()
258 efc_log_err(hw->os, "failed to allocate mailbox buffer pool\n"); in efct_hw_setup()
266 efc_log_err(hw->os, "failed to allocate mbox request pool\n"); in efct_hw_setup()
278 if (sli_setup(&hw->sli, hw->os, pdev, ((struct efct *)os)->reg)) { in efct_hw_setup()
279 efc_log_err(hw->os, "SLI setup failed\n"); in efct_hw_setup()
321 efc_log_info(hw->os, in efct_logfcfi()
401 efc_log_err(hw->os, "unhandled io type %#x for XRI 0x%x\n", in efct_hw_wq_process_io()
415 efc_log_debug(hw->os, "aborting xri=%#x tag=%#x\n", in efct_hw_wq_process_io()
440 efc_log_debug(hw->os, "%s%#x tag=%#x\n", in efct_hw_wq_process_io()
448 efc_log_debug(hw->os, "%s%#x tag=%#x rc=%d\n", in efct_hw_wq_process_io()
487 struct efct *efct = hw->os; in efct_hw_setup_io()
541 efc_log_err(hw->os, "can't allocate request tag\n"); in efct_hw_setup_io()
554 efc_log_err(hw->os, in efct_hw_setup_io()
567 efc_log_err(hw->os, "dma_alloc fail %d\n", i); in efct_hw_setup_io()
612 struct efct *efct = hw->os; in efct_hw_init_prereg_io()
652 efc_log_err(hw->os, "SGL post failed, rc=%d\n", rc); in efct_hw_init_prereg_io()
710 efc_log_warn(hw->os, "set FDT hint %d failed: %d\n", in efct_hw_config_set_fdt_xfer_hint()
713 efc_log_info(hw->os, "Set FTD transfer hint to %d\n", in efct_hw_config_set_fdt_xfer_hint()
726 efc_log_info(hw->os, "using REG_FCFI standard\n"); in efct_hw_config_rq()
768 efc_log_err(hw->os, "FCFI registration failed\n"); in efct_hw_config_rq()
804 efc_log_debug(hw->os, "Issue reg_fcfi_mrq count:%d policy:%d mode:%d\n", in efct_hw_config_mrq()
811 efc_log_err(hw->os, "sli_cmd_reg_fcfi_mrq() failed\n"); in efct_hw_config_mrq()
820 efc_log_err(hw->os, "FCFI MRQ reg failed. cmd=%x status=%x\n", in efct_hw_config_mrq()
874 efc_log_err(hw->os, "efct_hw_command returns %d\n", rc); in efct_hw_config_sli_port_health_check()
876 efc_log_debug(hw->os, "SLI Port Health Check is enabled\n"); in efct_hw_config_sli_port_health_check()
901 efc_log_err(hw->os, "command found on cmd list\n"); in efct_hw_init()
906 efc_log_err(hw->os, "command found on pending list\n"); in efct_hw_init()
932 efc_log_debug(hw->os, "rmvd %d items from io_wait_free list\n", in efct_hw_init()
943 efc_log_debug(hw->os, "rmvd %d items from io_inuse list\n", in efct_hw_init()
954 efc_log_debug(hw->os, "rmvd %d items from io_free list\n", in efct_hw_init()
962 efc_log_err(hw->os, "SLI failed to initialize\n"); in efct_hw_init()
969 efc_log_err(hw->os, "Enable port Health check fail\n"); in efct_hw_init()
988 efc_log_debug(hw->os, "Max CQs %d, hash size = %d\n", in efct_hw_init()
992 efc_log_debug(hw->os, "Max RQs %d, hash size = %d\n", in efct_hw_init()
996 efc_log_debug(hw->os, "Max WQs %d, hash size = %d\n", in efct_hw_init()
1010 efc_log_err(hw->os, "rx_allocate failed\n"); in efct_hw_init()
1016 efc_log_err(hw->os, "WARNING - error posting RQ buffers\n"); in efct_hw_init()
1023 efc_log_err(hw->os, "config rq failed %d\n", rc); in efct_hw_init()
1029 efc_log_err(hw->os, "REG_FCFI_MRQ FCFI reg failed\n"); in efct_hw_init()
1035 efc_log_err(hw->os, "REG_FCFI_MRQ MRQ reg failed\n"); in efct_hw_init()
1047 efc_log_err(hw->os, "efct_hw_reqtag_pool_alloc failed\n"); in efct_hw_init()
1053 efc_log_err(hw->os, "IO allocation failure\n"); in efct_hw_init()
1059 efc_log_err(hw->os, "IO initialization failure\n"); in efct_hw_init()
1065 dma->virt = dma_alloc_coherent(&hw->os->pci->dev, dma->size, &dma->phys, in efct_hw_init()
1111 efc_log_err(hw->os, "alloc for send_frame_io failed\n"); in efct_hw_init()
1132 efc_log_err(hw->os, "p is NULL\n"); in efct_hw_parse_filter()
1139 efc_log_err(hw->os, "kstrtoint failed\n"); in efct_hw_parse_filter()
1176 struct efct *efct = hw->os; in efct_hw_rx_buffer_alloc()
1197 efc_log_err(hw->os, "DMA allocation failed\n"); in efct_hw_rx_buffer_alloc()
1210 struct efct *efct = hw->os; in efct_hw_rx_buffer_free()
1229 struct efct *efct = hw->os; in efct_hw_rx_allocate()
1251 efc_log_debug(hw->os, in efct_hw_rx_allocate()
1266 efc_log_debug(hw->os, in efct_hw_rx_allocate()
1365 efc_log_debug(hw->os, in efct_hw_cmd_submit_pending()
1386 efc_log_crit(hw->os, "Chip in an error state - reset needed\n"); in efct_hw_command()
1387 efc_log_crit(hw->os, "status=%#x error1=%#x error2=%#x\n", in efct_hw_command()
1416 efc_log_err(hw->os, "Can't send command, HW state=%d\n", in efct_hw_command()
1464 efc_log_err(hw->os, "no command context\n"); in efct_hw_command_process()
1520 efc_log_debug(hw->os, "hung command %08x\n", in efct_hw_command_cancel()
1539 (*ctx->callback)(hw->os->efcport, status, mqe, in efct_mbox_rsp_cb()
1593 efc_log_err(hw->os, "WQ not assigned for cpu:%d\n", in _efct_hw_io_alloc()
1697 efc_log_err(hw->os, "bad parameter hw=%p io=%p\n", hw, io); in efct_hw_io_init_sges()
1749 efc_log_err(hw->os, "unsupported IO type %#x\n", type); in efct_hw_io_init_sges()
1784 efc_log_err(hw->os, in efct_hw_io_add_sge()
1791 efc_log_err(hw->os, in efct_hw_io_add_sge()
1893 efc_log_err(hw->os, "HW IO already freed\n"); in efct_hw_wq_process_abort()
1937 efc_log_err(hw->os, "bad parameter hw=%p io=%p\n", in efct_hw_io_abort()
1943 efc_log_err(hw->os, "cannot send IO abort, HW state=%d\n", in efct_hw_io_abort()
1951 efc_log_debug(hw->os, in efct_hw_io_abort()
1959 efc_log_debug(hw->os, "io_to_abort xri=0x%x not active on WQ\n", in efct_hw_io_abort()
1973 efc_log_debug(hw->os, in efct_hw_io_abort()
1999 efc_log_err(hw->os, "can't allocate request tag\n"); in efct_hw_io_abort()
2127 efc_log_err(hw->os, "WQCB is already freed\n"); in efct_hw_reqtag_free()
2144 efc_log_err(hw->os, "wqcb for instance %d is null\n", in efct_hw_reqtag_get_instance()
2241 efc_log_err(hw->os, "bad CQ_ID %#06x\n", cq_id); in efct_hw_eq_process()
2372 efc_log_err(hw->os, "bad WQ_ID %#06x\n", wq_id); in efct_hw_cq_process()
2389 efc_log_debug(hw->os, "unhandled ctype=%#x rid=%#x\n", in efct_hw_cq_process()
2419 efc_log_err(hw->os, "reque xri failed, status = %d\n", in efct_hw_wq_process()
2426 efc_log_err(hw->os, "invalid request tag: x%x\n", rid); in efct_hw_wq_process()
2431 efc_log_err(hw->os, "wqcb callback is NULL\n"); in efct_hw_wq_process()
2449 efc_log_err(hw->os, "xabt io lookup failed rid=%#x\n", rid); in efct_hw_xabt_process()
2454 efc_log_debug(hw->os, "xabt io not busy rid=%#x\n", rid); in efct_hw_xabt_process()
2577 efc_log_err(hw->os, in efct_hw_bls_send()
2584 efc_log_err(hw->os, "HIO allocation failed\n"); in efct_hw_bls_send()
2609 efc_log_err(hw->os, "XMIT_BLS_RSP64 WQE error\n"); in efct_hw_bls_send()
2626 efc_log_err(hw->os, in efct_hw_bls_send()
2714 efc_log_debug(hw->os, in efct_els_hw_srrs_send()
2769 efc_log_err(hw->os, "REQ WQE error\n"); in efct_els_hw_srrs_send()
2783 efc_log_err(hw->os, "RSP WQE error\n"); in efct_els_hw_srrs_send()
2797 efc_log_err(hw->os, "GEN WQE error\n"); in efct_els_hw_srrs_send()
2811 efc_log_err(hw->os, "XMIT SEQ WQE error\n"); in efct_els_hw_srrs_send()
2817 efc_log_err(hw->os, "bad SRRS type %#x\n", io->io_type); in efct_els_hw_srrs_send()
2835 efc_log_err(hw->os, in efct_els_hw_srrs_send()
2858 efc_log_err(hw->os, "cannot send IO, HW state=%d\n", hw->state); in efct_hw_io_send()
2894 efc_log_err(hw->os, "TRECEIVE WQE error\n"); in efct_hw_io_send()
2914 efc_log_err(hw->os, "TSEND WQE error\n"); in efct_hw_io_send()
2933 efc_log_err(hw->os, "TRSP WQE error\n"); in efct_hw_io_send()
2940 efc_log_err(hw->os, "unsupported IO type %#x\n", type); in efct_hw_io_send()
2959 efc_log_err(hw->os, in efct_hw_io_send()
2988 efc_log_err(hw->os, "can't allocate request tag\n"); in efct_hw_send_frame()
3005 efc_log_err(hw->os, "sli_send_frame_wqe failed: %d\n", rc); in efct_hw_send_frame()
3012 efc_log_err(hw->os, "efct_hw_wq_write failed: %d\n", rc); in efct_hw_send_frame()
3204 efc_log_debug(hw->os, "READ_HOST_STATS failed\n"); in efct_hw_get_host_stats()
3250 efc_log_err(hw->os, "COMMON_NOP format failure\n"); in efct_hw_async_call()
3258 efc_log_err(hw->os, "COMMON_NOP command failure, rc=%d\n", rc); in efct_hw_async_call()
3324 efc_log_debug(hw->os, "COMMON_WRITE_OBJECT failed\n"); in efct_hw_firmware_write()
3356 efc_log_err(hw->os, "CONFIG_LINK failed\n"); in efct_hw_port_control()
3368 efc_log_err(hw->os, "INIT_LINK failed\n"); in efct_hw_port_control()
3377 efc_log_err(hw->os, "DOWN_LINK failed\n"); in efct_hw_port_control()
3381 efc_log_debug(hw->os, "unhandled control %#x\n", ctrl); in efct_hw_port_control()
3395 struct efct *efct = hw->os; in efct_hw_teardown()
3412 efc_log_debug(hw->os, in efct_hw_teardown()
3415 efc_log_debug(hw->os, in efct_hw_teardown()
3511 efc_log_debug(hw->os, "issuing function level reset\n"); in efct_hw_sli_reset()
3513 efc_log_err(hw->os, "sli_reset failed\n"); in efct_hw_sli_reset()
3518 efc_log_debug(hw->os, "issuing firmware reset\n"); in efct_hw_sli_reset()
3520 efc_log_err(hw->os, "sli_soft_reset failed\n"); in efct_hw_sli_reset()
3527 efc_log_debug(hw->os, "issuing function level reset\n"); in efct_hw_sli_reset()
3529 efc_log_err(hw->os, "sli_reset failed\n"); in efct_hw_sli_reset()
3534 efc_log_err(hw->os, "unknown type - no reset performed\n"); in efct_hw_sli_reset()
3550 efc_log_debug(hw->os, in efct_hw_reset()
3567 efc_log_debug(hw->os, in efct_hw_reset()
3570 efc_log_err(hw->os, in efct_hw_reset()