net/sfc: fix speed capabilities reported in device info
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 19 Mar 2019 16:36:00 +0000 (16:36 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 21 Mar 2019 17:57:09 +0000 (18:57 +0100)
commitcf6a73fc3fb774477feea692e90d2976a8f91cd8
treefaa108026bf84cece1288d7cc1ab6ad074a4f3e4
parent34356a5da9206416e919bc4bdc7cd6d875996369
net/sfc: fix speed capabilities reported in device info

Phy capabilities are bit offsets in libefx, but was used as bit masks.

Fixes: d23f3a89ab54 ("net/sfc: support link speed and duplex settings")
Fixes: f82e33afbbb9 ("net/sfc: support link speeds up to 100G")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_ethdev.c