cxgb4/cxgb4vf: link management changes for new SFP
authorGanesh Goudar <ganeshgr@chelsio.com>
Thu, 24 May 2018 12:19:30 +0000 (17:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 May 2018 18:56:10 +0000 (14:56 -0400)
commit57ccaedb74158be6d7d6edb255a6c153ec19e618
treebdd88b810be250a4b6c4da1a5330ec78bf2177c2
parentb526e56b31832385c97b224fcb9f45536a568527
cxgb4/cxgb4vf: link management changes for new SFP

newer SFPs like SFP28 and QSFP28 Transceiver Modules present
several new possibilities which we haven't faced before. Fix the
assumptions in the code reflecting the more limited capabilities
of previous Transceiver Module systems

Original work by Casey Leedom <leedom@chelsio.com>

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c