diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2010-06-11 19:44:04 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:01:46 -0400 |
commit | f8fc6c2c99b8085368119d6cf39b997255052826 (patch) | |
tree | d1ba9ea7fc49fd8c96143cdcf81a8a9892716ee5 /include/scsi/fc/fc_els.h | |
parent | 5d4a2e29fba5b2bef95b96a46b338ec4d76fa4fd (diff) |
[SCSI] libfc: Handle unsolicited PRLO request
Resubmitting after incorporating Joe's review comment.
Unsolicited PRLO request is now handled by sending LS_ACC,
and then relogin to the remote port if an N-port login
session exists for that remote port.
Note that this patch should be applied on top of Joe Eykholt's
"Fix remote port restart problem" patch.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/fc/fc_els.h')
-rw-r--r-- | include/scsi/fc/fc_els.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/scsi/fc/fc_els.h b/include/scsi/fc/fc_els.h index f94328132a26..70a7e92a7664 100644 --- a/include/scsi/fc/fc_els.h +++ b/include/scsi/fc/fc_els.h | |||
@@ -405,6 +405,15 @@ struct fc_els_prli { | |||
405 | }; | 405 | }; |
406 | 406 | ||
407 | /* | 407 | /* |
408 | * ELS_PRLO - Process logout request and response. | ||
409 | */ | ||
410 | struct fc_els_prlo { | ||
411 | __u8 prlo_cmd; /* command */ | ||
412 | __u8 prlo_obs; /* obsolete, but shall be set to 10h */ | ||
413 | __be16 prlo_len; /* payload length */ | ||
414 | }; | ||
415 | |||
416 | /* | ||
408 | * ELS_ADISC payload | 417 | * ELS_ADISC payload |
409 | */ | 418 | */ |
410 | struct fc_els_adisc { | 419 | struct fc_els_adisc { |