Lines Matching refs:cnic
779 * @cnic: cnic device pointer
784 struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic)
792 shost->dma_boundary = cnic->pcidev->dma_mask;
801 hba->netdev = cnic->netdev;
803 hba->pcidev = cnic->pcidev;
812 bnx2i_identify_device(hba, cnic);
1044 * Allocates buffers and BD tables before shipping requests to cnic
1571 len = sysfs_format_mac(buf, hba->cnic->mac_addr, 6);
1673 struct cnic_dev *cnic = NULL;
1676 if (hba && hba->cnic)
1677 cnic = hba->cnic->cm_select_dev(desti, CNIC_ULP_ISCSI);
1678 if (!cnic) {
1680 "can't connect using cnic\n");
1683 hba = bnx2i_find_hba_for_cnic(cnic);
1715 hba->cnic->cm_destroy(ep->cm_sk);
1785 struct cnic_dev *cnic;
1810 cnic = hba->cnic;
1878 rc = cnic->cm_create(cnic, CNIC_ULP_ISCSI, bnx2i_ep->ep_cid,
1907 rc = cnic->cm_connect(bnx2i_ep->cm_sk, &saddr);
2032 struct cnic_dev *cnic;
2042 cnic = hba->cnic;
2043 if (!cnic)
2088 close_ret = cnic->cm_close(bnx2i_ep->cm_sk);
2090 close_ret = cnic->cm_abort(bnx2i_ep->cm_sk);
2185 /* handled by cnic driver */
2186 hba->cnic->iscsi_nl_msg_recv(hba->cnic, ISCSI_UEVENT_PATH_UPDATE, buf,