Message ID | 1604895845-2587-8-git-send-email-muneendra.kumar@broadcom.com |
---|---|
State | New |
Headers | show |
Series | [v4,01/19] cgroup: Added cgroup_get_from_kernfs_id | expand |
On 11/9/20 5:23 AM, Muneendra wrote: > From: Gaurav Srivastava <gaurav.srivastava@broadcom.com> > > This patch contains the forward declarations of commonly used APIs which > are used outside the scope of the file. > > Signed-off-by: Gaurav Srivastava <gaurav.srivastava@broadcom.com> > Signed-off-by: James Smart <jsmart2021@gmail.com> > > --- > v4: > No change > > v3: > No change > > v2: > Ported the patch on top of 5.10/scsi-queue > --- > drivers/scsi/lpfc/lpfc_crtn.h | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h > index 782f6f76f18a..74ca5860ca8e 100644 > --- a/drivers/scsi/lpfc/lpfc_crtn.h > +++ b/drivers/scsi/lpfc/lpfc_crtn.h > @@ -600,3 +600,14 @@ extern int lpfc_enable_nvmet_cnt; > extern unsigned long long lpfc_enable_nvmet[]; > extern int lpfc_no_hba_reset_cnt; > extern unsigned long lpfc_no_hba_reset[]; > + > +/* vmid interface */ > +int lpfc_vmid_uvem(struct lpfc_vport *vport, struct lpfc_vmid *vmid, bool ins); > +u32 lpfc_vmid_get_cs_ctl(struct lpfc_vport *vport); > +int lpfc_vmid_cmd(struct lpfc_vport *vport, > + int cmdcode, struct lpfc_vmid *vmid); > +int lpfc_vmid_hash_fn(char *vmid, int len); > +struct lpfc_vmid *lpfc_get_vmid_from_hastable(struct lpfc_vport *vport, > + u32 hash, u8 *buf); > +void lpfc_vmid_vport_cleanup(struct lpfc_vport *vport); > +int lpfc_issue_els_qfpa(struct lpfc_vport *vport); > uint32_t ... Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
diff --git a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h index 782f6f76f18a..74ca5860ca8e 100644 --- a/drivers/scsi/lpfc/lpfc_crtn.h +++ b/drivers/scsi/lpfc/lpfc_crtn.h @@ -600,3 +600,14 @@ extern int lpfc_enable_nvmet_cnt; extern unsigned long long lpfc_enable_nvmet[]; extern int lpfc_no_hba_reset_cnt; extern unsigned long lpfc_no_hba_reset[]; + +/* vmid interface */ +int lpfc_vmid_uvem(struct lpfc_vport *vport, struct lpfc_vmid *vmid, bool ins); +u32 lpfc_vmid_get_cs_ctl(struct lpfc_vport *vport); +int lpfc_vmid_cmd(struct lpfc_vport *vport, + int cmdcode, struct lpfc_vmid *vmid); +int lpfc_vmid_hash_fn(char *vmid, int len); +struct lpfc_vmid *lpfc_get_vmid_from_hastable(struct lpfc_vport *vport, + u32 hash, u8 *buf); +void lpfc_vmid_vport_cleanup(struct lpfc_vport *vport); +int lpfc_issue_els_qfpa(struct lpfc_vport *vport);