[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1762939749-1165658-1-git-send-email-tariqt@nvidia.com>
Date: Wed, 12 Nov 2025 11:29:03 +0200
From: Tariq Toukan <tariqt@...dia.com>
To: Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Andrew Lunn <andrew+netdev@...n.ch>, "David
S. Miller" <davem@...emloft.net>
CC: Saeed Mahameed <saeedm@...dia.com>, Leon Romanovsky <leon@...nel.org>,
Tariq Toukan <tariqt@...dia.com>, Mark Bloch <mbloch@...dia.com>, "Alexei
Starovoitov" <ast@...nel.org>, Daniel Borkmann <daniel@...earbox.net>,
"Jesper Dangaard Brouer" <hawk@...nel.org>, John Fastabend
<john.fastabend@...il.com>, <netdev@...r.kernel.org>,
<linux-rdma@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<bpf@...r.kernel.org>, Gal Pressman <gal@...dia.com>, Leon Romanovsky
<leonro@...dia.com>, Moshe Shemesh <moshe@...dia.com>, William Tu
<witu@...dia.com>, Dragos Tatulea <dtatulea@...dia.com>, Nimrod Oren
<noren@...dia.com>, Alex Lazar <alazar@...dia.com>
Subject: [PATCH net-next 0/6] net/mlx5e: Speedup channel configuration operations
Hi,
This series significantly improves the latency of channel configuration
operations, like interface up (create channels), interface down (destroy
channels), and channels reconfiguration (create new set, destroy old
one).
This is achieved by dropping reducing the default number of SQs in a
channel from 4 down to 2.
The first four patches by William do the needed refactoring to avoid
using the async ICOSQ in default.
The following two patches by me remove the egress xdp-redirect SQ by
default. It can still be created by loading a dummy XDP program.
The two remaining default SQs per channel:
1 TXQ SQ (for traffic), and 1 ICOSQ (for internal communication
operations with the device).
Perf numbers:
NIC: Connect-X7.
Setup: 248 channels.
Interface up + down:
Before: 2.605 secs
Patch 4: 2.246 secs (1.16x faster)
Patch 6: 1.798 secs (1.25x faster)
Overall: 1.45x faster in our example.
Regards,
Tariq
Tariq Toukan (2):
net/mlx5e: Update XDP features in switch channels
net/mlx5e: Support XDP target xmit with dummy program
William Tu (4):
net/mlx5e: Move async ICOSQ lock into ICOSQ struct
net/mlx5e: Use regular ICOSQ for triggering NAPI
net/mlx5e: Move async ICOSQ to dynamic allocation
net/mlx5e: Conditionally create async ICOSQ
drivers/net/ethernet/mellanox/mlx5/core/en.h | 49 ++++++-
.../mellanox/mlx5/core/en/reporter_tx.c | 1 +
.../ethernet/mellanox/mlx5/core/en/xsk/rx.c | 3 +
.../ethernet/mellanox/mlx5/core/en/xsk/tx.c | 6 +-
.../mellanox/mlx5/core/en_accel/ktls.c | 10 +-
.../mellanox/mlx5/core/en_accel/ktls_rx.c | 26 ++--
.../mellanox/mlx5/core/en_accel/ktls_txrx.h | 4 +-
.../ethernet/mellanox/mlx5/core/en_ethtool.c | 10 +-
.../net/ethernet/mellanox/mlx5/core/en_main.c | 137 ++++++++++++------
.../net/ethernet/mellanox/mlx5/core/en_rep.c | 2 +-
.../net/ethernet/mellanox/mlx5/core/en_rx.c | 3 +
.../net/ethernet/mellanox/mlx5/core/en_txrx.c | 8 +-
12 files changed, 179 insertions(+), 80 deletions(-)
base-commit: 8da7bea7db692e786165b71729fb68b7ff65ee56
--
2.31.1
Powered by blists - more mailing lists