[SCSI] bnx2fc: Enable support for sequence level error recovery
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Wed, 27 Jul 2011 18:32:09 +0000 (11:32 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 28 Jul 2011 07:54:10 +0000 (11:54 +0400)
Driver advertises its support for 'retry' bit and 'conf completion' bit in PRLI
params to enable support for 'sequence level error recovery'

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c

index 65561fcaad03c4016502273dd6129ec75ecbe5d0..78e136f387f22995b3d8b863a26586c8dcfb8b1a 100644 (file)
@@ -908,11 +908,8 @@ static int bnx2fc_lport_config(struct fc_lport *lport)
        lport->e_d_tov = 2 * 1000;
        lport->r_a_tov = 10 * 1000;
 
-       /* REVISIT: enable when supporting tape devices
        lport->service_params = (FCP_SPPF_INIT_FCN | FCP_SPPF_RD_XRDY_DIS |
                                FCP_SPPF_RETRY | FCP_SPPF_CONF_COMPL);
-       */
-       lport->service_params = (FCP_SPPF_INIT_FCN | FCP_SPPF_RD_XRDY_DIS);
        lport->does_npiv = 1;
 
        memset(&lport->rnid_gen, 0, sizeof(struct fc_els_rnid_gen));