Lines Matching refs:base_qedf
1823 struct qedf_ctx *base_qedf = lport_priv(n_port); in qedf_vport_create() local
1832 QEDF_WARN(&(base_qedf->dbg_ctx), "Failed to create vport, " in qedf_vport_create()
1837 if (atomic_read(&base_qedf->link_state) != QEDF_LINK_UP) { in qedf_vport_create()
1838 QEDF_WARN(&(base_qedf->dbg_ctx), "Cannot create vport " in qedf_vport_create()
1845 QEDF_WARN(&(base_qedf->dbg_ctx), "Could not create lport " in qedf_vport_create()
1851 QEDF_ERR(&(base_qedf->dbg_ctx), "Creating NPIV port, WWPN=%s.\n", in qedf_vport_create()
1856 memcpy(vport_qedf, base_qedf, sizeof(struct qedf_ctx)); in qedf_vport_create()
1861 vport_qedf->hba_lock = base_qedf->hba_lock; in qedf_vport_create()
1862 vport_qedf->pdev = base_qedf->pdev; in qedf_vport_create()
1863 vport_qedf->cmd_mgr = base_qedf->cmd_mgr; in qedf_vport_create()
1870 QEDF_ERR(&(base_qedf->dbg_ctx), "Could not allocate memory " in qedf_vport_create()
1889 QEDF_WARN(&base_qedf->dbg_ctx, in qedf_vport_create()
1926 if (base_qedf->pdev->device == QL45xxx) in qedf_vport_create()
1930 if (base_qedf->pdev->device == QL41xxx) in qedf_vport_create()
1946 QEDF_INFO(&(base_qedf->dbg_ctx), QEDF_LOG_NPIV, "vn_port=%p.\n", in qedf_vport_create()
1951 vport_qedf->dbg_ctx.pdev = base_qedf->pdev; in qedf_vport_create()