mbox series

[net,0/6] mlxsw: Miscellaneous fixes

Message ID cover.1705502064.git.petrm@nvidia.com (mailing list archive)
Headers show
Series mlxsw: Miscellaneous fixes | expand

Message

Petr Machata Jan. 17, 2024, 3:04 p.m. UTC
This patchset is a bric-a-brac of fixes for bugs impacting mlxsw.

- Patches #1 and #2 fix issues in ACL handling error paths.
- Patch #3 fixes stack corruption in ACL code that a recent FW update
  has uncovered.

- Patch #4 fixes an issue in handling of IPIP next hops.

- Patch #5 fixes a typo in a the qos_pfc selftest
- Patch #6 fixes the same selftest to work with 8-lane ports.

Amit Cohen (3):
  mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure
  selftests: mlxsw: qos_pfc: Remove wrong description
  selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes

Ido Schimmel (2):
  mlxsw: spectrum_acl_tcam: Fix NULL pointer dereference in error path
  mlxsw: spectrum_acl_tcam: Fix stack corruption

Petr Machata (1):
  mlxsw: spectrum_router: Register netdevice notifier before nexthop

 .../mellanox/mlxsw/spectrum_acl_erp.c         |   8 +-
 .../mellanox/mlxsw/spectrum_acl_tcam.c        |   6 +-
 .../ethernet/mellanox/mlxsw/spectrum_router.c |  24 ++--
 .../selftests/drivers/net/mlxsw/qos_pfc.sh    |  19 +++-
 .../drivers/net/mlxsw/spectrum-2/tc_flower.sh | 106 +++++++++++++++++-
 5 files changed, 143 insertions(+), 20 deletions(-)

Comments

Paolo Abeni Jan. 18, 2024, 3:06 p.m. UTC | #1
On Wed, 2024-01-17 at 16:04 +0100, Petr Machata wrote:
> This patchset is a bric-a-brac of fixes for bugs impacting mlxsw.
> 
> - Patches #1 and #2 fix issues in ACL handling error paths.
> - Patch #3 fixes stack corruption in ACL code that a recent FW update
>   has uncovered.
> 
> - Patch #4 fixes an issue in handling of IPIP next hops.
> 
> - Patch #5 fixes a typo in a the qos_pfc selftest
> - Patch #6 fixes the same selftest to work with 8-lane ports.
> 
> Amit Cohen (3):
>   mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure
>   selftests: mlxsw: qos_pfc: Remove wrong description
>   selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes
> 
> Ido Schimmel (2):
>   mlxsw: spectrum_acl_tcam: Fix NULL pointer dereference in error path
>   mlxsw: spectrum_acl_tcam: Fix stack corruption
> 
> Petr Machata (1):
>   mlxsw: spectrum_router: Register netdevice notifier before nexthop
> 
>  .../mellanox/mlxsw/spectrum_acl_erp.c         |   8 +-
>  .../mellanox/mlxsw/spectrum_acl_tcam.c        |   6 +-
>  .../ethernet/mellanox/mlxsw/spectrum_router.c |  24 ++--
>  .../selftests/drivers/net/mlxsw/qos_pfc.sh    |  19 +++-
>  .../drivers/net/mlxsw/spectrum-2/tc_flower.sh | 106 +++++++++++++++++-
>  5 files changed, 143 insertions(+), 20 deletions(-)

LGTM, but still a bit too fresh to be merged right now.

Acked-by: Paolo Abeni <pabeni@redhat.com>
patchwork-bot+netdevbpf@kernel.org Jan. 18, 2024, 6 p.m. UTC | #2
Hello:

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

On Wed, 17 Jan 2024 16:04:15 +0100 you wrote:
> This patchset is a bric-a-brac of fixes for bugs impacting mlxsw.
> 
> - Patches #1 and #2 fix issues in ACL handling error paths.
> - Patch #3 fixes stack corruption in ACL code that a recent FW update
>   has uncovered.
> 
> - Patch #4 fixes an issue in handling of IPIP next hops.
> 
> [...]

Here is the summary with links:
  - [net,1/6] mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure
    https://git.kernel.org/netdev/net/c/6d6eeabcfaba
  - [net,2/6] mlxsw: spectrum_acl_tcam: Fix NULL pointer dereference in error path
    https://git.kernel.org/netdev/net/c/efeb7dfea8ee
  - [net,3/6] mlxsw: spectrum_acl_tcam: Fix stack corruption
    https://git.kernel.org/netdev/net/c/483ae90d8f97
  - [net,4/6] mlxsw: spectrum_router: Register netdevice notifier before nexthop
    https://git.kernel.org/netdev/net/c/62bef63646c1
  - [net,5/6] selftests: mlxsw: qos_pfc: Remove wrong description
    https://git.kernel.org/netdev/net/c/40cc674bafd5
  - [net,6/6] selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes
    https://git.kernel.org/netdev/net/c/b34f4de6d30c

You are awesome, thank you!