summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/bcm_sf2.c
diff options
context:
space:
mode:
authorEdward Cree2018-03-14 15:21:26 +0100
committerDavid S. Miller2018-03-14 18:12:15 +0100
commit7f61e6c6279bcb340489ab6b781835da700f1c4b (patch)
tree3698145f1c8e463f1c6b5d8d143ff7f5e9d30ede /drivers/net/dsa/bcm_sf2.c
parentsfc: update MCDI protocol headers (diff)
downloadkernel-qcow2-linux-7f61e6c6279bcb340489ab6b781835da700f1c4b.tar.gz
kernel-qcow2-linux-7f61e6c6279bcb340489ab6b781835da700f1c4b.tar.xz
kernel-qcow2-linux-7f61e6c6279bcb340489ab6b781835da700f1c4b.zip
sfc: support FEC configuration through ethtool
As well as 'auto' and the forced 'off', 'rs' and 'baser' states, we also handle combinations of settings (since the fecparam->fec field is a bitmask), where auto|rs and auto|baser specify a preferred FEC mode but will fall back to the other if the cable or link partner doesn't support it. rs|baser (with or without auto bit) means prefer FEC even where auto wouldn't use it, but let FW choose which encoding to use. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
0 files changed, 0 insertions, 0 deletions