qede: introduce support for FEC control
authorAlexander Lobakin <alobakin@marvell.com>
Mon, 20 Jul 2020 18:08:09 +0000 (21:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 00:59:44 +0000 (17:59 -0700)
commit9bdca14a0e844f298de3bcfd167b214666cc35aa
treef75ab54ab55d9a41f5f4c4661f717fb112a8d8a5
parent460761570ba3073b15c2903db9efc0142790defd
qede: introduce support for FEC control

Add Ethtool callbacks for querying and setting FEC parameters if it's
supported by the underlying qed module and MFW version running on the
device.

Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_ethtool.c