Jakub Kicinski bd7f14df94 ixgbe: fix probing of multi-port devices with one MDIO
Ian reports that after upgrade from v5.8.14 to v5.9 only one
of his 4 ixgbe netdevs appear in the system.

Quoting the comment on ixgbe_x550em_a_has_mii():
 * Returns true if hw points to lowest numbered PCI B:D.F x550_em_a device in
 * the SoC.  There are up to 4 MACs sharing a single MDIO bus on the x550em_a,
 * but we only want to register one MDIO bus.

This matches the symptoms, since the return value from
ixgbe_mii_bus_init() is no longer ignored we need to handle
the higher ports of x550em without an error.

Fixes: 09ef193fef7e ("net: ethernet: ixgbe: check the return value of ixgbe_mii_bus_init()")
Reported-by: Ian Kumlien <ian.kumlien@gmail.com>
Tested-by: Ian Kumlien <ian.kumlien@gmail.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Link: https://lore.kernel.org/r/20201016232006.3352947-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-18 13:01:22 -07:00
..
2020-10-15 14:43:29 -07:00
2020-10-15 14:43:29 -07:00
2020-10-15 10:01:51 -07:00
2020-10-15 10:46:16 -07:00
2020-10-14 10:32:10 -07:00
2020-10-15 14:43:29 -07:00
2020-10-12 13:26:49 -07:00
2020-10-14 15:56:58 -07:00
2020-10-15 14:43:29 -07:00
2020-10-15 15:48:06 -07:00
2020-10-14 16:09:32 -07:00
2020-10-13 12:12:44 -07:00
2020-10-15 11:07:44 -07:00
2020-10-14 10:32:10 -07:00
2020-10-15 14:43:29 -07:00
2020-10-14 15:56:58 -07:00
2020-10-15 14:43:29 -07:00
2020-10-14 12:08:34 -07:00
2020-09-28 12:17:36 +02:00
2020-10-14 15:15:35 -07:00
2020-10-14 15:56:58 -07:00
2020-10-15 14:43:29 -07:00
2020-10-13 12:12:44 -07:00
2020-10-13 13:04:41 -07:00
2020-10-15 14:43:29 -07:00
2020-09-25 06:12:15 +02:00
2020-10-15 10:46:16 -07:00
2020-10-14 10:43:24 -07:00
2020-09-18 17:49:20 -07:00
2020-10-15 10:46:16 -07:00
2020-10-15 14:43:29 -07:00
2020-10-15 14:43:29 -07:00
2020-10-14 10:45:41 -07:00
2020-10-01 22:59:55 +02:00
2020-10-15 11:07:44 -07:00
2020-10-15 14:43:29 -07:00
2020-10-05 13:32:30 +02:00
2020-10-15 14:43:29 -07:00
2020-10-15 14:43:29 -07:00
2020-10-15 10:46:16 -07:00
2020-10-14 15:56:58 -07:00
2020-10-15 14:43:29 -07:00