net/sfc/base: modify phy caps to indicate FEC request
authorRichard Houldsworth <rhouldsworth@solarflare.com>
Mon, 10 Sep 2018 09:33:34 +0000 (10:33 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000 (01:41 +0200)
commit95ea95ec41859ccd3942c224691ea04195b1aeda
treea841aebb62bc3916d2bcede95ec670f88259389a
parentbb53d848433e23cab1ddb183394c61492377285a
net/sfc/base: modify phy caps to indicate FEC request

The capability bits to request FEC modes are implicitly valid
when the corresponding FEC mode is a supported capability.
Drivers expect that it is only valid to advertise those
capabilities explicitly marked as supported. The capabilities
reported by firmware is modified with the implicit capabilities
to present the explicit model to drivers.

Signed-off-by: Richard Houldsworth <rhouldsworth@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_nic.c
drivers/net/sfc/base/efx_phy.c