mbox series

[net-next,00/15] mlx5 Hardware Steering part 2

Message ID 20250102181415.1477316-1-tariqt@nvidia.com (mailing list archive)
Headers show
Series mlx5 Hardware Steering part 2 | expand

Message

Tariq Toukan Jan. 2, 2025, 6:13 p.m. UTC
Hi,

Happy new year!

This series contain HWS code cleanups, enhancements, bug fixes, and
additions. Note that some of these patches are fixing bugs in existing
code, but we submit them without 'Fixes' tag to avoid the unnecessary
burden for stable releases, as HWS still couldn't be enabled.

Patches 1-5:
HWS, various code cleanups and enhancements

Patches 6-14:
HWS, various bug fixes and additions

Patch 15:
HWS, setting timeout on polling

Regards,
Tariq

Vlad Dogaru (2):
  net/mlx5: HWS, handle returned error value in pool alloc
  net/mlx5: HWS, support flow sampler destination

Yevgeny Kliteynik (13):
  net/mlx5: HWS, remove the use of duplicated structs
  net/mlx5: HWS, remove implementation of unused FW commands
  net/mlx5: HWS, denote how refcounts are protected
  net/mlx5: HWS, simplify allocations as we support only FDB
  net/mlx5: HWS, add error message on failure to move rules
  net/mlx5: HWS, change error flow on matcher disconnect
  net/mlx5: HWS, remove wrong deletion of the miss table list
  net/mlx5: HWS, reduce memory consumption of a matcher struct
  net/mlx5: HWS, num_of_rules counter on matcher should be atomic
  net/mlx5: HWS, separate SQ that HWS uses from the usual traffic SQs
  net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset
  net/mlx5: HWS, use the right size when writing arg data
  net/mlx5: HWS, set timeout on polling for completion

 .../mellanox/mlx5/core/steering/hws/action.c  | 159 +++++++++++-------
 .../mellanox/mlx5/core/steering/hws/action.h  |   9 +-
 .../mellanox/mlx5/core/steering/hws/bwc.c     |  54 ++++--
 .../mellanox/mlx5/core/steering/hws/bwc.h     |  12 +-
 .../mellanox/mlx5/core/steering/hws/cmd.c     |  95 ++---------
 .../mellanox/mlx5/core/steering/hws/cmd.h     |  13 +-
 .../mellanox/mlx5/core/steering/hws/context.c |  29 +---
 .../mellanox/mlx5/core/steering/hws/context.h |   4 +-
 .../mellanox/mlx5/core/steering/hws/debug.c   |  36 ++--
 .../mellanox/mlx5/core/steering/hws/definer.c |   2 +-
 .../mellanox/mlx5/core/steering/hws/definer.h |   2 +-
 .../mellanox/mlx5/core/steering/hws/matcher.c |  36 ++--
 .../mellanox/mlx5/core/steering/hws/pat_arg.c |   2 +-
 .../mellanox/mlx5/core/steering/hws/pat_arg.h |   2 +-
 .../mellanox/mlx5/core/steering/hws/pool.c    |   4 +-
 .../mellanox/mlx5/core/steering/hws/prm.h     |  42 -----
 .../mellanox/mlx5/core/steering/hws/rule.c    |   2 +-
 .../mellanox/mlx5/core/steering/hws/send.c    |   1 +
 .../mellanox/mlx5/core/steering/hws/table.c   |  22 +--
 19 files changed, 227 insertions(+), 299 deletions(-)


base-commit: 9268abe611b09edc975aa27e6ce829f629352ff4

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 7, 2025, 12:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 2 Jan 2025 20:13:59 +0200 you wrote:
> Hi,
> 
> Happy new year!
> 
> This series contain HWS code cleanups, enhancements, bug fixes, and
> additions. Note that some of these patches are fixing bugs in existing
> code, but we submit them without 'Fixes' tag to avoid the unnecessary
> burden for stable releases, as HWS still couldn't be enabled.
> 
> [...]

Here is the summary with links:
  - [net-next,01/15] net/mlx5: HWS, remove the use of duplicated structs
    https://git.kernel.org/netdev/net-next/c/020ca0abae4c
  - [net-next,02/15] net/mlx5: HWS, remove implementation of unused FW commands
    https://git.kernel.org/netdev/net-next/c/0647f27a5fac
  - [net-next,03/15] net/mlx5: HWS, denote how refcounts are protected
    https://git.kernel.org/netdev/net-next/c/0a1ef807a403
  - [net-next,04/15] net/mlx5: HWS, simplify allocations as we support only FDB
    https://git.kernel.org/netdev/net-next/c/c86963aae5b8
  - [net-next,05/15] net/mlx5: HWS, add error message on failure to move rules
    https://git.kernel.org/netdev/net-next/c/cc611ab6c712
  - [net-next,06/15] net/mlx5: HWS, change error flow on matcher disconnect
    https://git.kernel.org/netdev/net-next/c/1ce840c7a659
  - [net-next,07/15] net/mlx5: HWS, remove wrong deletion of the miss table list
    https://git.kernel.org/netdev/net-next/c/ad4da6cc36ac
  - [net-next,08/15] net/mlx5: HWS, reduce memory consumption of a matcher struct
    https://git.kernel.org/netdev/net-next/c/05e3c287b987
  - [net-next,09/15] net/mlx5: HWS, num_of_rules counter on matcher should be atomic
    https://git.kernel.org/netdev/net-next/c/61fb92701b8a
  - [net-next,10/15] net/mlx5: HWS, separate SQ that HWS uses from the usual traffic SQs
    https://git.kernel.org/netdev/net-next/c/2f851d1702dc
  - [net-next,11/15] net/mlx5: HWS, fix definer's HWS_SET32 macro for negative offset
    https://git.kernel.org/netdev/net-next/c/be482f1d10da
  - [net-next,12/15] net/mlx5: HWS, handle returned error value in pool alloc
    https://git.kernel.org/netdev/net-next/c/a105db854cf2
  - [net-next,13/15] net/mlx5: HWS, use the right size when writing arg data
    https://git.kernel.org/netdev/net-next/c/85ab9ea32548
  - [net-next,14/15] net/mlx5: HWS, support flow sampler destination
    https://git.kernel.org/netdev/net-next/c/663e61225c40
  - [net-next,15/15] net/mlx5: HWS, set timeout on polling for completion
    https://git.kernel.org/netdev/net-next/c/d74ee6e197a2

You are awesome, thank you!