Merge branch 'ethtool-fec'
authorDavid S. Miller <davem@davemloft.net>
Sun, 30 Jul 2017 06:23:45 +0000 (23:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Jul 2017 06:23:45 +0000 (23:23 -0700)
commit736b9b9c506e4658d5b8cc0333ee8640be1f98a0
tree7a13ac3907b66d70e97f56c35fcf14bbdce07625
parentfe21b269597d9d5bca4e2c0cebe2bdf658f6289e
parent7fece840e35e52c7114dcf874a72b2c962923800
Merge branch 'ethtool-fec'

Roopa Prabhu says:

====================
ethtool: support for forward error correction mode setting on a link

Forward Error Correction (FEC) modes i.e Base-R
and Reed-Solomon modes are introduced in 25G/40G/100G standards
for providing good BER at high speeds. Various networking devices
which support 25G/40G/100G provides ability to manage supported FEC
modes and the lack of FEC encoding control and reporting today is a
source for interoperability issues for many vendors.
FEC capability as well as specific FEC mode i.e. Base-R
or RS modes can be requested or advertised through bits D44:47 of base link
codeword.

This patch set intends to provide option under ethtool to manage and
report FEC encoding settings for networking devices as per IEEE 802.3
bj, bm and by specs.

v2 :
        - minor patch format fixes and typos pointed out by Andrew
        - there was a pending discussion on the use of 'auto' vs
          'automatic' for fec settings. I have left it as 'auto'
          because in most cases today auto is used in place of
          automatic to represent automatically generated values.
          We use it in other networking config too. I would prefer
          leaving it as auto.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>