diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2012-09-21 20:26:07 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-10-07 06:17:27 -0400 |
commit | e353546e447feb838db2d1b23bac23cb90755993 (patch) | |
tree | f2762c0aedd4bb0ef4ebdca889c782b180ecdddc /drivers/scsi/bfa/bfa_port.h | |
parent | 1306e31d417df05c25053c5632b26d1c1b22d1ed (diff) |
[SCSI] bfa: Add diagnostic port (D-Port) support
- Introduced support for D-Port which is a new port mode during which
link level diagnostics can be run.
- Provided mechanism to dynamically configure D-Port and initiate diagnostic
tests to isolate any link level issues.
- In D-Port mode, the HBA port does not participate in fabric or login to the
remote device or run data traffic.
- Diagnostic tests include running various loopback tests in conjunction with
the attached device.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_port.h')
-rw-r--r-- | drivers/scsi/bfa/bfa_port.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_port.h b/drivers/scsi/bfa/bfa_port.h index 947f897328d6..2fcab6bc6280 100644 --- a/drivers/scsi/bfa/bfa_port.h +++ b/drivers/scsi/bfa/bfa_port.h | |||
@@ -45,6 +45,7 @@ struct bfa_port_s { | |||
45 | bfa_status_t endis_status; | 45 | bfa_status_t endis_status; |
46 | struct bfa_ioc_notify_s ioc_notify; | 46 | struct bfa_ioc_notify_s ioc_notify; |
47 | bfa_boolean_t pbc_disabled; | 47 | bfa_boolean_t pbc_disabled; |
48 | bfa_boolean_t dport_enabled; | ||
48 | struct bfa_mem_dma_s port_dma; | 49 | struct bfa_mem_dma_s port_dma; |
49 | }; | 50 | }; |
50 | 51 | ||
@@ -66,6 +67,8 @@ bfa_status_t bfa_port_disable(struct bfa_port_s *port, | |||
66 | u32 bfa_port_meminfo(void); | 67 | u32 bfa_port_meminfo(void); |
67 | void bfa_port_mem_claim(struct bfa_port_s *port, | 68 | void bfa_port_mem_claim(struct bfa_port_s *port, |
68 | u8 *dma_kva, u64 dma_pa); | 69 | u8 *dma_kva, u64 dma_pa); |
70 | void bfa_port_set_dportenabled(struct bfa_port_s *port, | ||
71 | bfa_boolean_t enabled); | ||
69 | 72 | ||
70 | /* | 73 | /* |
71 | * CEE declaration | 74 | * CEE declaration |