diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-07-20 20:04:24 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-27 06:57:31 -0400 |
commit | 4c5d22bf7bdea68d3d449f6a8e1835da84909346 (patch) | |
tree | fb891101e865e1794c2c4cca71e1f0ecc6485bcb /drivers/scsi/bfa/bfa_fcpim.h | |
parent | 83763d591b343b07331cebe86715205230c568b1 (diff) |
[SCSI] bfa: Added support to configure lunmasking
- Added support to enable / disable lunmasking on Brocade adapter ports.
- Added support to query / clear lunmasking configuration.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_fcpim.h')
-rw-r--r-- | drivers/scsi/bfa/bfa_fcpim.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_fcpim.h b/drivers/scsi/bfa/bfa_fcpim.h index 99fc913929b6..1080bcb81cb7 100644 --- a/drivers/scsi/bfa/bfa_fcpim.h +++ b/drivers/scsi/bfa/bfa_fcpim.h | |||
@@ -416,5 +416,12 @@ void bfa_cb_tskim_done(void *bfad, struct bfad_tskim_s *dtsk, | |||
416 | 416 | ||
417 | void bfa_fcpim_lunmask_rp_update(struct bfa_s *bfa, wwn_t lp_wwn, | 417 | void bfa_fcpim_lunmask_rp_update(struct bfa_s *bfa, wwn_t lp_wwn, |
418 | wwn_t rp_wwn, u16 rp_tag, u8 lp_tag); | 418 | wwn_t rp_wwn, u16 rp_tag, u8 lp_tag); |
419 | bfa_status_t bfa_fcpim_lunmask_update(struct bfa_s *bfa, u32 on_off); | ||
420 | bfa_status_t bfa_fcpim_lunmask_query(struct bfa_s *bfa, void *buf); | ||
421 | bfa_status_t bfa_fcpim_lunmask_delete(struct bfa_s *bfa, u16 vf_id, | ||
422 | wwn_t *pwwn, wwn_t rpwwn, struct scsi_lun lun); | ||
423 | bfa_status_t bfa_fcpim_lunmask_add(struct bfa_s *bfa, u16 vf_id, | ||
424 | wwn_t *pwwn, wwn_t rpwwn, struct scsi_lun lun); | ||
425 | bfa_status_t bfa_fcpim_lunmask_clear(struct bfa_s *bfa); | ||
419 | 426 | ||
420 | #endif /* __BFA_FCPIM_H__ */ | 427 | #endif /* __BFA_FCPIM_H__ */ |