Bug 2223720

Summary: libvma: Socketxtreme buffer reclaim leak
Product: Red Hat Enterprise Linux 8 Reporter: Kamal Heib <kheib>
Component: libvmaAssignee: Kamal Heib <kheib>
Status: VERIFIED --- QA Contact: Afom T. Michael <tmichael>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.9CC: ccheney, dbodnarc, hwkernel-mgr, infiniband-qe, rdma-dev-team, tmichael
Target Milestone: rcKeywords: Triaged
Target Release: 8.9   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: libvma-9.8.20-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2223701 Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamal Heib 2023-07-18 15:49:51 UTC
+++ This bug was initially created as a clone of Bug #2223701 +++

libvma was recently rebased to 9.8.20 but an upstream pre-release version (9.8.31) has a memory leak fix as noted below.

Could that patch be backported to the version in RHEL?

https://github.com/Mellanox/libvma/releases

VMA 9.8.31 Pre-release

Fixed:

    Socketxtreme buffer reclaim leak

--

VMA 9.8.30 Pre-release

Added:

    Support for ConnectX-7

--

VMA 9.8.20 Latest

Fixed:

    Fix compilation issue for gcc 13.0.1

--

Comment 1 Afom T. Michael 2023-08-01 23:46:18 UTC
Test with libvma-9.8.20-2.el8 passed and hence, marking this as "Verified: Tested".

$ grep DISTRO /etc/motd | uniq | tr -d " "
DISTRO=RHEL-8.9.0-20230801.18
$ cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.9 Beta (Ootpa)
$ uname -r
4.18.0-506.el8.x86_64
$ rpm -q rdma-core openmpi mpitests-openmpi ucx libvma libvma-utils
rdma-core-46.0-1.el8.1.x86_64
openmpi-4.1.1-5.el8.x86_64
mpitests-openmpi-7.1-2.el8.1.x86_64
ucx-1.14.1-1.el8.1.x86_64
libvma-9.8.20-2.el8.x86_64
libvma-utils-9.8.20-2.el8.x86_64
$

vma test results on rdma-qe-28/rdma-qe-29 & Beaker job J:8142381:
4.18.0-506.el8.x86_64, rdma-core-46.0-1.el8.1, mlx5, roce.45, ConnectX-5 & mlx5_0
    Result | Status | Test
  ---------+--------+------------------------------------
      PASS |      0 | sockperf pingpong multicast
      PASS |      0 | sockperf throughput multicast
      PASS |      0 | sockperf throughput unicast
      PASS |      0 | sockperf pingpong unicast
      PASS |      0 | sockperf (100 sockets) pingpong multicast
      PASS |      0 | sockperf (100 sockets) pingpong unicast
      PASS |      0 | sockperf pingpong multicast pkey/vlan
      PASS |      0 | sockperf pingpong unicast pkey/vlan

Comment 5 Afom T. Michael 2023-08-03 19:02:43 UTC
vma test passed & libvma-9.8.20-3.el8 is included with RHEL-8.9.0-20230803.17. Therefore, moving this to "Verified".

$ grep DISTRO /etc/motd | uniq | tr -d " "
DISTRO=RHEL-8.9.0-20230803.17
$ cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.9 Beta (Ootpa)
$ uname -r
4.18.0-506.el8.x86_64
$ rpm -qa | grep -E "rdma|vma"
libvma-utils-9.8.20-3.el8.x86_64
librdmacm-46.0-1.el8.1.x86_64
rdma-core-devel-46.0-1.el8.1.x86_64
librdmacm-utils-46.0-1.el8.1.x86_64
rdma-core-46.0-1.el8.1.x86_64
libvma-9.8.20-3.el8.x86_64
$

vma test results on rdma-qe-40/rdma-qe-41 & Beaker job J:8149544:
4.18.0-506.el8.x86_64, rdma-core-46.0-1.el8.1, mlx5, ib0, ConnectX-7 & mlx5_0
    Result | Status | Test
  ---------+--------+------------------------------------
      PASS |      0 | sockperf pingpong multicast
      PASS |      0 | sockperf throughput multicast
      PASS |      0 | sockperf throughput unicast
      PASS |      0 | sockperf pingpong unicast
      PASS |      0 | sockperf (100 sockets) pingpong multicast
      PASS |      0 | sockperf (100 sockets) pingpong unicast
      PASS |      0 | sockperf pingpong multicast pkey/vlan
      PASS |      0 | sockperf pingpong unicast pkey/vlan
Checking for failures and known issues:
  no test failures

vma test results on rdma-qe-40/rdma-qe-41 & Beaker job J:8149544:
4.18.0-506.el8.x86_64, rdma-core-46.0-1.el8.1, mlx5, roce.45, ConnectX-7 & mlx5_1
    Result | Status | Test
  ---------+--------+------------------------------------
      PASS |      0 | sockperf pingpong multicast
      PASS |      0 | sockperf throughput multicast
      PASS |      0 | sockperf throughput unicast
      PASS |      0 | sockperf pingpong unicast
      PASS |      0 | sockperf (100 sockets) pingpong multicast
      PASS |      0 | sockperf (100 sockets) pingpong unicast
      PASS |      0 | sockperf pingpong multicast pkey/vlan
      PASS |      0 | sockperf pingpong unicast pkey/vlan
Checking for failures and known issues:
  no test failures