Skip to content

MLX4 driver upgrade - kernel v6.3

Mohammad Kabat requested to merge mkabat/centos-stream-9:2165367 into main

Description:

Hi all,

This MR includes patches for upgrading mlx4 driver
up to kernel v6.3

Bugzilla:

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

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 mlx4 drivers on x86_64 systems (using ConnectX-3),
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).

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: Mohammad Kabat mkabat@redhat.com

67cda1da (Mohammad Kabat)
mlx4: bpf_xdp_metadata_rx_hash add xdp rss hash type

70a565f1 (Mohammad Kabat)
net/mlx4_en: Introduce flexible array to silence overflow warning

421e1355 (Mohammad Kabat)
net/mlx4_en: Support RX XDP metadata

bacedb99 (Mohammad Kabat)
net/mlx4_en: Introduce wrapper for xdp_buff

47a17302 (Mohammad Kabat)
net/mlx4: small optimization in mlx4_en_xmit()

e50af001 (Mohammad Kabat)
net/mlx4: MLX4_TX_BOUNCE_BUFFER_SIZE depends on MAX_SKB_FRAGS

6d681484 (Mohammad Kabat)
net/mlx4: rename two constants

5c183080 (Mohammad Kabat)
RDMA/mlx4: Remove NULL check before dev_{put, hold}

c8be1b51 (Mohammad Kabat)
ptp: mlx4: convert to .adjfine and adjust_by_scaled_ppm

a9cf0cef (Mohammad Kabat)
net/mlx4: Check retval of mlx4_bitmap_init

dd146a93 (Mohammad Kabat)
net/mlx4: Fix error check for dma_map_sg

04765ef6 (Mohammad Kabat)
mlx4: Do type_clear() for devlink ports when type_set() was called
previously

drivers/infiniband/hw/mlx4/main.c | 12 ++--
drivers/net/ethernet/mellanox/mlx4/en_clock.c | 42 +++++++------
drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 6 ++
drivers/net/ethernet/mellanox/mlx4/en_rx.c | 81 +++++++++++++++++++++-----
drivers/net/ethernet/mellanox/mlx4/en_tx.c | 40 +++++++------
drivers/net/ethernet/mellanox/mlx4/icm.c | 4 +-
drivers/net/ethernet/mellanox/mlx4/main.c | 3 +
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 24 ++++++--
drivers/net/ethernet/mellanox/mlx4/qp.c | 3 +-
include/linux/mlx4/qp.h | 1 +
10 files changed, 145 insertions(+), 71 deletions(-)

Merge request reports