Skip to contentSkip to conversation

doc: update oldest supported kernel

PATCH In review Stephen Hemminger 6 participants 9 messages Sep 26, 2017 – Dec 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: update oldest supported kernel

The DPDK needs to stay up to date with current LTS Linux kernel support. If the kernel is older than LTS it is likely to be insecure and buggy. Therefore only require DPDK to work on oldest LTS kernel.

If distribution vendors want to support DPDK on older kernels, that is their choice. But the upstream source does not need to be cluttered with support for this.

---
 doc/guides/linux_gsg/sys_reqs.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
doc/guides/linux_gsg/sys_reqs.rst +3 -1
index eb8442c62226..b335da2c086d 100644
@@ -121,8 +121,10 @@ System Software
 
 **Required:**
 
-*   Kernel version >= 2.6.34
+*   Kernel version >= 3.2.93
 
+    The kernel version required is based on the oldest long term stable kernel available
+    at kernel.org when the DPDK version is released.
     The kernel version in use can be checked using the command::
 
         uname -r
Signature · 1 line
2.11.0
#1 lore raw
Quoted 33 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Stephen Hemminger
Sent: Tuesday, September 26, 2017 8:17 AM
To: [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: [dpdk-dev] [PATCH] doc: update oldest supported kernel

The DPDK needs to stay up to date with current LTS Linux kernel support. If the kernel is older than LTS it is likely to be insecure and buggy. Therefore only require DPDK to work on oldest LTS kernel.

If distribution vendors want to support DPDK on older kernels, that is their choice. But the upstream source does not need to be cluttered with support for this.

---
 doc/guides/linux_gsg/sys_reqs.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
doc/guides/linux_gsg/sys_reqs.rst +2 -1
index eb8442c62226..b335da2c086d 100644
@@ -121,8 +121,10 @@ System Software
 
 **Required:**
 
-*   Kernel version >= 2.6.34
+*   Kernel version >= 3.2.93
 
+    The kernel version required is based on the oldest long term stable
Quoted 2 lines

kernel available
+ at kernel.org when the DPDK version is released.

Hi,

OSV people, any objection to this?

John

#2 lore raw
Quoted 44 lines · John
Quoted 38 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Stephen Hemminger
Sent: Tuesday, September 26, 2017 8:17 AM
To: [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: [dpdk-dev] [PATCH] doc: update oldest supported kernel

The DPDK needs to stay up to date with current LTS Linux kernel support.
If the kernel is older than LTS it is likely to be insecure and buggy.
Therefore only require DPDK to work on oldest LTS kernel.

If distribution vendors want to support DPDK on older kernels, that is
their choice. But the upstream source does not need to be cluttered with
support for this.

---
 doc/guides/linux_gsg/sys_reqs.rst | 4 +++-

 1 file changed, 3 insertions(+), 1 deletion(-)
doc/guides/linux_gsg/sys_reqs.rst +2 -1
index eb8442c62226..b335da2c086d 100644
@@ -121,8 +121,10 @@ System Software
 
  **Required:**
 
-*   Kernel version >= 2.6.34
+*   Kernel version >= 3.2.93
 
+    The kernel version required is based on the oldest long term
Quoted 3 lines

stable
kernel available
+    at kernel.org when the DPDK version is released.

Hi,

Quoted 3 lines

OSV people, any objection to this?

John

IMHO oldest LTS is a reasonable requirement.

Signature · 2 lines
Kind regards,
Luca Boccassi
Acked-by on v1 1/1
#3 lore raw
In reply to Stephen Hemminger
Quoted 27 lines · Stephen Hemminger

The DPDK needs to stay up to date with current LTS Linux kernel support.
If the kernel is older than LTS it is likely to be insecure and buggy.
Therefore only require DPDK to work on oldest LTS kernel.

If distribution vendors want to support DPDK on older kernels, that is
their choice. But the upstream source does not need to be cluttered with support for this.

---
 doc/guides/linux_gsg/sys_reqs.rst | 4 +++-

 1 file changed, 3 insertions(+), 1 deletion(-)
doc/guides/linux_gsg/sys_reqs.rst +0 -0
index eb8442c62226..b335da2c086d 100644
@@ -121,8 +121,10 @@ System Software


 **Required:**

doc/guides/linux_gsg/sys_reqs.rst +1 -1
-*   Kernel version >= 2.6.34
+*   Kernel version >= 3.2.93
Quoted 7 lines


+    The kernel version required is based on the oldest long term stable kernel available
+    at kernel.org when the DPDK version is released. The kernel version in use can be checked using the command::

         uname -r

Signature · 2 lines
Kind regards,
Luca Boccassi
#4 lore raw
In reply to Stephen Hemminger

26/09/2017 09:17, Stephen Hemminger:

Quoted 11 lines

The DPDK needs to stay up to date with current LTS Linux kernel support. If the kernel is older than LTS it is likely to be insecure and buggy. Therefore only require DPDK to work on oldest LTS kernel.

If distribution vendors want to support DPDK on older kernels, that is their choice. But the upstream source does not need to be cluttered with support for this.

---
 doc/guides/linux_gsg/sys_reqs.rst | 4 +++-

[...]

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

Quoted 4 lines

**Required:**

doc/guides/linux_gsg/sys_reqs.rst +1 -1
-*   Kernel version >= 2.6.34
+*   Kernel version >= 3.2.93

I think we should not specify any minor number. 3.2 is enough.

It would make more sense to change this constraint at the beginning of a release cycle.

#5 lore raw
Quoted 15 lines · Thomas Monjalon

26/09/2017 09:17, Stephen Hemminger:

Quoted 11 lines

The DPDK needs to stay up to date with current LTS Linux kernel support. If the kernel is older than LTS it is likely to be insecure and buggy. Therefore only require DPDK to work on oldest LTS kernel.

If distribution vendors want to support DPDK on older kernels, that is their choice. But the upstream source does not need to be cluttered with support for this.

---
 doc/guides/linux_gsg/sys_reqs.rst | 4 +++-

[...]

Quoted 2 lines

**Required:**

Quoted 7 lines

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

Quoted 2 lines
doc/guides/linux_gsg/sys_reqs.rst +1 -1
-*   Kernel version >= 2.6.34
+*   Kernel version >= 3.2.93

I think we should not specify any minor number. 3.2 is enough.

It would make more sense to change this constraint at the beginning of a release cycle.

If agreed on this, I can send a few cleanup patches for kni and igb_uio after this patch applied.

Quoted 1 line
#6 lore raw

PATCH v2 1/1 doc: update oldest supported kernel in Linux guide

In reply to Stephen Hemminger

From: Stephen Hemminger <[email protected]>

The DPDK needs to stay up to date with current LTS Linux kernel support. If the kernel is older than LTS it is likely to be insecure and buggy. Therefore only require DPDK to work on oldest LTS kernel.

If distribution vendors want to support DPDK on older kernels, that is their choice. But the upstream source does not need to be cluttered with support for this.

---
 doc/guides/linux_gsg/sys_reqs.rst | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
doc/guides/linux_gsg/sys_reqs.rst +4 -1
index 3e7fe6373..5ff740fc4 100644
@@ -121,7 +121,10 @@ System Software
 
 **Required:**
 
-*   Kernel version >= 2.6.34
+*   Kernel version >= 3.2
+
+    The kernel version required is based on the oldest long term stable kernel available
+    at kernel.org when the DPDK version is in development.
 
     The kernel version in use can be checked using the command::
 
Signature · 1 line
2.15.0
Acked-by on v2 1/1
#7 lore raw

Re: [PATCH v2] doc: update oldest supported kernel in Linux guide

Quoted 11 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Thomas Monjalon
Sent: Tuesday, November 28, 2017 10:02 PM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: [dpdk-dev] [PATCH v2] doc: update oldest supported kernel in Linux guide

From: Stephen Hemminger <[email protected]>