diff --git a/0064-libxscale-automatically-load-xsc_ib.ko.patch b/0064-libxscale-automatically-load-xsc_ib.ko.patch new file mode 100644 index 0000000000000000000000000000000000000000..21686742c7de8347be1f2859e9edccdadc643552 --- /dev/null +++ b/0064-libxscale-automatically-load-xsc_ib.ko.patch @@ -0,0 +1,27 @@ +From 15228dcde5da4eaae15219978983f388576e4ec1 Mon Sep 17 00:00:00 2001 +From: Xin Tian +Date: Fri, 16 May 2025 14:16:52 +0800 +Subject: [PATCH] libxscale: automatically load xsc_ib.ko + +Automatically load xsc_ib.ko when xsc_eth.ko is loaded + +Signed-off-by: Xin Tian +--- + kernel-boot/rdma-hw-modules.rules | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/kernel-boot/rdma-hw-modules.rules b/kernel-boot/rdma-hw-modules.rules +index 95eaf72..fb9aab4 100644 +--- a/kernel-boot/rdma-hw-modules.rules ++++ b/kernel-boot/rdma-hw-modules.rules +@@ -15,6 +15,7 @@ ENV{ID_NET_DRIVER}=="i40e", RUN{builtin}+="kmod load i40iw" + ENV{ID_NET_DRIVER}=="mlx4_en", RUN{builtin}+="kmod load mlx4_ib" + ENV{ID_NET_DRIVER}=="mlx5_core", RUN{builtin}+="kmod load mlx5_ib" + ENV{ID_NET_DRIVER}=="qede", RUN{builtin}+="kmod load qedr" ++ENV{ID_NET_DRIVER}=="xsc_eth", RUN{builtin}+="kmod load xsc_ib" + + # The user must explicitly load these modules via /etc/modules-load.d/ or otherwise + # rxe +-- +2.43.0 + diff --git a/rdma-core.spec b/rdma-core.spec index c5963065c52a3475d08d1b3c283ef0780c4296d8..b252761d4b24ed79c3b68c58c43fc1b4e1869e5b 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,6 +1,6 @@ Name: rdma-core Version: 50.0 -Release: 29 +Release: 30 Summary: RDMA core userspace libraries and daemons License: GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause Url: https://github.com/linux-rdma/rdma-core @@ -69,6 +69,7 @@ patch60: 0060-libhns-Fix-pad-refcnt-leaking-in-error-flow-of-creat.patch patch61: 0061-libhns-Fix-freeing-pad-without-checking-refcnt.patch patch62: 0062-verbs-Assign-ibv-srq-pd-when-creating-SRQ.patch patch63: 0063-libxscale-update-to-version-2412GA.patch +patch64: 0064-libxscale-automatically-load-xsc_ib.ko.patch BuildRequires: binutils cmake >= 2.8.11 gcc libudev-devel pkgconfig pkgconfig(libnl-3.0) BuildRequires: pkgconfig(libnl-route-3.0) systemd systemd-devel @@ -648,6 +649,12 @@ fi %doc %{_docdir}/%{name}-%{version}/70-persistent-ipoib.rules %changelog +* Fri May 16 2025 Xin Tian - 50.0-30 +- Type: feature +- ID: NA +- SUG: NA +- DESC: [libxscale] automatically load xsc_ib.ko + * Thu May 8 2025 Xin Tian - 50.0-29 - Type: feature - ID: NA