]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
bnx2x: Fix self-test for 20g devices
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 25 Jun 2015 12:19:26 +0000 (15:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2015 13:30:35 +0000 (06:30 -0700)
commit2f43b821b5c00f1f6d66fd183f8e4fc261e02f8a
treed5f104b7c0494cb9700eee854e457851729c86b2
parentbb9e9c1d2093135f55bf72697498b3eb6137b66b
bnx2x: Fix self-test for 20g devices

20g-capable devices are not configured properly for self-test, using
10g as their speed which cause the link indication to remain down and
fail the internal loopback test.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c