net/mlx5e: simplify and optimize napi poll flow
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
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net/mlx5e: Reduce branches in napi polldrivers/ | +15 | 0 replies | Applied |
| 2/2 | net/mlx5e: Let kTLS RX get async ICOSQ param in napi polldrivers/ drivers/ drivers/ | +10 | 0 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Dragos Tatulea |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/2] net/mlx5e: simplify and optimize napi poll flow
Hi,
This series simplifies the mlx5e napi poll flow and reduces branching in hot paths by leveraging existing dependencies between channel features.
Patch 1 avoids passing the full channel object to kTLS RX code paths when only the async ICOSQ is needed, and slightly optimizes the common flow in the pending resync handling logic.
Patch 2 further reduces branches in napi poll by relying on established feature dependencies between XDP, async ICOSQ, XSK, and kTLS RX state.
Regards,
Tariq
Tariq Toukan (2):
net/mlx5e: Reduce branches in napi poll net/mlx5e: Let kTLS RX get async ICOSQ param in napi poll
.../mellanox/mlx5/core/en_accel/ktls_rx.c | 5 +-- .../mellanox/mlx5/core/en_accel/ktls_txrx.h | 12 +++---- .../net/ethernet/mellanox/mlx5/core/en_txrx.c | 35 ++++++++++--------- 3 files changed, 25 insertions(+), 27 deletions(-)
base-commit: 18dc8e6d15d7a30888beec46a1e01ca0f98508fa
Signature · 1 line
2.44.0