import CS dpdk-25.11-1.el9

This commit is contained in:
AlmaLinux RelEng Bot 2026-03-30 10:23:04 -04:00
parent 8cbc61c441
commit a243b9b96b
4 changed files with 10 additions and 50 deletions

View File

@ -1,2 +1,2 @@
fe6fdabe7e50094219e5f8ef925c0e96ead5f062 SOURCES/dpdk-24.11.2.tar.xz
99c54a6ab99a73dd160fc9220d53192590e6c0aa SOURCES/dpdk-25.11.tar.xz
3cc45b133677fbff08e89e65a2120be52ebb27a5 SOURCES/pyelftools-0.27.tar.gz

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/dpdk-24.11.2.tar.xz
SOURCES/dpdk-25.11.tar.xz
SOURCES/pyelftools-0.27.tar.gz

View File

@ -1,43 +0,0 @@
From f1f9113a08b202d302ba9448d351c04da48ff46d Mon Sep 17 00:00:00 2001
From: Maxime Coquelin <maxime.coquelin@redhat.com>
Date: Wed, 28 May 2025 11:36:44 +0200
Subject: [PATCH] net/mlx5: avoid setting kernel MTU if not needed
This patch checks whether the Kernel MTU has the same value
as the requested one at port configuration time, and skip
setting it if it is the same.
Doing this, we can avoid the application to require
NET_ADMIN capability, as in v23.11.
Fixes: 10859ecf09c4 ("net/mlx5: fix MTU configuration")
Cc: stable@dpdk.org
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
---
drivers/net/mlx5/mlx5_ethdev.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c
index a50320075c..b7df39ace9 100644
--- a/drivers/net/mlx5/mlx5_ethdev.c
+++ b/drivers/net/mlx5/mlx5_ethdev.c
@@ -678,6 +678,14 @@ mlx5_dev_set_mtu(struct rte_eth_dev *dev, uint16_t mtu)
ret = mlx5_get_mtu(dev, &kern_mtu);
if (ret)
return ret;
+
+ if (kern_mtu == mtu) {
+ priv->mtu = mtu;
+ DRV_LOG(DEBUG, "port %u adapter MTU was already set to %u",
+ dev->data->port_id, mtu);
+ return 0;
+ }
+
/* Set kernel interface MTU first. */
ret = mlx5_set_mtu(dev, mtu);
if (ret)
--
2.49.0

View File

@ -8,8 +8,8 @@
#% define date 20191128
#% define shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%define ver 24.11.2
%define rel 3
%define ver 25.11
%define rel 1
%define srcname dpdk%(awk -F. '{ if (NF > 2) print "-stable" }' <<<%{version})
@ -31,8 +31,6 @@ Source: https://fast.dpdk.org/rel/dpdk-%{ver}.tar.xz
# Only needed for creating snapshot tarballs, not used in build itself
Source100: dpdk-snapshot.sh
Patch1: 0001-net-mlx5-avoid-setting-kernel-MTU-if-not-needed.patch
Summary: Set of libraries and drivers for fast packet processing
#
@ -150,7 +148,6 @@ ENABLED_DRIVERS=(
ENABLED_DRIVERS+=(
baseband/acc
bus/vmbus
common/iavf
common/nfp
net/bnxt
net/ena
@ -290,6 +287,12 @@ find %{buildroot}%{_datadir}/man/ -type f -a ! -iname "*rte_*" -exec rm {} \;
%endif
%changelog
* Fri Jan 30 2026 Kevin Traynor <ktraynor@redhat.com> - 25.11-1
- Rebase to 25.11 (RHEL-132461)
* Tue Oct 14 2025 Kevin Traynor <ktraynor@redhat.com> - 24.11.3-1
- Rebase to 24.11.3 (RHEL-121229)
* Tue Aug 19 2025 David Marchand <david.marchand@redhat.com> - 24.11.2-3
- Enable net/mlx5 driver for ARM (RHEL-109612)