Skip to content

mlx5e per-queue coalescing

Tariq Toukan netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net/mlx5e: Move DIM function declarations to en/dim.hdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/dim.h drivers/net/ethernet/mellanox/mlx5/core/en_dim.c +2 more+18 -30 repliesApplied
2/5net/mlx5e: Use DIM constants for CQ period mode parameterdrivers/net/ethernet/mellanox/mlx5/core/en/dim.h drivers/net/ethernet/mellanox/mlx5/core/en/params.c drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c +3 more+53 -540 repliesApplied
3/5net/mlx5e: Dynamically allocate DIM structure for SQs/RQsdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_dim.c drivers/net/ethernet/mellanox/mlx5/core/en_main.c +1 more+31 -120 repliesApplied
4/5net/mlx5e: Support updating coalescing configuration without resetting channelsdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/channels.c drivers/net/ethernet/mellanox/mlx5/core/en/channels.h +9 more+460 -1690 repliesApplied
5/5net/mlx5e: Implement ethtool callbacks for supporting per-queue coalescingdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c drivers/net/ethernet/mellanox/mlx5/core/en_rep.c+152 -00 repliesApplied

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchSaeed Mahameed
1/5
2/5
3/5
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/5] mlx5e per-queue coalescing

Hi,

This patchset adds ethtool per-queue coalescing support for the mlx5e driver.

The series introduce some changes needed as preparations for the final patch which adds the support and implements the callbacks. Main changes:
- DIM code movements into its own header file.
- Switch to dynamic allocation of the DIM struct in the RQs/SQs.
- Allow coalescing config change without channels reset when possible.

Series generated against:
commit fdf412374379 ("gve: Remove qpl_cfg struct since qpl_ids map with queues respectively")

Thanks,
Tariq.

Rahul Rameshbabu (5):
net/mlx5e: Move DIM function declarations to en/dim.h net/mlx5e: Use DIM constants for CQ period mode parameter net/mlx5e: Dynamically allocate DIM structure for SQs/RQs net/mlx5e: Support updating coalescing configuration without resetting
channels
net/mlx5e: Implement ethtool callbacks for supporting per-queue
coalescing

 drivers/net/ethernet/mellanox/mlx5/core/en.h  |  30 +-
 .../ethernet/mellanox/mlx5/core/en/channels.c |  83 +++++
 .../ethernet/mellanox/mlx5/core/en/channels.h |   4 +
 .../net/ethernet/mellanox/mlx5/core/en/dim.h  |  45 +++
 .../ethernet/mellanox/mlx5/core/en/params.c   |  72 +----
 .../ethernet/mellanox/mlx5/core/en/params.h   |   5 -
 .../net/ethernet/mellanox/mlx5/core/en_dim.c  |  95 +++++-
 .../ethernet/mellanox/mlx5/core/en_ethtool.c  | 300 ++++++++++++++----
 .../net/ethernet/mellanox/mlx5/core/en_main.c | 206 ++++++++++--
 .../net/ethernet/mellanox/mlx5/core/en_rep.c  |  10 +-
 .../net/ethernet/mellanox/mlx5/core/en_txrx.c |   4 +-
 include/linux/mlx5/cq.h                       |   7 +-
 include/linux/mlx5/mlx5_ifc.h                 |   7 +-
 13 files changed, 672 insertions(+), 196 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/dim.h
Signature · 1 line
2.31.1