Skip to content

] mlx5 xsk updates part4 and more

Saeed Mahameed netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 0 repliesApplied 15/15

Patches in v1 All 15 applied

#Subject and filesSizeRepliesApplied
1/15net/mlx5e: xsk: Flush RQ on XSK activation to save memorydrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/xsk/pool.c drivers/net/ethernet/mellanox/mlx5/core/en_main.c+19 -50 repliesApplied
2/15net/mlx5e: xsk: Set napi_id to support busy pollingdrivers/net/ethernet/mellanox/mlx5/core/en_main.c+1 -10 repliesApplied
3/15net/mlx5e: xsk: Include XSK skb_from_cqe callbacks in INDIRECT_CALLdrivers/net/ethernet/mellanox/mlx5/core/en_rx.c+4 -20 repliesApplied
4/15net/mlx5e: xsk: Improve need_wakeup logicdrivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.h drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.h drivers/net/ethernet/mellanox/mlx5/core/en_rx.c +1 more+23 -370 repliesApplied
5/15net/mlx5e: xsk: Use umr_mode to calculate striding RQ parametersdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/params.c drivers/net/ethernet/mellanox/mlx5/core/en/params.h +4 more+171 -720 repliesApplied
6/15net/mlx5e: Improve MTT/KSM alignmentdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/params.c drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c +2 more+18 -160 repliesApplied
7/15net/mlx5e: xsk: Use KLM to protect frame overrun in unaligned modedrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/params.c drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c +1 more+90 -100 repliesApplied
8/15net/mlx5e: xsk: Print a warning in slow configurationsdrivers/net/ethernet/mellanox/mlx5/core/en/xsk/pool.c+9 -00 repliesApplied
9/15net/mlx5e: xsk: Optimize for unaligned mode with 3072-byte framesdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en/params.c drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c +1 more+61 -30 repliesApplied
10/15net/mlx5e: Expose rx_oversize_pkts_buffer counterdrivers/net/ethernet/mellanox/mlx5/core/en_main.c drivers/net/ethernet/mellanox/mlx5/core/en_stats.c drivers/net/ethernet/mellanox/mlx5/core/en_stats.h +1 more+32 -40 repliesApplied
11/15net/mlx5: Start health poll at earlier stage of driver loaddrivers/net/ethernet/mellanox/mlx5/core/health.c drivers/net/ethernet/mellanox/mlx5/core/main.c include/linux/mlx5/driver.h+19 -100 repliesApplied
12/15net/mlx5: Set default grace period based on function typedrivers/net/ethernet/mellanox/mlx5/core/health.c+16 -20 repliesApplied
13/15net/mlx5: E-Switch, Allow offloading fwd dest flow table with vportdrivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c+9 -70 repliesApplied
14/15net/mlx5: E-switch, Don't update group if qos is not enableddrivers/net/ethernet/mellanox/mlx5/core/esw/qos.c+5 -10 repliesApplied
15/15net/mlx5: E-Switch, Return EBUSY if can't get mode lockdrivers/net/ethernet/mellanox/mlx5/core/en_tc.c+1 -10 repliesApplied

Reviews trailers per patch

14 of 15 patches have a Reviewed-by or Acked-by.

PatchTariq ToukanDmytro LinkinMoshe ShemeshMaor DickmanRoi Dayan
1/15R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15
12/15R-b
13/15R-b
14/15R-b
15/15R-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 5 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 00/15] ] mlx5 xsk updates part4 and more

From: Saeed Mahameed <[email protected]>

1) Final part of xsk improvements,
in this series Maxim continues to improve xsk implementation
a) XSK Busy polling support
b) Use KLM to avoid Frame overrun in unaligned mode
c) Optimize unaligned more for certain frame sizes
d) Other straight forward minor optimizations.

part 1: https://lore.kernel.org/netdev/[email protected]/
part 2: https://lore.kernel.org/netdev/[email protected]/
part 3: https://lore.kernel.org/netdev/[email protected]/

2) Oversize packets firmware counter, from Gal.

3) Set default grace period for health reporters based on function type

4) Some minor E-Switch improvements

Chris Mi (1):
net/mlx5: E-switch, Don't update group if qos is not enabled

Gal Pressman (1):
net/mlx5e: Expose rx_oversize_pkts_buffer counter

Jianbo Liu (1):
net/mlx5: E-Switch, Return EBUSY if can't get mode lock

Maher Sanalla (1):
net/mlx5: Set default grace period based on function type

Maxim Mikityanskiy (9):
net/mlx5e: xsk: Flush RQ on XSK activation to save memory net/mlx5e: xsk: Set napi_id to support busy polling net/mlx5e: xsk: Include XSK skb_from_cqe callbacks in INDIRECT_CALL net/mlx5e: xsk: Improve need_wakeup logic
net/mlx5e: xsk: Use umr_mode to calculate striding RQ parameters net/mlx5e: Improve MTT/KSM alignment
net/mlx5e: xsk: Use KLM to protect frame overrun in unaligned mode net/mlx5e: xsk: Print a warning in slow configurations net/mlx5e: xsk: Optimize for unaligned mode with 3072-byte frames

Moshe Shemesh (1):
net/mlx5: Start health poll at earlier stage of driver load

Roi Dayan (1):
net/mlx5: E-Switch, Allow offloading fwd dest flow table with vport

 drivers/net/ethernet/mellanox/mlx5/core/en.h  |  18 +-
 .../ethernet/mellanox/mlx5/core/en/params.c   | 203 ++++++++++++++----
 .../ethernet/mellanox/mlx5/core/en/params.h   |  24 ++-
 .../ethernet/mellanox/mlx5/core/en/xsk/pool.c |  18 ++
 .../ethernet/mellanox/mlx5/core/en/xsk/rx.c   |  57 ++++-
 .../ethernet/mellanox/mlx5/core/en/xsk/rx.h   |  14 --
 .../ethernet/mellanox/mlx5/core/en/xsk/tx.h   |  12 --
 .../ethernet/mellanox/mlx5/core/en_ethtool.c  |   4 +-
 .../net/ethernet/mellanox/mlx5/core/en_main.c | 125 ++++++++---
 .../net/ethernet/mellanox/mlx5/core/en_rx.c   |   9 +-
 .../ethernet/mellanox/mlx5/core/en_stats.c    |  21 +-
 .../ethernet/mellanox/mlx5/core/en_stats.h    |   4 +
 .../net/ethernet/mellanox/mlx5/core/en_tc.c   |   2 +-
 .../net/ethernet/mellanox/mlx5/core/en_txrx.c |  33 ++-
 .../net/ethernet/mellanox/mlx5/core/esw/qos.c |   6 +-
 .../mellanox/mlx5/core/eswitch_offloads.c     |  16 +-
 .../net/ethernet/mellanox/mlx5/core/health.c  |  29 ++-
 .../net/ethernet/mellanox/mlx5/core/main.c    |  17 +-
 include/linux/mlx5/driver.h                   |   5 +
 include/linux/mlx5/mlx5_ifc.h                 |   8 +-
 20 files changed, 466 insertions(+), 159 deletions(-)
Signature · 1 line
2.37.3