mbox

[pull,request,net-next,V4,00/13] Mellanox, mlx5 updates 2020-01-24

Message ID 20200219032205.15264-1-saeedm@mellanox.com
State Accepted
Delegated to: David Miller
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2020-01-24

Message

Saeed Mahameed Feb. 19, 2020, 3:22 a.m. UTC
Hi Dave,

This series adds some updates to mlx5 driver
1) Devlink health dump support for both rx and tx health reporters.
2) FEC modes supports.
3) two misc small patches.

V4:
 - Resend after net-next is open and rebased
 - Added Reviewed-by: Andrew Lunn, to the ethtool patch

V3: 
 - Improve ethtool patch "FEC LLRS" commit message as requested by
   Andrew Lunn.
 - Since we've missed the last cycle, dropped two small fixes patches,
   as they should go to net now.

V2:
 - Remove "\n" from snprintf, happened due to rebase with a conflicting
   feature, Thanks Joe for spotting this.

For more information please see tag log below.

Please pull and let me know if there is any problem.

Note about non-mlx5 change:
For the FEC link modes support, Aya added the define for
low latency Reed Solomon FEC as LLRS, in: include/uapi/linux/ethtool.h

Thanks,
Saeed.

---
The following changes since commit 00796b929ce8c9e7567fe7e395763418eb579100:

  sfc: elide assignment of skb (2020-02-18 12:40:49 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2020-01-24

for you to fetch changes up to 0120936a9fc7493fed63588204af427dcf00feea:

  net/mlx5: Remove a useless 'drain_workqueue()' call in 'mlx5e_ipsec_cleanup()' (2020-02-18 19:17:31 -0800)

----------------------------------------------------------------
mlx5-updates-2020-01-24

This series adds two moderate updates and some misc small patches to
mlx5 driver.

1) From Aya, Add the missing devlink health dump callbacks support for
both rx and tx health reporters.

First patch of the series is extending devlink API to set binary fmsg
data.

All others patches in the series are adding the mlx5 devlink health
callbacks support and the needed FW commands.

2) Also from Aya, Support for FEC modes based on 50G per lane links.
Part of this series, Aya adds one missing link mode define "FEC_LLRS"
to include/uapi/linux/ethtool.h.

3) From Joe, Use proper logging and tracing line terminations

4) From Christophe, Remove a useless 'drain_workqueue()'

----------------------------------------------------------------
Aya Levin (11):
      devlink: Force enclosing array on binary fmsg data
      net/mlx5: Add support for resource dump
      net/mlx5e: Gather reporters APIs together
      net/mlx5e: Support dump callback in TX reporter
      net/mlx5e: Support dump callback in RX reporter
      net/mlx5e: Set FEC to auto when configured mode is not supported
      net/mlx5e: Enforce setting of a single FEC mode
      net/mlx5e: Advertise globaly supported FEC modes
      net/mlxe5: Separate between FEC and current speed
      ethtool: Add support for low latency RS FEC
      net/mlx5e: Add support for FEC modes based on 50G per lane links

Christophe JAILLET (1):
      net/mlx5: Remove a useless 'drain_workqueue()' call in 'mlx5e_ipsec_cleanup()'

Joe Perches (1):
      mlx5: Use proper logging and tracing line terminations

 drivers/net/ethernet/mellanox/mlx5/core/Makefile   |   2 +-
 .../ethernet/mellanox/mlx5/core/diag/rsc_dump.c    | 286 +++++++++++++++++++++
 .../ethernet/mellanox/mlx5/core/diag/rsc_dump.h    |  58 +++++
 .../net/ethernet/mellanox/mlx5/core/en/health.c    | 107 +++++++-
 .../net/ethernet/mellanox/mlx5/core/en/health.h    |   8 +-
 drivers/net/ethernet/mellanox/mlx5/core/en/port.c  | 253 ++++++++++--------
 drivers/net/ethernet/mellanox/mlx5/core/en/port.h  |   8 +-
 .../ethernet/mellanox/mlx5/core/en/reporter_rx.c   | 266 ++++++++++++++++---
 .../ethernet/mellanox/mlx5/core/en/reporter_tx.c   | 181 ++++++++++---
 .../ethernet/mellanox/mlx5/core/en_accel/ipsec.c   |   1 -
 .../net/ethernet/mellanox/mlx5/core/en_ethtool.c   |  71 ++---
 drivers/net/ethernet/mellanox/mlx5/core/main.c     |  12 +
 drivers/net/phy/phy-core.c                         |   2 +-
 include/linux/mlx5/driver.h                        |   1 +
 include/net/devlink.h                              |   5 +
 include/uapi/linux/ethtool.h                       |   4 +-
 net/core/devlink.c                                 |  94 ++++++-
 net/ethtool/common.c                               |   1 +
 net/ethtool/linkmodes.c                            |   1 +
 19 files changed, 1136 insertions(+), 225 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/diag/rsc_dump.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/diag/rsc_dump.h

Comments

David Miller Feb. 19, 2020, 6:44 p.m. UTC | #1
From: Saeed Mahameed <saeedm@mellanox.com>
Date: Wed, 19 Feb 2020 03:22:58 +0000

> This series adds some updates to mlx5 driver
> 1) Devlink health dump support for both rx and tx health reporters.
> 2) FEC modes supports.
> 3) two misc small patches.
> 
> V4:
>  - Resend after net-next is open and rebased
>  - Added Reviewed-by: Andrew Lunn, to the ethtool patch
> 
> V3: 
>  - Improve ethtool patch "FEC LLRS" commit message as requested by
>    Andrew Lunn.
>  - Since we've missed the last cycle, dropped two small fixes patches,
>    as they should go to net now.
> 
> V2:
>  - Remove "\n" from snprintf, happened due to rebase with a conflicting
>    feature, Thanks Joe for spotting this.
> 
> For more information please see tag log below.
> 
> Please pull and let me know if there is any problem.
> 
> Note about non-mlx5 change:
> For the FEC link modes support, Aya added the define for
> low latency Reed Solomon FEC as LLRS, in: include/uapi/linux/ethtool.h

Pulled, thank you.