Edwin Peer 5d4e1bf606 bnxt_en: extend media types to supported and autoneg modes
The current driver code does not accurately report the supported and
advertised link modes.  It basically always assumes the media type
is copper for any particular speed.  Utilize the recently added link
mode mappings to accurately report fully qualified ethtool link modes for
advertised and supported speeds.

If the media type is known, we will report the supported link modes for
that media only.  If the media is not known, we will report all possible
supported link modes.  The user can now specify any supported link modes
(including NRZ and PAM4) to advertise for autoneg.  It used to only accept
copper NRZ modes.

Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-10-22 11:41:46 +01:00
..
2023-08-11 21:12:45 +02:00
2023-08-22 15:50:57 +02:00
2023-08-30 13:34:34 -07:00
2023-10-18 09:30:03 -07:00
2023-10-06 15:43:19 -07:00
Hi,
2023-09-13 11:44:20 -07:00
2023-08-31 12:43:10 -07:00
2023-08-24 16:20:30 -07:00
2023-10-13 08:52:57 -07:00
2023-08-30 19:23:00 -07:00
2023-09-30 18:41:37 -07:00
2023-10-13 13:20:24 +10:00
2023-09-04 11:26:29 -07:00
2023-08-28 16:35:01 -07:00
2023-10-13 23:19:16 -07:00
2023-08-31 12:43:10 -07:00
2023-10-05 11:03:20 -07:00
2023-09-01 09:38:00 -07:00
2023-08-30 18:32:24 -07:00
2023-09-14 16:20:31 -06:00
2023-08-18 10:55:49 +05:30
2023-10-06 09:11:13 -07:00
2023-10-13 09:17:48 -07:00
2023-10-19 15:51:52 -07:00
2023-09-07 18:05:58 -07:00
2023-09-04 15:12:26 -07:00
2023-09-04 15:08:52 -07:00
2023-09-07 16:07:35 -07:00
2023-10-12 11:52:23 -07:00
2023-10-12 11:52:23 -07:00
2023-09-04 10:43:44 -07:00
2023-08-24 16:20:18 -07:00
2023-09-06 09:19:12 -07:00
2023-08-21 13:27:44 +02:00