Lines Matching refs:cnic
784 struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic) in bnx2i_alloc_hba() argument
792 shost->dma_boundary = cnic->pcidev->dma_mask; in bnx2i_alloc_hba()
801 hba->netdev = cnic->netdev; in bnx2i_alloc_hba()
803 hba->pcidev = cnic->pcidev; in bnx2i_alloc_hba()
812 bnx2i_identify_device(hba, cnic); in bnx2i_alloc_hba()
1571 len = sysfs_format_mac(buf, hba->cnic->mac_addr, 6); in bnx2i_host_get_param()
1673 struct cnic_dev *cnic = NULL; in bnx2i_check_route() local
1676 if (hba && hba->cnic) in bnx2i_check_route()
1677 cnic = hba->cnic->cm_select_dev(desti, CNIC_ULP_ISCSI); in bnx2i_check_route()
1678 if (!cnic) { in bnx2i_check_route()
1683 hba = bnx2i_find_hba_for_cnic(cnic); in bnx2i_check_route()
1715 hba->cnic->cm_destroy(ep->cm_sk); in bnx2i_tear_down_conn()
1785 struct cnic_dev *cnic; in bnx2i_ep_connect() local
1810 cnic = hba->cnic; in bnx2i_ep_connect()
1878 rc = cnic->cm_create(cnic, CNIC_ULP_ISCSI, bnx2i_ep->ep_cid, in bnx2i_ep_connect()
1907 rc = cnic->cm_connect(bnx2i_ep->cm_sk, &saddr); in bnx2i_ep_connect()
2032 struct cnic_dev *cnic; in bnx2i_hw_ep_disconnect() local
2042 cnic = hba->cnic; in bnx2i_hw_ep_disconnect()
2043 if (!cnic) in bnx2i_hw_ep_disconnect()
2088 close_ret = cnic->cm_close(bnx2i_ep->cm_sk); in bnx2i_hw_ep_disconnect()
2090 close_ret = cnic->cm_abort(bnx2i_ep->cm_sk); in bnx2i_hw_ep_disconnect()
2186 hba->cnic->iscsi_nl_msg_recv(hba->cnic, ISCSI_UEVENT_PATH_UPDATE, buf, in bnx2i_nl_set_path()