Skip to content

Commit

Permalink
Fnic: For Standalone C series, "sending VLAN request" message seen ev…
Browse files Browse the repository at this point in the history
…en 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]>
  • Loading branch information
Hiral Shah authored and Christoph Hellwig committed Nov 20, 2014
1 parent 35061e2 commit 0ee7b87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/fnic/fnic.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

#define DRV_NAME "fnic"
#define DRV_DESCRIPTION "Cisco FCoE HBA Driver"
#define DRV_VERSION "1.6.0.14"
#define DRV_VERSION "1.6.0.15"
#define PFX DRV_NAME ": "
#define DFX DRV_NAME "%d: "

Expand Down
5 changes: 5 additions & 0 deletions drivers/scsi/fnic/fnic_fcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@ void fnic_handle_link(struct work_struct *work)
fnic->lport->host->host_no, FNIC_FC_LE,
"Link Status: UP_DOWN",
strlen("Link Status: UP_DOWN"));
if (fnic->config.flags & VFCF_FIP_CAPABLE) {
FNIC_FCS_DBG(KERN_DEBUG, fnic->lport->host,
"deleting fip-timer during link-down\n");
del_timer_sync(&fnic->fip_timer);
}
fcoe_ctlr_link_down(&fnic->ctlr);
}

Expand Down

0 comments on commit 0ee7b87

Please sign in to comment.