Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [pull request][net-next 00/16] mlx5 updates 2021-08-02
@ 2021-08-03  2:28 Saeed Mahameed
  2021-08-03  2:28 ` [net-next 01/16] net/mlx5e: Use a new initializer to build uniform indir table Saeed Mahameed
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: Saeed Mahameed @ 2021-08-03  2:28 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski; +Cc: netdev, Saeed Mahameed

From: Saeed Mahameed <saeedm@nvidia.com>

Hi Dave/Jakub,

This series adds misc cleanup and some refactroing to mlx5e driver,
needed for upcoming submissions.

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 1187c8c4642d109037202b43a5054adaef78b760:

  net: phy: mscc: make some arrays static const, makes object smaller (2021-08-02 09:15:07 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2021-08-02

for you to fetch changes up to bcd68c04c7692416206414dc8971730aa140eba7:

  net/mlx5: Fix missing return value in mlx5_devlink_eswitch_inline_mode_set() (2021-08-02 19:26:29 -0700)

----------------------------------------------------------------
mlx5-updates-2021-08-02

This patch-set changes the TTC (Traffic Type Classification) logic
to be independent from the mlx5 ethernet driver by renaming the traffic
types enums and making the TTC API generic to the mlx5 core driver.

It allows to decouple TTC logic from mlx5e and reused by other parts
of mlx5 drivers, namely ADQ and lag TX steering hashing.

Patches overview:
1 - Rename traffic type enums to be mlx5 generic.
2 - Rename related TTC arguments and functions.
3 - Remove dependency in the mlx5e driver from the TTC implementation.
4 - Move TTC logic to fs_ttc.
5 - Embed struct mlx5_ttc_table in fs_ttc.

The refactoring series is followed by misc' cleanup patches.

----------------------------------------------------------------
Jiapeng Chong (1):
      net/mlx5: Fix missing return value in mlx5_devlink_eswitch_inline_mode_set()

Maor Gottlieb (5):
      net/mlx5e: Rename traffic type enums
      net/mlx5e: Rename some related TTC args and functions
      net/mlx5e: Decouple TTC logic from mlx5e
      net/mlx5: Move TTC logic to fs_ttc
      net/mlx5: Embed mlx5_ttc_table

Maxim Mikityanskiy (4):
      net/mlx5e: Use a new initializer to build uniform indir table
      net/mlx5e: Introduce mlx5e_channels API to get RQNs
      net/mlx5e: Hide all implementation details of mlx5e_rx_res
      net/mlx5e: Allocate the array of channels according to the real max_nch

Roi Dayan (6):
      net/mlx5e: Remove redundant tc act includes
      net/mlx5e: Remove redundant filter_dev arg from parse_tc_fdb_actions()
      net/mlx5e: Remove redundant cap check for flow counter
      net/mlx5e: Remove redundant parse_attr arg
      net/mlx5e: Remove redundant assignment of counter to null
      net/mlx5e: Return -EOPNOTSUPP if more relevant when parsing tc actions

 drivers/net/ethernet/mellanox/mlx5/core/Makefile   |   4 +-
 drivers/net/ethernet/mellanox/mlx5/core/en.h       |  20 +-
 .../net/ethernet/mellanox/mlx5/core/en/channels.c  |  46 ++
 .../net/ethernet/mellanox/mlx5/core/en/channels.h  |  16 +
 drivers/net/ethernet/mellanox/mlx5/core/en/fs.h    |  84 +--
 .../mellanox/mlx5/core/en/fs_tt_redirect.c         |  30 +-
 .../mellanox/mlx5/core/en/fs_tt_redirect.h         |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c   |   6 +-
 drivers/net/ethernet/mellanox/mlx5/core/en/rqt.c   |   9 +
 drivers/net/ethernet/mellanox/mlx5/core/en/rqt.h   |   3 +
 .../net/ethernet/mellanox/mlx5/core/en/rx_res.c    | 782 ++++++++++++++++++++-
 .../net/ethernet/mellanox/mlx5/core/en/rx_res.h    |  76 +-
 .../net/ethernet/mellanox/mlx5/core/en/xsk/pool.c  |   4 +-
 .../net/ethernet/mellanox/mlx5/core/en/xsk/setup.c |  56 --
 .../net/ethernet/mellanox/mlx5/core/en/xsk/setup.h |   4 -
 .../ethernet/mellanox/mlx5/core/en_accel/fs_tcp.c  |  12 +-
 .../mellanox/mlx5/core/en_accel/ipsec_fs.c         |  13 +-
 .../ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c  |  24 +-
 .../net/ethernet/mellanox/mlx5/core/en_ethtool.c   |  69 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c    | 677 +++---------------
 .../ethernet/mellanox/mlx5/core/en_fs_ethtool.c    |  55 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  | 507 +------------
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c   |  66 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c    |  86 +--
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c |   5 +-
 .../net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c  |  55 +-
 .../net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c   | 602 ++++++++++++++++
 .../net/ethernet/mellanox/mlx5/core/lib/fs_ttc.h   |  70 ++
 include/linux/mlx5/fs.h                            |   2 +
 30 files changed, 1852 insertions(+), 1535 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/channels.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/channels.h
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.h

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-08-03 10:30 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03  2:28 [pull request][net-next 00/16] mlx5 updates 2021-08-02 Saeed Mahameed
2021-08-03  2:28 ` [net-next 01/16] net/mlx5e: Use a new initializer to build uniform indir table Saeed Mahameed
2021-08-03 10:30   ` patchwork-bot+netdevbpf
2021-08-03  2:28 ` [net-next 02/16] net/mlx5e: Introduce mlx5e_channels API to get RQNs Saeed Mahameed
2021-08-03  2:28 ` [net-next 03/16] net/mlx5e: Hide all implementation details of mlx5e_rx_res Saeed Mahameed
2021-08-03  2:28 ` [net-next 04/16] net/mlx5e: Allocate the array of channels according to the real max_nch Saeed Mahameed
2021-08-03  2:28 ` [net-next 05/16] net/mlx5e: Rename traffic type enums Saeed Mahameed
2021-08-03  2:28 ` [net-next 06/16] net/mlx5e: Rename some related TTC args and functions Saeed Mahameed
2021-08-03  2:28 ` [net-next 07/16] net/mlx5e: Decouple TTC logic from mlx5e Saeed Mahameed
2021-08-03  2:28 ` [net-next 08/16] net/mlx5: Move TTC logic to fs_ttc Saeed Mahameed
2021-08-03  2:28 ` [net-next 09/16] net/mlx5: Embed mlx5_ttc_table Saeed Mahameed
2021-08-03  2:28 ` [net-next 10/16] net/mlx5e: Remove redundant tc act includes Saeed Mahameed
2021-08-03  2:28 ` [net-next 11/16] net/mlx5e: Remove redundant filter_dev arg from parse_tc_fdb_actions() Saeed Mahameed
2021-08-03  2:28 ` [net-next 12/16] net/mlx5e: Remove redundant cap check for flow counter Saeed Mahameed
2021-08-03  2:28 ` [net-next 13/16] net/mlx5e: Remove redundant parse_attr arg Saeed Mahameed
2021-08-03  2:28 ` [net-next 14/16] net/mlx5e: Remove redundant assignment of counter to null Saeed Mahameed
2021-08-03  2:28 ` [net-next 15/16] net/mlx5e: Return -EOPNOTSUPP if more relevant when parsing tc actions Saeed Mahameed
2021-08-03  2:28 ` [net-next 16/16] net/mlx5: Fix missing return value in mlx5_devlink_eswitch_inline_mode_set() Saeed Mahameed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).