Skip to content

Commit 0ee7b87

Browse files
Hiral ShahChristoph Hellwig
authored andcommitted
Fnic: For Standalone C series, "sending VLAN request" message seen even if the link is down
When physical link between standalone C series and switch is down, the fip timer is not turned off and timer expiration will keep sending vlan request. It can be fixed by stopping the fip_timer and it will be restarted automatically when Link is up. - Increment fnic version from 1.6.0.14 to 1.6.0.15 Signed-off-by: Hiral Shah <[email protected]> Signed-off-by: Sesidhar Baddela <[email protected]> Signed-off-by: Anil Chintalapati <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 35061e2 commit 0ee7b87

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

drivers/scsi/fnic/fnic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
#define DRV_NAME "fnic"
4141
#define DRV_DESCRIPTION "Cisco FCoE HBA Driver"
42-
#define DRV_VERSION "1.6.0.14"
42+
#define DRV_VERSION "1.6.0.15"
4343
#define PFX DRV_NAME ": "
4444
#define DFX DRV_NAME "%d: "
4545

drivers/scsi/fnic/fnic_fcs.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ void fnic_handle_link(struct work_struct *work)
135135
fnic->lport->host->host_no, FNIC_FC_LE,
136136
"Link Status: UP_DOWN",
137137
strlen("Link Status: UP_DOWN"));
138+
if (fnic->config.flags & VFCF_FIP_CAPABLE) {
139+
FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host,
140+
"deleting fip-timer during link-down\n");
141+
del_timer_sync(&fnic->fip_timer);
142+
}
138143
fcoe_ctlr_link_down(&fnic->ctlr);
139144
}
140145

0 commit comments

Comments
 (0)