liquidio: Add the features to show FEC settings and set FEC settings
authorWeilin Chang <weilin.chang@cavium.com>
Mon, 17 Sep 2018 05:43:32 +0000 (22:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Sep 2018 15:22:26 +0000 (08:22 -0700)
commit75b2c206bb10961879912bd6a4199bf4dfa6eda2
tree59141f3808df126068bfc84fb1d43ae00b5fc014
parenta4ebec033e1cff2690806c1721189c51b1cd0ae5
liquidio: Add the features to show FEC settings and set FEC settings

1. Add functions for get_fecparam and set_fecparam.
2. Modify lio_get_link_ksettings to display FEC setting.

Signed-off-by: Weilin Chang <weilin.chang@cavium.com>
Acked-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_core.c
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/liquidio_common.h
drivers/net/ethernet/cavium/liquidio/octeon_device.h
drivers/net/ethernet/cavium/liquidio/octeon_network.h