[SCSI] bfa: Add dynamic diagnostic port support
D-Port is a new port type created with the intention of running link level diagnostic tests like loopback, traffic test. In static D-port mode, user configures the port to D-port mode and starts the test, but in dynamic D-port, once the Brocade switch port is configured to D-port, it will reject the regular FLOGI from HBA with reason that it is in D-port mode. So based on the reason code HBA port will turn itself into D-port and start diagnostic test. Signed-off-by:Sudarsana Reddy Kalluru <skalluru@brocade.com> Signed-off-by:
Vijaya Mohan Guvva <vmohan@brocade.com> Signed-off-by:
James Bottomley <JBottomley@Parallels.com>
Showing
- drivers/scsi/bfa/bfa_defs.h 68 additions, 11 deletionsdrivers/scsi/bfa/bfa_defs.h
- drivers/scsi/bfa/bfa_defs_svc.h 1 addition, 0 deletionsdrivers/scsi/bfa/bfa_defs_svc.h
- drivers/scsi/bfa/bfa_svc.c 555 additions, 40 deletionsdrivers/scsi/bfa/bfa_svc.c
- drivers/scsi/bfa/bfa_svc.h 16 additions, 5 deletionsdrivers/scsi/bfa/bfa_svc.h
- drivers/scsi/bfa/bfad_bsg.c 61 additions, 20 deletionsdrivers/scsi/bfa/bfad_bsg.c
- drivers/scsi/bfa/bfad_bsg.h 17 additions, 8 deletionsdrivers/scsi/bfa/bfad_bsg.h
- drivers/scsi/bfa/bfi.h 63 additions, 5 deletionsdrivers/scsi/bfa/bfi.h
Loading
Please register or sign in to comment