From: Bhanu Prakash Gollapudi Date: Wed, 27 Jul 2011 18:32:09 +0000 (-0700) Subject: [SCSI] bnx2fc: Enable support for sequence level error recovery X-Git-Tag: v3.1-rc1~113^2~14 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=72812ee0bd2098a7709dbcff61395fbba3f27cda;p=~andy%2Flinux [SCSI] bnx2fc: Enable support for sequence level error recovery 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 Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index 65561fcaad0..78e136f387f 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c +++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c @@ -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));