On 11/6/26 14:27, Bing Zhao wrote:

> The PACKET_IGNORE_OUTGOING socket option is used unconditionally,
> but it was only added to the uapi headers in Linux 4.20. The build
> fails on distributions shipping older kernel headers, like RHEL 8
> (kernel-headers-4.18.0-193.el8, gcc 8.5.0):

On 11/6/26 16:06, Frank Dressler wrote:
> If RHEL 8 uses Linux 4.18, [...]
> If DPDK needs to stay compatible with RHEL 8, [...]

Short version: RHEL itself does't seem to ship any DPDK that is too
new for its kernel. The RHEL 8 compatibility requirement may instead
come from NVIDIA's DOCA, which ships DPDK 26.03 on RHEL 8. If so, the
question is whether upstream DPDK should support that combination, or
whether it is better handled on the DOCA side. Details below.

Bing Zhao, is that the use case behind the patch?

Details:
I read too much into Bing Zhao's statement that the new code does not
build with the RHEL 8 kernel. That statement is true.I incorrectly
assumed RHEL itself ships a DPDK version that is too new for its
kernel, which is not the case.

I went through the DPDK and kernel versions shipped in each RHEL
release [1]. All of them ship a DPDK version whose documented minimum
kernel is at or below the RHEL kernel:

 RHEL   | Provides   || DPDK       | Requires
--------+------------++------------+------------
RHEL 10 | Linux 6.12 || DPDK 25.11 | Linux 5.4
                     || DPDK 24.11 | Linux 4.19
--------+------------++------------+------------
RHEL  9 | Linux 5.14 || DPDK 25.11 | Linux 5.4
                     || DPDK 24.11 | Linux 4.19
                     || DPDK 23.11 | Linux 4.14
                     || DPDK 22.11 | Linux 4.14
                     || DPDK 21.11 | Linux 4.4
--------+------------++------------+------------
RHEL  8 | Linux 4.18 || DPDK 23.11 | Linux 4.14
                     || DPDK 21.11 | Linux 4.4
                     || DPDK 20.11 | Linux 3.16
                     || DPDK 19.11 | Linux 3.16
                     || DPDK 18.11 | Linux 3.2

I am not a RHEL user myself.Please correct me if I missed something.

Since Bing Zhao works for NVIDIA I thought of DOCA. DOCA-Host is
provided for RHEL/Rocky 8, 9 and 10 [2], and the DOCA 3.5.0 RHEL 8
repository contains dpdk-community-26.03.0.5 [3]. DPDK 26.03 documents
a minimum kernel of 5.4, while RHEL 8 ships 4.18. That's a mismatch.

So, unless I'm missing something, the RHEL 8 compatibility requirement
comes from DOCA rather than from RHEL.

[1]: https://rpms.remirepo.net/rpmphp/zoom.php?rpm=dpdk
[2]: https://developer.nvidia.com/doca-downloads?deployment_platform=Host-Server&deployment_package=DOCA-Host&target_os=Linux&Architecture=x86_64&Profile=doca-all&Distribution=RHEL-Rocky&version=8&installer_type=rpm_local [3]: https://linux.mellanox.com/public/repo/doca/3.5.0/rhel8/x86_64/Packages/

Reply via email to