[dpdk-dev] doc: update oldest supported kernel

Message ID 20170926071712.25009-1-stephen@networkplumber.org (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Stephen Hemminger Sept. 26, 2017, 7:17 a.m. UTC
  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.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 doc/guides/linux_gsg/sys_reqs.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
  

Comments

John McNamara Oct. 13, 2017, 3:49 p.m. UTC | #1
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Stephen Hemminger
> Sent: Tuesday, September 26, 2017 8:17 AM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>
> 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.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  doc/guides/linux_gsg/sys_reqs.rst | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/guides/linux_gsg/sys_reqs.rst
> b/doc/guides/linux_gsg/sys_reqs.rst
> index eb8442c62226..b335da2c086d 100644
> --- a/doc/guides/linux_gsg/sys_reqs.rst
> +++ b/doc/guides/linux_gsg/sys_reqs.rst
> @@ -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.

Hi,

OSV people, any objection to this?

John
  
Luca Boccassi Oct. 13, 2017, 3:54 p.m. UTC | #2
On Tue, 2017-09-26 at 08:17 +0100, Stephen Hemminger wrote:
> 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.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  doc/guides/linux_gsg/sys_reqs.rst | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/guides/linux_gsg/sys_reqs.rst
> b/doc/guides/linux_gsg/sys_reqs.rst
> index eb8442c62226..b335da2c086d 100644
> --- a/doc/guides/linux_gsg/sys_reqs.rst
> +++ b/doc/guides/linux_gsg/sys_reqs.rst
> @@ -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

Acked-by: Luca Boccassi <bluca@debian.org>
  
Luca Boccassi Oct. 13, 2017, 3:55 p.m. UTC | #3
On Fri, 2017-10-13 at 15:49 +0000, Mcnamara, John wrote:
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Stephen
> > Hemminger
> > Sent: Tuesday, September 26, 2017 8:17 AM
> > To: dev@dpdk.org
> > Cc: Stephen Hemminger <stephen@networkplumber.org>
> > 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.
> > 
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > ---
> >  doc/guides/linux_gsg/sys_reqs.rst | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> > 
> > diff --git a/doc/guides/linux_gsg/sys_reqs.rst
> > b/doc/guides/linux_gsg/sys_reqs.rst
> > index eb8442c62226..b335da2c086d 100644
> > --- a/doc/guides/linux_gsg/sys_reqs.rst
> > +++ b/doc/guides/linux_gsg/sys_reqs.rst
> > @@ -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.
> 
> Hi,
> 
> OSV people, any objection to this?
> 
> John

IMHO oldest LTS is a reasonable requirement.
  
Thomas Monjalon Nov. 12, 2017, 4:30 a.m. UTC | #4
26/09/2017 09:17, 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.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  doc/guides/linux_gsg/sys_reqs.rst | 4 +++-
[...]
>  **Required:**
>  
> -*   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.
  
Ferruh Yigit Nov. 15, 2017, 3:55 p.m. UTC | #5
On 11/11/2017 8:30 PM, Thomas Monjalon wrote:
> 26/09/2017 09:17, 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.
>>
>> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
>> ---
>>  doc/guides/linux_gsg/sys_reqs.rst | 4 +++-
> [...]
>>  **Required:**
>>  
>> -*   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.

>
  

Patch

diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst
index eb8442c62226..b335da2c086d 100644
--- a/doc/guides/linux_gsg/sys_reqs.rst
+++ b/doc/guides/linux_gsg/sys_reqs.rst
@@ -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