]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Fix link broken after GLOBR reset
authorDave Ertman <david.m.ertman@intel.com>
Mon, 13 Jul 2020 20:53:05 +0000 (13:53 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 29 Jul 2020 15:38:54 +0000 (08:38 -0700)
commitcafae6de603a28535a6ef1f7df797f70bfca04df
tree190b642657c3ff4d3b44121dd485de7fa0748a00
parent2ada79df5097ac130f7795d9de3bc62dfb13a602
ice: Fix link broken after GLOBR reset

After a GLOBR, the link was broken so that a link
up situation was being seen as a link down.

The problem was that the rebuild process was updating
the port_info link status without doing any of the
other things that need to be done when link changes.

This was causing the port_info struct to have current
"UP" information so that any further UP interrupts
were skipped as redundant.

The rebuild flow should *not* be updating the port_info
struct link information, so eliminate this and leave
it to the link event handling code.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c