mbox

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

Message ID 20200211223254.101641-1-saeedm@mellanox.com
State Deferred
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. 11, 2020, 10:32 p.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.

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.

Please note that the series starts with a merge of mlx5-next branch,
to resolve and avoid dependency with rdma tree.

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 fdfa3a6778b194974df77b384cc71eb2e503639a:

  Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2020-02-08 17:24:41 -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 f71bd4fb494bd360abe6075240b654f4791df44e:

  net/mlx5: Remove a useless 'drain_workqueue()' call in 'mlx5e_ipsec_cleanup()' (2020-02-11 14:26:12 -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

Kirsher, Jeffrey T Feb. 11, 2020, 11:21 p.m. UTC | #1
On Tue, Feb 11, 2020 at 2:36 PM Saeed Mahameed <saeedm@mellanox.com> wrote:
>
> 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.
>
> 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.
>
> Please note that the series starts with a merge of mlx5-next branch,
> to resolve and avoid dependency with rdma tree.
>
> 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.

Dave has not opened up net-next yet, or do you know something I don't...
David Miller Feb. 12, 2020, 12:54 a.m. UTC | #2
Deferred until net-next opens back up, resubmit this then.

Thank you.
Saeed Mahameed Feb. 12, 2020, 7:27 p.m. UTC | #3
On Tue, 2020-02-11 at 16:54 -0800, David Miller wrote:
> Deferred until net-next opens back up, resubmit this then.
> 

Ohh shoot ! and i wondered why net-next is still quiet and rc1 is not
merged yet ! I had enough clues not to submit and yet I did..
My bad, will do better next time.

Thanks!
Saeed Mahameed Feb. 12, 2020, 7:29 p.m. UTC | #4
On Tue, 2020-02-11 at 15:21 -0800, Jeff Kirsher wrote:
> On Tue, Feb 11, 2020 at 2:36 PM Saeed Mahameed <saeedm@mellanox.com>
> wrote:
> > 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.
> > 
> > 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.
> > 
> > Please note that the series starts with a merge of mlx5-next
> > branch,
> > to resolve and avoid dependency with rdma tree.
> > 
> > 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.
> 
> Dave has not opened up net-next yet, or do you know something I
> don't...

My bad !