diff options
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc_hwi.c')
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_hwi.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_hwi.c b/drivers/scsi/bnx2fc/bnx2fc_hwi.c index ee1674b794b1..fa263b5902e1 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_hwi.c +++ b/drivers/scsi/bnx2fc/bnx2fc_hwi.c | |||
@@ -279,6 +279,18 @@ int bnx2fc_send_session_ofld_req(struct fcoe_port *port, | |||
279 | ofld_req3.flags |= (((rdata->sp_features & FC_SP_FT_SEQC) ? 1 : 0) << | 279 | ofld_req3.flags |= (((rdata->sp_features & FC_SP_FT_SEQC) ? 1 : 0) << |
280 | FCOE_KWQE_CONN_OFFLOAD3_B_CONT_INCR_SEQ_CNT_SHIFT); | 280 | FCOE_KWQE_CONN_OFFLOAD3_B_CONT_INCR_SEQ_CNT_SHIFT); |
281 | 281 | ||
282 | /* | ||
283 | * Info from PRLI response, this info is used for sequence level error | ||
284 | * recovery support | ||
285 | */ | ||
286 | if (tgt->dev_type == TYPE_TAPE) { | ||
287 | ofld_req3.flags |= 1 << | ||
288 | FCOE_KWQE_CONN_OFFLOAD3_B_CONF_REQ_SHIFT; | ||
289 | ofld_req3.flags |= (((rdata->flags & FC_RP_FLAGS_REC_SUPPORTED) | ||
290 | ? 1 : 0) << | ||
291 | FCOE_KWQE_CONN_OFFLOAD3_B_REC_VALID_SHIFT); | ||
292 | } | ||
293 | |||
282 | /* vlan flag */ | 294 | /* vlan flag */ |
283 | ofld_req3.flags |= (interface->vlan_enabled << | 295 | ofld_req3.flags |= (interface->vlan_enabled << |
284 | FCOE_KWQE_CONN_OFFLOAD3_B_VLAN_FLAG_SHIFT); | 296 | FCOE_KWQE_CONN_OFFLOAD3_B_VLAN_FLAG_SHIFT); |