net/mlx5e: Improve channel creation time via fast-path MKEY initialization
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net/mlx5e: Move RX MPWQE slowpath fields into a separate structdrivers/ drivers/ | +10 | 1 reply | |
| 2/3 | net/mlx5e: RX, Pre-calculate pad value in MPWQEdrivers/ drivers/ drivers/ | +17 | 1 reply | |
| 3/3 | net/mlx5e: Speed up channel creation by initializing MKEY entries via UMR WQEdrivers/ drivers/ drivers/ +1 more | +185 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Dragos Tatulea | Simon Horman | Joe Damato |
|---|---|---|---|
| Series | R-b | ||
| 1/3 | R-b | R-b | |
| 2/3 | R-b | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next 0/3] net/mlx5e: Improve channel creation time via fast-path MKEY initialization
Hi,
This series improves channel creation time by moving per-channel MKEY initialization from a slow-path FW command to a fast-path UMR WQE.
The benefit becomes more significant with larger MKEYs and a higher number of channels.
On my setup with the maximum configuration (248 channels, MTU 9000, RX/TX ring size 8K), the "interface up" operation is 2.081 seconds faster:
Before: 5.618 seconds After: 3.537 seconds
This corresponds to ~8.4 msec saved per channel.
Regards,
Tariq
Tariq Toukan (3):
net/mlx5e: Move RX MPWQE slowpath fields into a separate struct net/mlx5e: RX, Pre-calculate pad value in MPWQE
net/mlx5e: Speed up channel creation by initializing MKEY entries via
UMR WQE
drivers/net/ethernet/mellanox/mlx5/core/en.h | 11 +- .../net/ethernet/mellanox/mlx5/core/en/txrx.h | 1 + .../net/ethernet/mellanox/mlx5/core/en_main.c | 263 +++++++++++++----- .../net/ethernet/mellanox/mlx5/core/en_rx.c | 9 +- 4 files changed, 212 insertions(+), 72 deletions(-)
base-commit: a7fb05cbb8f989fa5a81818be9680464cff9d717
Signature · 1 line
2.44.0