Min Hu (Connor) 2390bf217f net/hns3: fix FEC state query
As FEC is not supported below 10 Gbps,
CMD(HNS3_OPC_CONFIG_FEC_MODE) offered from
Firmware read will return fail in 10 Gbps device.

This patch will prevent read this CMD when below 10 Gbps,
as this is non-sense.

Fixes: 9bf2ea8dbc65 ("net/hns3: support FEC")
Cc: stable@dpdk.org

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
2021-01-08 16:03:04 +01:00
..
2020-11-13 19:43:26 +01:00
2020-11-03 23:35:07 +01:00
2020-11-20 21:10:05 +01:00
2020-11-03 23:35:07 +01:00
2021-01-08 16:03:04 +01:00
2021-01-08 16:03:04 +01:00
2020-11-13 19:43:26 +01:00
2020-11-03 23:35:07 +01:00
2020-11-03 23:35:07 +01:00
2020-11-03 23:35:07 +01:00
2020-11-13 19:43:26 +01:00