]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[SCSI] libfcoe: Send port LKA every FIP_VN_KA_PERIOD secs.
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Tue, 16 Feb 2010 20:15:34 +0000 (12:15 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 17 Feb 2010 23:43:43 +0000 (17:43 -0600)
commit03bf7a5af58e07aa13ea61993f5892f733b6f46d
treef38210c923abcfa2ad37a0163ff0c8aaa54c3d97
parent696c1cff5254bb3ac280fbbb639c66e9ff20306e
[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