]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: disable far-end loopback mode on ESB2
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 13 May 2011 07:19:42 +0000 (07:19 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 2 Feb 2012 13:18:54 +0000 (21:18 +0800)
commit5451a439b8b13f89a2a8c7838fa3ec5ea01f69cf
tree293cf8e97dc3dda5bc5c34af14bc7f31402097a6
parent5e08568185e679a64ea7c7097393c4ef34b0cf46
e1000e: disable far-end loopback mode on ESB2

The ESB2 LAN includes a debug feature that enables far-end loopback (FELB)
of the SerDes/Kumeran interface.  This feature is activated when receiving
a sequence of symbols that includes a reserved codeword.  On a perfect
link, FELB would never be activated.  In the presence of bit errors, there
is a very small, but non-zero, probability of FELB being activated.

If the FELB is activated, the SerDes link becomes non-functional and must
be reset.  It could also corrupt the switching tables in the switch since
the ESB2 is transmitting packets with a different source MAC address.

This patch disables the FELB feature.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit d9b24135b972ccdd5f5174fba06c730e895e6daf)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000e/es2lan.c
drivers/net/e1000e/hw.h