Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_RDMA_CORE
bool "rdma-core"
depends on BR2_USE_MMU # fork() used in rstream example
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2
depends on !BR2_STATIC_LIBS # dlopen()
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
select BR2_PACKAGE_IPROUTE2 # runtime
select BR2_PACKAGE_LIBNL
help
This is the userspace components for the Linux Kernel's
drivers/infiniband subsystem.
https://github.com/linux-rdma/rdma-core
comment "rdma-core needs a toolchain w/ headers >= 3.4, NPTL, dynamic library"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 \
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS

View File

@@ -0,0 +1,5 @@
# Locally calculated
sha256 7e2db2cb97b18047a40a4054159f64e588801bcece9d5dd9be2c4aca8909f6b5 rdma-core-62.0.tar.gz
sha256 99e0df1d009a21d0dfb031600c550fd8f4efc0c6b2a4ef8b34a995aa6f79c9f4 COPYING.BSD_MIT
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL2
sha256 c46a557f25b8ef9bec76526c4e593fc13e6cba27e7ba30d73b6497a689cf06f6 COPYING.md

View File

@@ -0,0 +1,24 @@
################################################################################
#
# rdma-core
#
################################################################################
RDMA_CORE_VERSION = 62.0
RDMA_CORE_SITE = $(call github,linux-rdma,rdma-core,v$(RDMA_CORE_VERSION))
RDMA_CORE_LICENSE = GPL-2.0 or BSD-2-Clause
RDMA_CORE_LICENSE_FILES = COPYING.GPL2 COPYING.BSD_MIT COPYING.md
RDMA_CORE_DEPENDENCIES = libnl
RDMA_CORE_INSTALL_STAGING = YES
RDMA_CORE_CONF_OPTS = \
-DNO_MAN_PAGES=1 \
-DNO_PYVERBS=1
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
RDMA_CORE_CONF_OPTS += \
-DCMAKE_EXE_LINKER_FLAGS=-latomic \
-DCMAKE_SHARED_LINKER_FLAGS=-latomic
endif
$(eval $(cmake-package))

View File

@@ -0,0 +1,75 @@
Testing rdma-core userspace tools
=================================
Testing rdma-core using Linux software RoCE implementation:
https://en.wikipedia.org/wiki/RDMA_over_Converged_Ethernet
Using two systems with working TCP/IP configuration, for example:
- Server IP: 192.168.123.10
- Client IP: 192.168.123.20
Make sure firewall configurations are appropriate. Routable RoCE v2
uses udp/4791. ibv_rc_pingpong uses tcp/18515 for initial
synchronization.
Note: this test can be executed in two qemu virtual machines with
bridged networking.
Kernel configuration
--------------------
The Linux Kernel needs some InfiniBand configuration. In this example
the kernel "rdma_rxe" driver is needed (CONFIG_RDMA_RXE=y). The Kernel
config fragment file used for package test can be used as a starting
point. See:
support/testing/tests/package/test_rdma_core/linux-rdma.fragment
Buildroot package configuration
-------------------------------
For setting up a software RoCE link, the "rdma" program is needed. It
is provided by the "iproute2" package, when "libmnl" is also
selected. Make sure to have in your Buildroot configuration:
BR2_PACKAGE_IPROUTE2=y
BR2_PACKAGE_LIBMNL=y
BR2_PACKAGE_RDMA_CORE=y
Setting up the rdma link
------------------------
On both server and client:
modprobe rdma_rxe
rdma link add rxe0 type rxe netdev eth0
Testing with rping
------------------
On the server side, run the command:
rping -s -v
On the client side, run the command:
rping -c -v -a 192.168.123.10
Testing with ibv_rc_pingpong
----------------------------
To test with the pingpong example using the reliable connected (RC)
transport:
On the server side, run the command:
ibv_rc_pingpong -d rxe0 -g 1
On the client side, run the command:
ibv_rc_pingpong -d rxe0 -g 1 192.168.123.10