Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net/mlx5e: simplify and optimize napi poll flow
@ 2026-05-14 11:10 Tariq Toukan
  2026-05-14 11:10 ` [PATCH net-next 1/2] net/mlx5e: Reduce branches in napi poll Tariq Toukan
  2026-05-14 11:10 ` [PATCH net-next 2/2] net/mlx5e: Let kTLS RX get async ICOSQ param " Tariq Toukan
  0 siblings, 2 replies; 3+ messages in thread
From: Tariq Toukan @ 2026-05-14 11:10 UTC (permalink / raw)
  To: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
	David S. Miller
  Cc: Boris Pismenny, Saeed Mahameed, Leon Romanovsky, Tariq Toukan,
	Mark Bloch, Alexei Starovoitov, Daniel Borkmann,
	Jesper Dangaard Brouer, John Fastabend, Stanislav Fomichev,
	Shahar Shitrit, William Tu, Kuniyuki Iwashima, Dragos Tatulea,
	Sabrina Dubroca, Kees Cook, netdev, linux-rdma, linux-kernel, bpf,
	Gal Pressman

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
-- 
2.44.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-14 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 11:10 [PATCH net-next 0/2] net/mlx5e: simplify and optimize napi poll flow Tariq Toukan
2026-05-14 11:10 ` [PATCH net-next 1/2] net/mlx5e: Reduce branches in napi poll Tariq Toukan
2026-05-14 11:10 ` [PATCH net-next 2/2] net/mlx5e: Let kTLS RX get async ICOSQ param " Tariq Toukan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox