mbox

[pull,request,net-next,00/16] mlx5 updates 2020-09-15

Message ID 20200915202533.64389-1-saeed@kernel.org
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-09-15

Message

Saeed Mahameed Sept. 15, 2020, 8:25 p.m. UTC
From: Saeed Mahameed <saeedm@nvidia.com>

Hi Dave & Jakub,

This series adds some misc updates to mlx5 driver.

For more information please see tag log below.

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

Thanks,
Saeed.

---
The following changes since commit ed6d9b0228132fee03314b276d946fc3f0cc9e4f:

  ionic: fix up debugfs after queue swap (2020-09-14 16:55:54 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2020-09-15

for you to fetch changes up to b7cf0806e8783e38f881cae3c56f0869e70b8da2:

  net/mlx5e: Add CQE compression support for multi-strides packets (2020-09-15 11:59:53 -0700)

----------------------------------------------------------------
mlx5-updates-2020-09-15

Various updates to mlx5 driver,

1) Eli adds support for TC trap action.
2) Eran, minor improvements to clock.c code structure
3) Better handling of error reporting in LAG from Jianbo
4) IPv6 traffic class (DSCP) header rewrite support from Maor
5) Ofer Levi adds support for CQE compression of multi-strides packets
6) Vu, Enables use of vport meta data by default.
7) Some minor code cleanup

----------------------------------------------------------------
Dan Carpenter (1):
      net/mlx5: remove erroneous fallthrough

Eli Cohen (1):
      net/mlx5e: Add support for tc trap

Eran Ben Elisha (4):
      net/mlx5: Always use container_of to find mdev pointer from clock struct
      net/mlx5: Rename ptp clock info
      net/mlx5: Release clock lock before scheduling a PPS work
      net/mlx5: Don't call timecounter cyc2time directly from 1PPS flow

Jianbo Liu (3):
      net/mlx5e: Return a valid errno if can't get lag device index
      net/mlx5e: Add LAG warning for unsupported tx type
      net/mlx5e: Add LAG warning if bond slave is not lag master

Maor Dickman (1):
      net/mlx5e: Add IPv6 traffic class (DSCP) header rewrite support

Moshe Tal (1):
      net/mlx5: Fix uninitialized variable warning

Ofer Levi (1):
      net/mlx5e: Add CQE compression support for multi-strides packets

Vu Pham (4):
      net/mlx5: E-Switch, Check and enable metadata support flag before using
      net/mlx5: E-Switch, Dedicated metadata for uplink vport
      net/mlx5: E-Switch, Setup all vports' metadata to support peer miss rule
      net/mlx5: E-Switch, Use vport metadata matching by default

 drivers/net/ethernet/mellanox/mlx5/core/en.h       |  1 +
 .../net/ethernet/mellanox/mlx5/core/en/health.c    |  2 +-
 .../net/ethernet/mellanox/mlx5/core/en_ethtool.c   |  1 -
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  | 12 ++-
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c    | 11 ++-
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c    | 11 +++
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 85 +++++++++++++---------
 drivers/net/ethernet/mellanox/mlx5/core/lag.c      | 66 ++++++++++++-----
 drivers/net/ethernet/mellanox/mlx5/core/lag.h      |  7 ++
 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c   |  9 ++-
 .../net/ethernet/mellanox/mlx5/core/lib/clock.c    | 61 +++++++++-------
 include/linux/mlx5/device.h                        |  3 +-
 include/linux/mlx5/driver.h                        |  1 -
 13 files changed, 181 insertions(+), 89 deletions(-)

Comments

Jakub Kicinski Sept. 16, 2020, 4:56 p.m. UTC | #1
On Tue, 15 Sep 2020 13:25:17 -0700 saeed@kernel.org wrote:
> From: Saeed Mahameed <saeedm@nvidia.com>
> 
> Hi Dave & Jakub,
> 
> This series adds some misc updates to mlx5 driver.
> 
> For more information please see tag log below.
> 
> Please pull and let me know if there is any problem.

I don't really know what the metadata stuff is for but nothing looks
alarming so:

Reviewed-by: Jakub Kicinski <kuba@kernel.org>

That said some of the patches look like they should rather go to net.
e.g. 4, 6, 11.. why not?
David Miller Sept. 16, 2020, 10:18 p.m. UTC | #2
From: saeed@kernel.org
Date: Tue, 15 Sep 2020 13:25:17 -0700

> From: Saeed Mahameed <saeedm@nvidia.com>
> 
> Hi Dave & Jakub,
> 
> This series adds some misc updates to mlx5 driver.
> 
> For more information please see tag log below.
> 
> Please pull and let me know if there is any problem.

Pulled, thank you.
Saeed Mahameed Sept. 17, 2020, 6:01 a.m. UTC | #3
On Wed, 2020-09-16 at 09:56 -0700, Jakub Kicinski wrote:
> On Tue, 15 Sep 2020 13:25:17 -0700 saeed@kernel.org wrote:
> > From: Saeed Mahameed <saeedm@nvidia.com>
> > 
> > Hi Dave & Jakub,
> > 
> > This series adds some misc updates to mlx5 driver.
> > 
> > For more information please see tag log below.
> > 
> > Please pull and let me know if there is any problem.
> 
> I don't really know what the metadata stuff is for but nothing looks
> alarming so:

In simple words: the NIC steering pipeline knows to look into the
packet fields in addition to that it can also provide and match on
"metadata" such as, origin function, dest function/port if already
determined, and some other well known hw registers..

> 
> Reviewed-by: Jakub Kicinski <kuba@kernel.org>
> 
> That said some of the patches look like they should rather go to net.
> e.g. 4, 6, 11.. why not?

nothing critical really.