Skip to contentSkip to conversation

update DPDK Linux kernel version

PATCH Applied Stephen Hemminger 4 participants 11 messages Feb 17, 2022 – Nov 27, 2023

lore
Share & tools
lore
#0 lore raw

cover update DPDK Linux kernel version

The 4.4 kernel is dead.

Stephen Hemminger (2):
doc: update required kernel version to 4.9
known_issues: drop note about UIO with really old kernels

 doc/guides/linux_gsg/sys_reqs.rst     |  5 +++--
 doc/guides/rel_notes/known_issues.rst | 21 ---------------------
 2 files changed, 3 insertions(+), 23 deletions(-)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/2 doc: update required kernel version to 4.9

The 4.4 kernel has passed its end of life date (after 6 years). It is no longer supported and therefore DPDK should update its minimum required kernel version.

---
 doc/guides/linux_gsg/sys_reqs.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
doc/guides/linux_gsg/sys_reqs.rst +3 -2
index d95a78d1561d..1d2390590ce8 100644
@@ -121,9 +121,10 @@ System Software
 
 **Required:**
 
-*   Kernel version >= 4.4
+*   Kernel version >= 4.9
 
-    The kernel version required is based on the oldest long term stable kernel available
+    The kernel version required is based on the oldest long term stable
+    kernel (that has not reached end of life)
     at kernel.org when the DPDK version is in development.
     Compatibility for recent distribution kernels will be kept, notably RHEL/CentOS 7.
 
Signature · 1 line
2.34.1
#2 lore raw

Re: [PATCH 1/2] doc: update required kernel version to 4.9

Quoted 16 lines · On Thu, 17 Feb 2022 08:45:16 -0800 Stephen Hemminger…

The 4.4 kernel has passed its end of life date (after 6 years). It is no longer supported and therefore DPDK should update its minimum required kernel version.

---
 doc/guides/linux_gsg/sys_reqs.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
doc/guides/linux_gsg/sys_reqs.rst +0 -0
index d95a78d1561d..1d2390590ce8 100644
@@ -121,9 +121,10 @@ System Software
 
 **Required:**

doc/guides/linux_gsg/sys_reqs.rst System Software · line 130

Quoted 10 lines
doc/guides/linux_gsg/sys_reqs.rst +3 -2
 
-*   Kernel version >= 4.4
+*   Kernel version >= 4.9
 
-    The kernel version required is based on the oldest long term stable kernel available
+    The kernel version required is based on the oldest long term stable
+    kernel (that has not reached end of life)
     at kernel.org when the DPDK version is in development.
     Compatibility for recent distribution kernels will be kept, notably RHEL/CentOS 7.
 

Ping.
This was acked-by Bruce, why is it still not merged?

See: https://en.wikipedia.org/wiki/Linux_kernel_version_history

4.4 kernel reached EOL in February 2022

#3 lore raw

RFC 1/1 doc: update required kernel version to 4.14

In reply to Stephen Hemminger

The 4.4 kernel was end of life in February 2022,
and the next LTS is 4.9 and it is reaching EOL in January 2023. The main distro using 4.9 is Debian Stretch and it is no longer supported. When DPDK 22.11 is released, the 4.9 kernel would only be receiving fixes for three months; therefore lets make the official version 4.14.

As always, current major enterprise Linux releases will continue to be supported, but those releases don't track regular kernel version numbering.

For full details on kernel support see:
https://www.kernel.org/category/releases.html
https://en.wikipedia.org/wiki/Linux_kernel_version_history

Debian Stretch:
https://www.debian.org/releases/stretch/

---
 doc/guides/linux_gsg/sys_reqs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/linux_gsg/sys_reqs.rst +1 -1
index 08d45898f025..ed22b6e80b4c 100644
@@ -105,7 +105,7 @@ System Software
 
 **Required:**
 
-*   Kernel version >= 4.4
+*   Kernel version >= 4.14
 
     The kernel version required is based on the oldest long term stable kernel available
     at kernel.org when the DPDK version is in development.
Signature · 1 line
2.35.1
#4 lore raw

RE: [RFC] doc: update required kernel version to 4.14

Quoted 9 lines

From: Stephen Hemminger [mailto:[email protected]]
Sent: Tuesday, 2 August 2022 17.36

The 4.4 kernel was end of life in February 2022,
and the next LTS is 4.9 and it is reaching EOL in January 2023. The main distro using 4.9 is Debian Stretch and it is no longer supported. When DPDK 22.11 is released, the 4.9 kernel would only be receiving fixes for three months; therefore lets make the official version 4.14.

Makes very good sense to me.

Quoted 30 lines

As always, current major enterprise Linux releases will continue to be supported, but those releases don't track regular kernel version numbering.

For full details on kernel support see:
https://www.kernel.org/category/releases.html
https://en.wikipedia.org/wiki/Linux_kernel_version_history

Debian Stretch:
https://www.debian.org/releases/stretch/

---
 doc/guides/linux_gsg/sys_reqs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/linux_gsg/sys_reqs.rst +1 -1
index 08d45898f025..ed22b6e80b4c 100644
@@ -105,7 +105,7 @@ System Software
 
 **Required:**
 
-*   Kernel version >= 4.4
+*   Kernel version >= 4.14
 
     The kernel version required is based on the oldest long term
Quoted 2 lines

stable kernel available
at kernel.org when the DPDK version is in development.

Shouldn't we generalize your reasoning and update this too? It should reflect that we require more than 3 months to projected EOL, e.g. minimum one year.

Quoted 3 lines

--
2.35.1

#5 lore raw

Re: [RFC] doc: update required kernel version to 4.14

02/08/2022 18:28, Morten Brørup:

Quoted 11 lines
Quoted 9 lines

From: Stephen Hemminger [mailto:[email protected]]
Sent: Tuesday, 2 August 2022 17.36

The 4.4 kernel was end of life in February 2022,
and the next LTS is 4.9 and it is reaching EOL in January 2023. The main distro using 4.9 is Debian Stretch and it is no longer supported. When DPDK 22.11 is released, the 4.9 kernel would only be receiving fixes for three months; therefore lets make the official version 4.14.

Makes very good sense to me.

Yes

Quoted 4 lines
Quoted 4 lines

As always, current major enterprise Linux releases will continue to be supported, but those releases don't track regular kernel version numbering.

Quoted 8 lines
Quoted 8 lines

For full details on kernel support see:
https://www.kernel.org/category/releases.html
https://en.wikipedia.org/wiki/Linux_kernel_version_history

Debian Stretch:
https://www.debian.org/releases/stretch/

Applied, thanks.

#6 lore raw

PATCH 2/2 known_issues: drop note about UIO with really old kernels

In reply to Stephen Hemminger

The DPDK has not supported 3.9 kernel for a long time so the release note about UIO kernel bug in older versions is no longer relevant.

---
 doc/guides/rel_notes/known_issues.rst | 21 ---------------------
 1 file changed, 21 deletions(-)
doc/guides/rel_notes/known_issues.rst +0 -21
index 187d9c942e56..56fc38a0edd1 100644
@@ -415,27 +415,6 @@ Differences in how different Intel NICs handle maximum packet length for jumbo f
    Poll Mode Driver (PMD).
 
 
-Binding PCI devices to igb_uio fails on Linux kernel 3.9 when more than one device is used
-------------------------------------------------------------------------------------------
-
-**Description**:
-   A known bug in the UIO driver included in Linux kernel version 3.9 prevents more than one PCI device to be
-   bound to the igb_uio driver.
-
-**Implication**:
-   The Poll Mode Driver (PMD) will crash on initialization.
-
-**Resolution/Workaround**:
-   Use earlier or later kernel versions, or apply the following
-   `patch  <https://github.com/torvalds/linux/commit/5ed0505c713805f89473cdc0bbfb5110dfd840cb>`_.
-
-**Affected Environment/Platform**:
-   Linux systems with kernel version 3.9
-
-**Driver/Module**:
-   igb_uio module
-
-
 GCC might generate Intel® AVX instructions for processors without Intel® AVX support
 ------------------------------------------------------------------------------------
 
Signature · 1 line
2.34.1
#7 lore raw

Re: [PATCH 2/2] known_issues: drop note about UIO with really old kernels

Quoted 31 lines · On Thu, 17 Feb 2022 08:45:17 -0800 Stephen Hemminger…

The DPDK has not supported 3.9 kernel for a long time so the release note about UIO kernel bug in older versions is no longer relevant.

---
 doc/guides/rel_notes/known_issues.rst | 21 ---------------------
 1 file changed, 21 deletions(-)
doc/guides/rel_notes/known_issues.rst +0 -14
index 187d9c942e56..56fc38a0edd1 100644
@@ -415,27 +415,6 @@ Differences in how different Intel NICs handle maximum packet length for jumbo f
    Poll Mode Driver (PMD).
 
 
-Binding PCI devices to igb_uio fails on Linux kernel 3.9 when more than one device is used
-------------------------------------------------------------------------------------------
-
-**Description**:
-   A known bug in the UIO driver included in Linux kernel version 3.9 prevents more than one PCI device to be
-   bound to the igb_uio driver.
-
-**Implication**:
-   The Poll Mode Driver (PMD) will crash on initialization.
-
-**Resolution/Workaround**:
-   Use earlier or later kernel versions, or apply the following
-   `patch  <https://github.com/torvalds/linux/commit/5ed0505c713805f89473cdc0bbfb5110dfd840cb>`_.
-

doc/guides/rel_notes/known_issues.rst Differences in how different Intel NICs handle maximum packet length for jumbo f · line 420

Quoted 10 lines
doc/guides/rel_notes/known_issues.rst +0 -7
-**Affected Environment/Platform**:
-   Linux systems with kernel version 3.9
-
-**Driver/Module**:
-   igb_uio module
-
-
 GCC might generate Intel® AVX instructions for processors without Intel® AVX support
 ------------------------------------------------------------------------------------
 

Could someone review this patch? It been stuck for a long time.

#8 lore raw

Re: [PATCH 2/2] known_issues: drop note about UIO with really old kernels

Quoted 38 lines · Stephen Hemminger
Quoted 35 lines · On Thu, 17 Feb 2022 08:45:17 -0800 Stephen Hemminger…

The DPDK has not supported 3.9 kernel for a long time so the release note about UIO kernel bug in older versions is no longer relevant.

---
 doc/guides/rel_notes/known_issues.rst | 21 ---------------------
 1 file changed, 21 deletions(-)
doc/guides/rel_notes/known_issues.rst +0 -18
index 187d9c942e56..56fc38a0edd1 100644
@@ -415,27 +415,6 @@ Differences in how different Intel NICs handle maximum packet length for jumbo f
    Poll Mode Driver (PMD).
 
 
-Binding PCI devices to igb_uio fails on Linux kernel 3.9 when more than one device is used
-------------------------------------------------------------------------------------------
-
-**Description**:
-   A known bug in the UIO driver included in Linux kernel version 3.9 prevents more than one PCI device to be
-   bound to the igb_uio driver.
-
-**Implication**:
-   The Poll Mode Driver (PMD) will crash on initialization.
-
-**Resolution/Workaround**:
-   Use earlier or later kernel versions, or apply the following
-   `patch  <https://github.com/torvalds/linux/commit/5ed0505c713805f89473cdc0bbfb5110dfd840cb>`_.
-
-**Affected Environment/Platform**:
-   Linux systems with kernel version 3.9
-
-**Driver/Module**:
Quoted 8 lines

doc/guides/rel_notes/known_issues.rst Differences in how different Intel NICs handle maximum packet length for jumbo f · line 420

Quoted 6 lines
doc/guides/rel_notes/known_issues.rst +0 -3
-   igb_uio module
-
-
 GCC might generate Intel® AVX instructions for processors without Intel® AVX support
 ------------------------------------------------------------------------------------
 

Could someone review this patch? It been stuck for a long time.

#9 lore raw

Re: [PATCH 2/2] known_issues: drop note about UIO with really old kernels

17/07/2023 16:14, Bruce Richardson:

Quoted 34 lines · Stephen Hemminger
Quoted 24 lines
Quoted 21 lines · On Thu, 17 Feb 2022 08:45:17 -0800 Stephen Hemminger…

The DPDK has not supported 3.9 kernel for a long time so the release note about UIO kernel bug in older versions is no longer relevant.

---

doc/guides/rel_notes/known_issues.rst +0 -15
-Binding PCI devices to igb_uio fails on Linux kernel 3.9 when more than one device is used
-------------------------------------------------------------------------------------------
-
-**Description**:
-   A known bug in the UIO driver included in Linux kernel version 3.9 prevents more than one PCI device to be
-   bound to the igb_uio driver.
-
-**Implication**:
-   The Poll Mode Driver (PMD) will crash on initialization.
-
-**Resolution/Workaround**:
-   Use earlier or later kernel versions, or apply the following
-   `patch  <https://github.com/torvalds/linux/commit/5ed0505c713805f89473cdc0bbfb5110dfd840cb>`_.
-
-**Affected Environment/Platform**:
Quoted 8 lines

doc/guides/rel_notes/known_issues.rst Differences in how different Intel NICs handle maximum packet length for jumbo f · line 438

Quoted 6 lines
doc/guides/rel_notes/known_issues.rst +0 -6
-   Linux systems with kernel version 3.9
-
-**Driver/Module**:
-   igb_uio module
-
-

Could someone review this patch? It been stuck for a long time.

Quoted 1 line

Applied, sorry for having missed it.

#10 lore raw
In reply to Stephen Hemminger
Quoted 10 lines · Stephen Hemminger

The 4.4 kernel is dead.

Stephen Hemminger (2):
doc: update required kernel version to 4.9
known_issues: drop note about UIO with really old kernels

 doc/guides/linux_gsg/sys_reqs.rst     |  5 +++--
 doc/guides/rel_notes/known_issues.rst | 21 ---------------------
 2 files changed, 3 insertions(+), 23 deletions(-)