git: 702b3a9a0359 - main - Revert "librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping"

From: Sumit Saxena <ssaxena_at_FreeBSD.org>
Date: Fri, 09 Jan 2026 12:35:09 UTC
The branch main has been updated by ssaxena:

URL: https://cgit.FreeBSD.org/src/commit/?id=702b3a9a0359680b48b9782cb891c584a4ea5073

commit 702b3a9a0359680b48b9782cb891c584a4ea5073
Author:     Sumit Saxena <ssaxena@FreeBSD.org>
AuthorDate: 2026-01-09 12:01:30 +0000
Commit:     Sumit Saxena <ssaxena@FreeBSD.org>
CommitDate: 2026-01-09 12:33:45 +0000

    Revert "librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping"
    
    The commit message has to be rewritten as it is not clear and lacks
    some key details about the change.
    
    This reverts commit 35dd53a9e13265f7a479649776453efc5b737a0f.
    
    Reported by: jrtc27
---
 share/mk/src.libnames.mk             | 7 ++-----
 usr.bin/ofed/libibverbs/Makefile.inc | 2 +-
 usr.bin/ofed/librdmacm/Makefile.inc  | 2 +-
 3 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk
index df5fdc544959..4369a30acc59 100644
--- a/share/mk/src.libnames.mk
+++ b/share/mk/src.libnames.mk
@@ -283,7 +283,6 @@ _LIBRARIES+= \
 		irdma \
 		mlx4 \
 		mlx5 \
-		bnxtre \
 		rdmacm \
 		osmcomp \
 		opensm \
@@ -359,7 +358,7 @@ _DP_cap_sysctl=	nv
 _DP_cap_syslog=	nv
 _DP_crypt=	md
 .if ${MK_OFED} != "no"
-_DP_pcap=	ibverbs mlx5 bnxtre
+_DP_pcap=	ibverbs mlx5
 .endif
 _DP_pjdlog=	util
 _DP_usb=	pthread
@@ -508,12 +507,11 @@ _DP_cxgb4=	ibverbs pthread
 _DP_ibcm=	ibverbs
 _DP_ibmad=	ibumad
 _DP_ibnetdisc=	osmcomp ibmad ibumad
-_DP_ibumad=
+_DP_ibumad=	
 _DP_ibverbs=
 _DP_irdma=	ibverbs pthread
 _DP_mlx4=	ibverbs pthread
 _DP_mlx5=	ibverbs pthread
-_DP_bnxtre=	ibverbs pthread
 _DP_rdmacm=	ibverbs
 _DP_osmcomp=	pthread
 _DP_opensm=	pthread
@@ -806,7 +804,6 @@ LIBIBVERBSDIR=	${_LIB_OBJTOP}/lib/ofed/libibverbs
 LIBIRDMADIR=	${_LIB_OBJTOP}/lib/ofed/libirdma
 LIBMLX4DIR=	${_LIB_OBJTOP}/lib/ofed/libmlx4
 LIBMLX5DIR=	${_LIB_OBJTOP}/lib/ofed/libmlx5
-LIBBNXTREDIR=	${_LIB_OBJTOP}/lib/ofed/libbnxtre
 LIBRDMACMDIR=	${_LIB_OBJTOP}/lib/ofed/librdmacm
 LIBOSMCOMPDIR=	${_LIB_OBJTOP}/lib/ofed/complib
 LIBOPENSMDIR=	${_LIB_OBJTOP}/lib/ofed/libopensm
diff --git a/usr.bin/ofed/libibverbs/Makefile.inc b/usr.bin/ofed/libibverbs/Makefile.inc
index f8301c3d1073..616c9bd54707 100644
--- a/usr.bin/ofed/libibverbs/Makefile.inc
+++ b/usr.bin/ofed/libibverbs/Makefile.inc
@@ -3,6 +3,6 @@ _spath=${SRCTOP}/contrib/ofed/libibverbs
 
 BINDIR?=	/usr/bin
 CFLAGS+=	-I${_spath}
-LIBADD+=	ibverbs mlx4 mlx5 bnxtre cxgb4 irdma pthread
+LIBADD+=	ibverbs mlx4 mlx5 cxgb4 irdma pthread
 
 WARNS?=	2
diff --git a/usr.bin/ofed/librdmacm/Makefile.inc b/usr.bin/ofed/librdmacm/Makefile.inc
index 66fcf2ac267b..74f32fe08b42 100644
--- a/usr.bin/ofed/librdmacm/Makefile.inc
+++ b/usr.bin/ofed/librdmacm/Makefile.inc
@@ -3,6 +3,6 @@ _spath=${SRCTOP}/contrib/ofed/librdmacm
 
 BINDIR?=	/usr/bin
 CFLAGS+=	-I${SRCTOP}/contrib/ofed
-LIBADD+=	ibverbs rdmacm irdma mlx4 mlx5 bnxtre cxgb4 pthread
+LIBADD+=	ibverbs rdmacm irdma mlx4 mlx5 cxgb4 pthread
 
 WARNS?=	0