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()
1417 efc_log_err(hw->os, "Can't send command, HW state=%d\n", in efct_hw_command()
1465 efc_log_err(hw->os, "no command context\n"); in efct_hw_command_process()
1521 efc_log_debug(hw->os, "hung command %08x\n", in efct_hw_command_cancel()
1540 (*ctx->callback)(hw->os->efcport, status, mqe, in efct_mbox_rsp_cb()
1594 efc_log_err(hw->os, "WQ not assigned for cpu:%d\n", in _efct_hw_io_alloc()
1698 efc_log_err(hw->os, "bad parameter hw=%p io=%p\n", hw, io); in efct_hw_io_init_sges()
1750 efc_log_err(hw->os, "unsupported IO type %#x\n", type); in efct_hw_io_init_sges()
1785 efc_log_err(hw->os, in efct_hw_io_add_sge()
1792 efc_log_err(hw->os, in efct_hw_io_add_sge()
1894 efc_log_err(hw->os, "HW IO already freed\n"); in efct_hw_wq_process_abort()
1938 efc_log_err(hw->os, "bad parameter hw=%p io=%p\n", in efct_hw_io_abort()
1944 efc_log_err(hw->os, "cannot send IO abort, HW state=%d\n", in efct_hw_io_abort()
1952 efc_log_debug(hw->os, in efct_hw_io_abort()
1960 efc_log_debug(hw->os, "io_to_abort xri=0x%x not active on WQ\n", in efct_hw_io_abort()
1974 efc_log_debug(hw->os, in efct_hw_io_abort()
2000 efc_log_err(hw->os, "can't allocate request tag\n"); in efct_hw_io_abort()
2128 efc_log_err(hw->os, "WQCB is already freed\n"); in efct_hw_reqtag_free()
2145 efc_log_err(hw->os, "wqcb for instance %d is null\n", in efct_hw_reqtag_get_instance()
2242 efc_log_err(hw->os, "bad CQ_ID %#06x\n", cq_id); in efct_hw_eq_process()
2373 efc_log_err(hw->os, "bad WQ_ID %#06x\n", wq_id); in efct_hw_cq_process()
2390 efc_log_debug(hw->os, "unhandled ctype=%#x rid=%#x\n", in efct_hw_cq_process()
2420 efc_log_err(hw->os, "reque xri failed, status = %d\n", in efct_hw_wq_process()
2427 efc_log_err(hw->os, "invalid request tag: x%x\n", rid); in efct_hw_wq_process()
2432 efc_log_err(hw->os, "wqcb callback is NULL\n"); in efct_hw_wq_process()
2450 efc_log_err(hw->os, "xabt io lookup failed rid=%#x\n", rid); in efct_hw_xabt_process()
2455 efc_log_debug(hw->os, "xabt io not busy rid=%#x\n", rid); in efct_hw_xabt_process()
2578 efc_log_err(hw->os, in efct_hw_bls_send()
2585 efc_log_err(hw->os, "HIO allocation failed\n"); in efct_hw_bls_send()
2610 efc_log_err(hw->os, "XMIT_BLS_RSP64 WQE error\n"); in efct_hw_bls_send()
2627 efc_log_err(hw->os, in efct_hw_bls_send()
2715 efc_log_debug(hw->os, in efct_els_hw_srrs_send()
2770 efc_log_err(hw->os, "REQ WQE error\n"); in efct_els_hw_srrs_send()
2784 efc_log_err(hw->os, "RSP WQE error\n"); in efct_els_hw_srrs_send()
2798 efc_log_err(hw->os, "GEN WQE error\n"); in efct_els_hw_srrs_send()
2812 efc_log_err(hw->os, "XMIT SEQ WQE error\n"); in efct_els_hw_srrs_send()
2818 efc_log_err(hw->os, "bad SRRS type %#x\n", io->io_type); in efct_els_hw_srrs_send()
2836 efc_log_err(hw->os, in efct_els_hw_srrs_send()
2859 efc_log_err(hw->os, "cannot send IO, HW state=%d\n", hw->state); in efct_hw_io_send()
2895 efc_log_err(hw->os, "TRECEIVE WQE error\n"); in efct_hw_io_send()
2915 efc_log_err(hw->os, "TSEND WQE error\n"); in efct_hw_io_send()
2934 efc_log_err(hw->os, "TRSP WQE error\n"); in efct_hw_io_send()
2941 efc_log_err(hw->os, "unsupported IO type %#x\n", type); in efct_hw_io_send()
2960 efc_log_err(hw->os, in efct_hw_io_send()
2989 efc_log_err(hw->os, "can't allocate request tag\n"); in efct_hw_send_frame()
3006 efc_log_err(hw->os, "sli_send_frame_wqe failed: %d\n", rc); in efct_hw_send_frame()
3013 efc_log_err(hw->os, "efct_hw_wq_write failed: %d\n", rc); in efct_hw_send_frame()
3205 efc_log_debug(hw->os, "READ_HOST_STATS failed\n"); in efct_hw_get_host_stats()
3251 efc_log_err(hw->os, "COMMON_NOP format failure\n"); in efct_hw_async_call()
3259 efc_log_err(hw->os, "COMMON_NOP command failure, rc=%d\n", rc); in efct_hw_async_call()
3325 efc_log_debug(hw->os, "COMMON_WRITE_OBJECT failed\n"); in efct_hw_firmware_write()
3357 efc_log_err(hw->os, "CONFIG_LINK failed\n"); in efct_hw_port_control()
3369 efc_log_err(hw->os, "INIT_LINK failed\n"); in efct_hw_port_control()
3378 efc_log_err(hw->os, "DOWN_LINK failed\n"); in efct_hw_port_control()
3382 efc_log_debug(hw->os, "unhandled control %#x\n", ctrl); in efct_hw_port_control()
3396 struct efct *efct = hw->os; in efct_hw_teardown()
3413 efc_log_debug(hw->os, in efct_hw_teardown()
3416 efc_log_debug(hw->os, in efct_hw_teardown()
3512 efc_log_debug(hw->os, "issuing function level reset\n"); in efct_hw_sli_reset()
3514 efc_log_err(hw->os, "sli_reset failed\n"); in efct_hw_sli_reset()
3519 efc_log_debug(hw->os, "issuing firmware reset\n"); in efct_hw_sli_reset()
3521 efc_log_err(hw->os, "sli_soft_reset failed\n"); in efct_hw_sli_reset()
3528 efc_log_debug(hw->os, "issuing function level reset\n"); in efct_hw_sli_reset()
3530 efc_log_err(hw->os, "sli_reset failed\n"); in efct_hw_sli_reset()
3535 efc_log_err(hw->os, "unknown type - no reset performed\n"); in efct_hw_sli_reset()
3551 efc_log_debug(hw->os, in efct_hw_reset()
3568 efc_log_debug(hw->os, in efct_hw_reset()
3571 efc_log_err(hw->os, in efct_hw_reset()