]> 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)
commitadc13f6cfd00dbfaa5601a53f0bcaabda7359b3c
treecba98936526f85c10d2c44358587d88a35f334c2
parent23f886cc61ccb352e93bd6bc4c432a3323154f07
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