mbox series

[net-next,0/5] mlx5e per-queue coalescing

Message ID 20240419080445.417574-1-tariqt@nvidia.com (mailing list archive)
Headers show
Series mlx5e per-queue coalescing | expand

Message

Tariq Toukan April 19, 2024, 8:04 a.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org April 22, 2024, 9:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 19 Apr 2024 11:04:40 +0300 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/5] net/mlx5e: Move DIM function declarations to en/dim.h
    https://git.kernel.org/netdev/net-next/c/7ec56914d3ac
  - [net-next,2/5] net/mlx5e: Use DIM constants for CQ period mode parameter
    https://git.kernel.org/netdev/net-next/c/eca1e8a62888
  - [net-next,3/5] net/mlx5e: Dynamically allocate DIM structure for SQs/RQs
    https://git.kernel.org/netdev/net-next/c/a5e89a3f353b
  - [net-next,4/5] net/mlx5e: Support updating coalescing configuration without resetting channels
    https://git.kernel.org/netdev/net-next/c/445a25f6e1a2
  - [net-next,5/5] net/mlx5e: Implement ethtool callbacks for supporting per-queue coalescing
    https://git.kernel.org/netdev/net-next/c/651ebaad6e3c

You are awesome, thank you!