Skip to content

Draft: mlx5, some connction tracking updates and bug fixes

Amir Tzin requested to merge amirtz/centos-stream-9:2229739 into main

Description:

Hi all,

This MR contains some fixes and updates to mlx5 connection tracking. See upstream submission: https://lore.kernel.org/all/20230406020232.83844-1-saeed@kernel.org/

Bugzilla:

Bugzilla: http://bugzilla.redhat.com/2229736

Upstream-status:

All patches are accepted upstream to Linus tree.
Each patch commit message describes its origin.

Testing:

This patch set passed incremental build testing to verify that it is bisectable.
Sanity tests ran over mlx5 drivers on x86_64 systems (using ConnectX-4/5/6),
including the following:

Ethernet:
-- IPv4 traffic (ICMP, TCP, UDP).
-- IPv6 traffic (ICMP, TCP, UDP).

VLAN:
-- IPv4 traffic (ICMP, TCP, UDP).
-- IPv6 traffic (ICMP, TCP, UDP).

RoCE:
-- RDMA (ibv_*_pingpong).
-- RDMACM (examples that comes with librdmacm packages).

Infiniband:
-- RDMA (ibv_*_pingpong).
-- RDMACM (examples that comes with librdmacm packages).

IPoIB:
-- IPv4 traffic (ICMP, TCP, UDP).
-- IPv6 traffic (ICMP, TCP, UDP).

PKey:
-- IPv4 traffic (ICMP, TCP, UDP).
-- IPv6 traffic (ICMP, TCP, UDP).

ASAP2/OVS:
-- Various sanity tests covering OVS offloads.

NFSoRDMA:
-- Discover, mount and write.

iSER:
-- Discover, login and mount.

SRP:
-- Verify srp_daemon service is up and system can discover SRP targets.

Signed-off-by: Amir Tzin atzin@redhat.com

.../ethernet/mellanox/mlx5/core/en/tc/act/accept.c | 10 -
.../ethernet/mellanox/mlx5/core/en/tc/act/act.c | 20 --
.../ethernet/mellanox/mlx5/core/en/tc/act/act.h | 7 +-
.../net/ethernet/mellanox/mlx5/core/en/tc/act/ct.c | 27 +--
.../ethernet/mellanox/mlx5/core/en/tc/act/drop.c | 10 -
.../ethernet/mellanox/mlx5/core/en/tc/act/pedit.c | 10 -
.../ethernet/mellanox/mlx5/core/en/tc/act/ptype.c | 10 -
.../ethernet/mellanox/mlx5/core/en/tc/act/sample.c | 20 --
.../ethernet/mellanox/mlx5/core/en/tc/act/trap.c | 10 -
.../ethernet/mellanox/mlx5/core/en/tc/act/tun.c | 10 -
.../ethernet/mellanox/mlx5/core/en/tc/act/vlan.c | 10 -
.../mellanox/mlx5/core/en/tc/act/vlan_mangle.c | 10 -
.../net/ethernet/mellanox/mlx5/core/en/tc_priv.h | 11 +-
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 248 ++++++---------------
14 files changed, 86 insertions(+), 327 deletions(-)

Edited by Amir Tzin

Merge request reports