]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Don't exit link event early if link speed has changed
authorCatherine Sullivan <catherine.sullivan@intel.com>
Thu, 11 Dec 2014 07:06:33 +0000 (07:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Jan 2015 19:48:20 +0000 (11:48 -0800)
commitb056cea0142eca39150c65d08ca4558db4a5f8a1
treecba98936526f85c10d2c44358587d88a35f334c2
parent181fa9689163c87a80b05ce69b683dab16cf5252
i40e: Don't exit link event early if link speed has changed

Previously we were only checking if the link up state had changed,
and if it hadn't exiting the link event routine early. We should
also check if speed has changed, and if it has, stay and finish
processing the link event.

Change-ID: I9c8e0991b3f0279108a7858898c3c5ce0a9856b8
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c