diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2012-09-21 20:26:50 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-10-07 06:23:20 -0400 |
commit | 1a1297c644b38d2edfef3004bcc6f9c0084b43a9 (patch) | |
tree | 7bcb7981f79800bf6d6be5b5c1aa36cdea95a41e /drivers/scsi/bfa/bfi.h | |
parent | 7ace27ae28a5fa67fa3d25f31d1111991c81e015 (diff) |
[SCSI] bfa: Add support to configure min/max bandwidth for a pcifn
- Added support to configure minimum bandwidth for a pcifn.
- Minimum bandwith is guaranteed at per queue level.
- Added support to update pcifn bandwidth dynamically without
a server reboot.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfi.h')
-rw-r--r-- | drivers/scsi/bfa/bfi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfi.h b/drivers/scsi/bfa/bfi.h index 6f1dd9eac1d1..9c9861f8e6ce 100644 --- a/drivers/scsi/bfa/bfi.h +++ b/drivers/scsi/bfa/bfi.h | |||
@@ -690,7 +690,8 @@ struct bfi_ablk_h2i_pf_req_s { | |||
690 | u8 pcifn; | 690 | u8 pcifn; |
691 | u8 port; | 691 | u8 port; |
692 | u16 pers; | 692 | u16 pers; |
693 | u32 bw; | 693 | u16 bw_min; /* percent BW @ max speed */ |
694 | u16 bw_max; /* percent BW @ max speed */ | ||
694 | }; | 695 | }; |
695 | 696 | ||
696 | /* BFI_ABLK_H2I_OPTROM_ENABLE, BFI_ABLK_H2I_OPTROM_DISABLE */ | 697 | /* BFI_ABLK_H2I_OPTROM_ENABLE, BFI_ABLK_H2I_OPTROM_DISABLE */ |