]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'net-mlx5e-simplify-and-optimize-napi-poll-flow'
authorJakub Kicinski <kuba@kernel.org>
Tue, 19 May 2026 01:45:52 +0000 (18:45 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 May 2026 01:45:53 +0000 (18:45 -0700)
Tariq Toukan says:

====================
net/mlx5e: simplify and optimize napi poll flow

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.
====================

Link: https://patch.msgid.link/20260514111038.338251-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge