kernel/centos_pkg_dirs_rt
M. Vefa Bicakci 9baff8aa88 Introduce libbnxt_re version 220.0.5.0
This commit introduces "libbnxt_re" version 220.0.5.0 to StarlingX to
support Broadcom NetXtreme-E network adapters' Infiniband/RDMA
functionality. "libbnxt_re" is an Infiniband verbs library.

The source RPM file is used for packaging purposes, and the following
changes are made to source RPM as part of the packaging for StarlingX.
(This is a summary; for further information, please see the patch
files.)

- The spec file is adapted to StarlingX by modifying its Release and
  BuildRoot fields.

- For compatibility with StarlingX's build scripts, the whitespace
  between the field names and the colon characters (':') are removed.

- A BuildRequires is added for kernel{?bt_ext}-headers >= 5.10 to ensure
  that libbnxt_re build does not fail due to a conflict between
  rdma-core and kernel-headers-4.18, the latter of which is
  pre-installed and stays installed in the mock/chroot file system until
  the kernel packages are built by the build system. (This build failure
  is a transient issue impacting efficiency, as the build system retries
  building the package until the correct kernel headers are installed.)

- The configure script is regenerated to ensure that the newer version
  of rdma-core is supported by the configure script, which hard-codes
  ABI version v22, whereas StarlingX ships with rdma-core ABI version
  v37. This is done by calling the autogen.sh script in %build.

- The original source RPM file replaces pre-existing libbnxt_re library
  file symbolic link in /usr/lib64/libibverbs via post-installation
  hooks (i.e., %post). This behaviour is modified to instead directly
  include the symbolic link in the package, since StarlingX's version of
  rdma-core does not include the libbnxt_re library.

- The configure.ac file is patched to use a compatibility version of the
  "stdatomic.h" header provided by libbnxt_re, as the StarlingX/CentOS 7
  toolchain does not have this header file.

Testing:
- An ISO image is successfully built (monolithically) with this commit.

- This commit has not yet been directly tested due to a lack of
  hardware; however, we have confirmed that the library is successfully
  dynamically loaded by applications making use of the libibverbs
  library by packaging the Linux RDMA community's perftest tools for
  StarlingX and then starting the ib_send_bw performance test tool on a
  physical server with Mellanox hardware. This was followed by
  confirming that the /proc/<PID>/maps file for the ib_send_bw process
  contains the new libbnxt_re library. The latter indicates that the
  library is successfully loaded.

Story: 2009915
Task: 44759

Depends-On: https://review.opendev.org/c/starlingx/kernel/+/833464
Depends-On: https://review.opendev.org/c/starlingx/tools/+/833462

Change-Id: I3ffd0a0cbaa076802c8140d8fe67cbe56e6b3a90
Signed-off-by: M. Vefa Bicakci <vefa.bicakci@windriver.com>
2022-03-23 10:23:18 -04:00

14 lines
339 B
Plaintext

kernel-rt
kernel-modules/bnxt_en
kernel-modules/mlnx-ofa_kernel
kernel-modules/intel-iavf
kernel-modules/intel-i40e
kernel-modules/intel-ice
kernel-modules/intel-igb_uio
kernel-modules/qat17
kernel-modules/intel-opae-fpga
userspace/broadcom/libbnxt_re
userspace/mellanox/rdma-core
userspace/mellanox/mlnx-tools
userspace/mellanox/mstflint