mbox series

[net-next,v2,00/12] amd-xgbe: AMD XGBE driver updates 2018-05-21

Message ID 20180523163802.31625.76572.stgit@tlendack-t1.amdoffice.net
Headers show
Series amd-xgbe: AMD XGBE driver updates 2018-05-21 | expand

Message

Tom Lendacky May 23, 2018, 4:38 p.m. UTC
The following updates are included in this driver update series:

- Fix the debug output for the max channels count
- Read (once) and save the port property registers during probe
- Remove the use of the comm_owned field
- Remove unused SFP diagnostic support indicator field
- Add ethtool --module-info support
- Add ethtool --show-ring/--set-ring support
- Update the driver in preparation for ethtool --set-channels support
- Add ethtool --show-channels/--set-channels support
- Update the driver to always perform link training in KR mode
- Advertise FEC support when using a KR re-driver
- Update the BelFuse quirk to now support SGMII
- Improve 100Mbps auto-negotiation for BelFuse parts

This patch series is based on net-next.

---

Changes since v1:
- Update the --set-channels support to the use of the combined, rx and
  tx options as specified in the ethtool man page (in other words, don't
  create combined channels based on the min of the tx and rx channels
  specified).

Tom Lendacky (12):
      amd-xgbe: Fix debug output of max channel counts
      amd-xgbe: Read and save the port property registers during probe
      amd-xgbe: Remove use of comm_owned field
      amd-xgbe: Remove field that indicates SFP diagnostic support
      amd-xgbe: Add ethtool support to retrieve SFP module info
      amd-xgbe: Add ethtool show/set ring parameter support
      amd-xgbe: Prepare for ethtool set-channel support
      amd-xgbe: Add ethtool show/set channels support
      amd-xgbe: Always attempt link training in KR mode
      amd-xgbe: Advertise FEC support with the KR re-driver
      amd-xgbe: Update the BelFuse quirk to support SGMII
      amd-xgbe: Improve SFP 100Mbps auto-negotiation


 drivers/net/ethernet/amd/xgbe/xgbe-drv.c     |  137 +++++++---
 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c |  217 ++++++++++++++++
 drivers/net/ethernet/amd/xgbe/xgbe-main.c    |   20 -
 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c    |  167 ++++++------
 drivers/net/ethernet/amd/xgbe/xgbe-pci.c     |   36 ++-
 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c  |  349 +++++++++++++++++++-------
 drivers/net/ethernet/amd/xgbe/xgbe.h         |   31 ++
 7 files changed, 699 insertions(+), 258 deletions(-)

Comments

David Miller May 23, 2018, 8:33 p.m. UTC | #1
From: Tom Lendacky <thomas.lendacky@amd.com>
Date: Wed, 23 May 2018 11:38:02 -0500

> The following updates are included in this driver update series:
> 
> - Fix the debug output for the max channels count
> - Read (once) and save the port property registers during probe
> - Remove the use of the comm_owned field
> - Remove unused SFP diagnostic support indicator field
> - Add ethtool --module-info support
> - Add ethtool --show-ring/--set-ring support
> - Update the driver in preparation for ethtool --set-channels support
> - Add ethtool --show-channels/--set-channels support
> - Update the driver to always perform link training in KR mode
> - Advertise FEC support when using a KR re-driver
> - Update the BelFuse quirk to now support SGMII
> - Improve 100Mbps auto-negotiation for BelFuse parts
> 
> This patch series is based on net-next.
> 
> ---
> 
> Changes since v1:
> - Update the --set-channels support to the use of the combined, rx and
>   tx options as specified in the ethtool man page (in other words, don't
>   create combined channels based on the min of the tx and rx channels
>   specified).

Series applied, thanks Tom.