Enable mlx5 driver on ARM

Add net/mlx5 and its dependencies to the drivers list for ARM.

Resolves: RHEL-109887
Signed-off-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
David Marchand 2025-06-10 11:54:38 +02:00
parent 94043ee61f
commit 943db187f7

View File

@ -9,7 +9,7 @@
#% define shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%define ver 24.11.2
%define rel 2
%define rel 3
%define srcname dpdk%(awk -F. '{ if (NF > 2) print "-stable" }' <<<%{version})
@ -66,7 +66,7 @@ BuildRequires: python3-pyelftools
%endif
BuildRequires: gcc, zlib-devel, numactl-devel, libarchive-devel
BuildRequires: doxygen, python3-sphinx
%ifarch x86_64
%ifarch aarch64 x86_64
BuildRequires: rdma-core-devel >= 44
%endif
@ -149,10 +149,8 @@ ENABLED_DRIVERS=(
%ifarch x86_64
ENABLED_DRIVERS+=(
baseband/acc
bus/auxiliary
bus/vmbus
common/iavf
common/mlx5
common/nfp
net/bnxt
net/ena
@ -160,7 +158,6 @@ ENABLED_DRIVERS+=(
net/iavf
net/ice
net/mana
net/mlx5
net/netvsc
net/nfp
net/qede
@ -170,8 +167,11 @@ ENABLED_DRIVERS+=(
%ifarch aarch64 x86_64
ENABLED_DRIVERS+=(
bus/auxiliary
common/mlx5
net/e1000
net/ixgbe
net/mlx5
)
%endif
@ -290,6 +290,9 @@ find %{buildroot}%{_datadir}/man/ -type f -a ! -iname "*rte_*" -exec rm {} \;
%endif
%changelog
* Tue Aug 19 2025 David Marchand <david.marchand@redhat.com> - 24.11.2-3
- Enable net/mlx5 driver for ARM (RHEL-109887)
* Thu Jun 26 2025 Maxime Coquelin <maxime.coquelin@redhat.com> - 24.11.2-2
- Avoid requiring NET_ADMIN with mlx5 (RHEL-93856)