]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfcoe: Send port LKA every FIP_VN_KA_PERIOD secs.
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Thu, 21 Jan 2010 18:16:00 +0000 (10:16 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 17 Feb 2010 15:57:03 +0000 (09:57 -0600)
commitd1568184a26d3a2b32aea0bd2a84a672aaf52b93
tree62ef916affa1c68ab8d362da54903bd225edefa3
parent564ed5fcb85df210d97aff169f840be3a5408712
[SCSI] libfcoe: Send port LKA every FIP_VN_KA_PERIOD secs.

libfcoe module doesnt send port keep alive every
FIP_VN_KA_PERIOD due to improper assignment of timeout value.
Update the port_ka_time appropriately by incrementing it by
FIP_VN_KA_PERIOD in fcoe_ctlr_timeout(), so that the link_work
is scheduled to send the port LKA.

Signed-off-by: Bhanu Gollapudi <bprakash@broadcom.com>
Acked-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/libfcoe.c