Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72812ee0 authored by Bhanu Prakash Gollapudi's avatar Bhanu Prakash Gollapudi Committed by James Bottomley
Browse files

[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: default avatarBhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent f3820b71
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -908,11 +908,8 @@ static int bnx2fc_lport_config(struct fc_lport *lport)
	lport->e_d_tov = 2 * 1000;
	lport->e_d_tov = 2 * 1000;
	lport->r_a_tov = 10 * 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 |
	lport->service_params = (FCP_SPPF_INIT_FCN | FCP_SPPF_RD_XRDY_DIS |
				FCP_SPPF_RETRY | FCP_SPPF_CONF_COMPL);
				FCP_SPPF_RETRY | FCP_SPPF_CONF_COMPL);
	*/
	lport->service_params = (FCP_SPPF_INIT_FCN | FCP_SPPF_RD_XRDY_DIS);
	lport->does_npiv = 1;
	lport->does_npiv = 1;


	memset(&lport->rnid_gen, 0, sizeof(struct fc_els_rnid_gen));
	memset(&lport->rnid_gen, 0, sizeof(struct fc_els_rnid_gen));