[dpdk-dev] doc: add kernel version deprecation notice

Message ID 20180131152709.13853-1-stephen@networkplumber.org
State Superseded, archived
Delegated to: Thomas Monjalon
Headers show

Checks

Context Check Description
ci/Intel-compilation fail apply issues
ci/checkpatch success coding style OK

Commit Message

Stephen Hemminger Jan. 31, 2018, 3:27 p.m.
Notify users of upcoming change in kernel requirement.
Encourage users to use current LTS kernel version.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 doc/guides/rel_notes/deprecation.rst | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Thomas Monjalon Feb. 13, 2018, 11:58 p.m. | #1
31/01/2018 16:27, Stephen Hemminger:
> Notify users of upcoming change in kernel requirement.
> Encourage users to use current LTS kernel version.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
> +* linux: Linux kernel version 3.2 (which is the current minimum required
> +  version for the DPDK) will be end of life in May 2018. Therefore the planned
> +  minimum required kernel version for DPDK 18.5 will be next oldest Long
> +  Term Stable (LTS) version which is 3.10. The recommended kernel version is
> +  the latest LTS kernel which currently is 4.14.

We could print a warning at EAL init if kernel version does not satisfy the
minimal requirement.

Acked-by: Thomas Monjalon <thomas@monjalon.net>
Olivier Matz Feb. 14, 2018, 10:26 a.m. | #2
On Wed, Feb 14, 2018 at 12:58:34AM +0100, Thomas Monjalon wrote:
> 31/01/2018 16:27, Stephen Hemminger:
> > Notify users of upcoming change in kernel requirement.
> > Encourage users to use current LTS kernel version.
> > 
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > ---
> > +* linux: Linux kernel version 3.2 (which is the current minimum required
> > +  version for the DPDK) will be end of life in May 2018. Therefore the planned
> > +  minimum required kernel version for DPDK 18.5 will be next oldest Long
> > +  Term Stable (LTS) version which is 3.10. The recommended kernel version is
> > +  the latest LTS kernel which currently is 4.14.
> 
> We could print a warning at EAL init if kernel version does not satisfy the
> minimal requirement.
> 
> Acked-by: Thomas Monjalon <thomas@monjalon.net>

Acked-by: Olivier Matz <olivier.matz@6wind.com>
Luca Boccassi Feb. 14, 2018, 10:31 a.m. | #3
On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote:
> 31/01/2018 16:27, Stephen Hemminger:
> > Notify users of upcoming change in kernel requirement.
> > Encourage users to use current LTS kernel version.
> > 
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > ---
> > +* linux: Linux kernel version 3.2 (which is the current minimum
> > required
> > +  version for the DPDK) will be end of life in May 2018. Therefore
> > the planned
> > +  minimum required kernel version for DPDK 18.5 will be next
> > oldest Long
> > +  Term Stable (LTS) version which is 3.10. The recommended kernel
> > version is
> > +  the latest LTS kernel which currently is 4.14.
> 
> We could print a warning at EAL init if kernel version does not
> satisfy the
> minimal requirement.
> 
> Acked-by: Thomas Monjalon <thomas@monjalon.net>

Note that 3.10 is dead as well since last year (as I discovered with
immense joy when I had to backport meltdown fixes...), the next LTS in
3.16 which will be maintained until 04/2020.
Maxime Coquelin Feb. 14, 2018, 10:33 a.m. | #4
On 01/31/2018 04:27 PM, Stephen Hemminger wrote:
> Notify users of upcoming change in kernel requirement.
> Encourage users to use current LTS kernel version.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>   doc/guides/rel_notes/deprecation.rst | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index d59ad598862b..31d64b27ba17 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -59,3 +59,9 @@ Deprecation Notices
>     be added between the producer and consumer structures. The size of the
>     structure and the offset of the fields will remain the same on
>     platforms with 64B cache line, but will change on other platforms.
> +
> +* linux: Linux kernel version 3.2 (which is the current minimum required
> +  version for the DPDK) will be end of life in May 2018. Therefore the planned
> +  minimum required kernel version for DPDK 18.5 will be next oldest Long
> +  Term Stable (LTS) version which is 3.10. The recommended kernel version is
> +  the latest LTS kernel which currently is 4.14.
> 

Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Maxime
Thomas Monjalon Feb. 14, 2018, 10:38 a.m. | #5
14/02/2018 11:31, Luca Boccassi:
> On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote:
> > 31/01/2018 16:27, Stephen Hemminger:
> > > Notify users of upcoming change in kernel requirement.
> > > Encourage users to use current LTS kernel version.
> > > 
> > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > > ---
> > > +* linux: Linux kernel version 3.2 (which is the current minimum
> > > required
> > > +  version for the DPDK) will be end of life in May 2018. Therefore
> > > the planned
> > > +  minimum required kernel version for DPDK 18.5 will be next
> > > oldest Long
> > > +  Term Stable (LTS) version which is 3.10. The recommended kernel
> > > version is
> > > +  the latest LTS kernel which currently is 4.14.
> > 
> > We could print a warning at EAL init if kernel version does not
> > satisfy the
> > minimal requirement.
> > 
> > Acked-by: Thomas Monjalon <thomas@monjalon.net>
> 
> Note that 3.10 is dead as well since last year (as I discovered with
> immense joy when I had to backport meltdown fixes...), the next LTS in
> 3.16 which will be maintained until 04/2020.

I am with 3.16.
Can we ack 3.16 and I do the change when applying?
Maxime Coquelin Feb. 14, 2018, 10:38 a.m. | #6
On 02/14/2018 11:31 AM, Luca Boccassi wrote:
> On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote:
>> 31/01/2018 16:27, Stephen Hemminger:
>>> Notify users of upcoming change in kernel requirement.
>>> Encourage users to use current LTS kernel version.
>>>
>>> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
>>> ---
>>> +* linux: Linux kernel version 3.2 (which is the current minimum
>>> required
>>> +  version for the DPDK) will be end of life in May 2018. Therefore
>>> the planned
>>> +  minimum required kernel version for DPDK 18.5 will be next
>>> oldest Long
>>> +  Term Stable (LTS) version which is 3.10. The recommended kernel
>>> version is
>>> +  the latest LTS kernel which currently is 4.14.
>>
>> We could print a warning at EAL init if kernel version does not
>> satisfy the
>> minimal requirement.
>>
>> Acked-by: Thomas Monjalon <thomas@monjalon.net>
> 
> Note that 3.10 is dead as well since last year (as I discovered with
> immense joy when I had to backport meltdown fixes...), the next LTS in
> 3.16 which will be maintained until 04/2020.
> 

In this case we should differentiate upstream Kernel versions from
downstream ones. For example, RHEL7/CentOS7 are based on v3.10 ans still
maintained.
Luca Boccassi Feb. 14, 2018, 10:54 a.m. | #7
On Wed, 2018-02-14 at 11:38 +0100, Maxime Coquelin wrote:
> 
> On 02/14/2018 11:31 AM, Luca Boccassi wrote:
> > On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote:
> > > 31/01/2018 16:27, Stephen Hemminger:
> > > > Notify users of upcoming change in kernel requirement.
> > > > Encourage users to use current LTS kernel version.
> > > > 
> > > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > > > ---
> > > > +* linux: Linux kernel version 3.2 (which is the current
> > > > minimum
> > > > required
> > > > +  version for the DPDK) will be end of life in May 2018.
> > > > Therefore
> > > > the planned
> > > > +  minimum required kernel version for DPDK 18.5 will be next
> > > > oldest Long
> > > > +  Term Stable (LTS) version which is 3.10. The recommended
> > > > kernel
> > > > version is
> > > > +  the latest LTS kernel which currently is 4.14.
> > > 
> > > We could print a warning at EAL init if kernel version does not
> > > satisfy the
> > > minimal requirement.
> > > 
> > > Acked-by: Thomas Monjalon <thomas@monjalon.net>
> > 
> > Note that 3.10 is dead as well since last year (as I discovered
> > with
> > immense joy when I had to backport meltdown fixes...), the next LTS
> > in
> > 3.16 which will be maintained until 04/2020.
> > 
> 
> In this case we should differentiate upstream Kernel versions from
> downstream ones. For example, RHEL7/CentOS7 are based on v3.10 ans
> still
> maintained.

Ubuntu does 3.13 as well - I think the problem is that if we want to
support distro-specific LTS kernel versions, we need volunteers to do
the work for them :-)
Bruce Richardson Feb. 14, 2018, 11:44 a.m. | #8
On Wed, Feb 14, 2018 at 10:54:44AM +0000, Luca Boccassi wrote:
> On Wed, 2018-02-14 at 11:38 +0100, Maxime Coquelin wrote:
> > 
> > On 02/14/2018 11:31 AM, Luca Boccassi wrote:
> > > On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote:
> > > > 31/01/2018 16:27, Stephen Hemminger:
> > > > > Notify users of upcoming change in kernel requirement.
> > > > > Encourage users to use current LTS kernel version.
> > > > > 
> > > > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > > > > --- +* linux: Linux kernel version 3.2 (which is the current
> > > > > minimum required +  version for the DPDK) will be end of life
> > > > > in May 2018.  Therefore the planned +  minimum required kernel
> > > > > version for DPDK 18.5 will be next oldest Long +  Term Stable
> > > > > (LTS) version which is 3.10. The recommended kernel version is
> > > > > +  the latest LTS kernel which currently is 4.14.
> > > > 
> > > > We could print a warning at EAL init if kernel version does not
> > > > satisfy the minimal requirement.
> > > > 
> > > > Acked-by: Thomas Monjalon <thomas@monjalon.net>
> > > 
> > > Note that 3.10 is dead as well since last year (as I discovered
> > > with immense joy when I had to backport meltdown fixes...), the
> > > next LTS in 3.16 which will be maintained until 04/2020.
> > > 
> > 
> > In this case we should differentiate upstream Kernel versions from
> > downstream ones. For example, RHEL7/CentOS7 are based on v3.10 ans
> > still maintained.
> 
> Ubuntu does 3.13 as well - I think the problem is that if we want to
> support distro-specific LTS kernel versions, we need volunteers to do
> the work for them :-)
> 
> -- 
I think our kernel support plans need to be two-fold:

1) we need to support a minimum "kernel.org" kernel version, which is
what the deprecation notice is about.
2) we also will be supporting LTS distributions, e.g. I would expect us to
always support the latest RHEL, so that should be noted explicitly in the
GSG IMHO.

/Bruce
Stephen Hemminger Feb. 14, 2018, 6:08 p.m. | #9
On Wed, 14 Feb 2018 11:44:15 +0000
Bruce Richardson <bruce.richardson@intel.com> wrote:

> On Wed, Feb 14, 2018 at 10:54:44AM +0000, Luca Boccassi wrote:
> > On Wed, 2018-02-14 at 11:38 +0100, Maxime Coquelin wrote:  
> > > 
> > > On 02/14/2018 11:31 AM, Luca Boccassi wrote:  
> > > > On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote:  
> > > > > 31/01/2018 16:27, Stephen Hemminger:  
> > > > > > Notify users of upcoming change in kernel requirement.
> > > > > > Encourage users to use current LTS kernel version.
> > > > > > 
> > > > > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > > > > > --- +* linux: Linux kernel version 3.2 (which is the current
> > > > > > minimum required +  version for the DPDK) will be end of life
> > > > > > in May 2018.  Therefore the planned +  minimum required kernel
> > > > > > version for DPDK 18.5 will be next oldest Long +  Term Stable
> > > > > > (LTS) version which is 3.10. The recommended kernel version is
> > > > > > +  the latest LTS kernel which currently is 4.14.  
> > > > > 
> > > > > We could print a warning at EAL init if kernel version does not
> > > > > satisfy the minimal requirement.
> > > > > 
> > > > > Acked-by: Thomas Monjalon <thomas@monjalon.net>  
> > > > 
> > > > Note that 3.10 is dead as well since last year (as I discovered
> > > > with immense joy when I had to backport meltdown fixes...), the
> > > > next LTS in 3.16 which will be maintained until 04/2020.
> > > >   
> > > 
> > > In this case we should differentiate upstream Kernel versions from
> > > downstream ones. For example, RHEL7/CentOS7 are based on v3.10 ans
> > > still maintained.  
> > 
> > Ubuntu does 3.13 as well - I think the problem is that if we want to
> > support distro-specific LTS kernel versions, we need volunteers to do
> > the work for them :-)
> > 
> > --   
> I think our kernel support plans need to be two-fold:
> 
> 1) we need to support a minimum "kernel.org" kernel version, which is
> what the deprecation notice is about.
> 2) we also will be supporting LTS distributions, e.g. I would expect us to
> always support the latest RHEL, so that should be noted explicitly in the
> GSG IMHO.

For distributions, we need to have a maintainer. Ideally, from the vendor or
project doing the distribution.
Bruce Richardson Feb. 15, 2018, 9:26 a.m. | #10
On Wed, Feb 14, 2018 at 10:08:34AM -0800, Stephen Hemminger wrote:
> On Wed, 14 Feb 2018 11:44:15 +0000
> Bruce Richardson <bruce.richardson@intel.com> wrote:
> 
> > On Wed, Feb 14, 2018 at 10:54:44AM +0000, Luca Boccassi wrote:
> > > On Wed, 2018-02-14 at 11:38 +0100, Maxime Coquelin wrote:  
> > > > 
> > > > On 02/14/2018 11:31 AM, Luca Boccassi wrote:  
> > > > > On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote:  
> > > > > > 31/01/2018 16:27, Stephen Hemminger:  
> > > > > > > Notify users of upcoming change in kernel requirement.
> > > > > > > Encourage users to use current LTS kernel version.
> > > > > > > 
> > > > > > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > > > > > > --- +* linux: Linux kernel version 3.2 (which is the current
> > > > > > > minimum required +  version for the DPDK) will be end of life
> > > > > > > in May 2018.  Therefore the planned +  minimum required kernel
> > > > > > > version for DPDK 18.5 will be next oldest Long +  Term Stable
> > > > > > > (LTS) version which is 3.10. The recommended kernel version is
> > > > > > > +  the latest LTS kernel which currently is 4.14.  
> > > > > > 
> > > > > > We could print a warning at EAL init if kernel version does not
> > > > > > satisfy the minimal requirement.
> > > > > > 
> > > > > > Acked-by: Thomas Monjalon <thomas@monjalon.net>  
> > > > > 
> > > > > Note that 3.10 is dead as well since last year (as I discovered
> > > > > with immense joy when I had to backport meltdown fixes...), the
> > > > > next LTS in 3.16 which will be maintained until 04/2020.
> > > > >   
> > > > 
> > > > In this case we should differentiate upstream Kernel versions from
> > > > downstream ones. For example, RHEL7/CentOS7 are based on v3.10 ans
> > > > still maintained.  
> > > 
> > > Ubuntu does 3.13 as well - I think the problem is that if we want to
> > > support distro-specific LTS kernel versions, we need volunteers to do
> > > the work for them :-)
> > > 
> > > --   
> > I think our kernel support plans need to be two-fold:
> > 
> > 1) we need to support a minimum "kernel.org" kernel version, which is
> > what the deprecation notice is about.
> > 2) we also will be supporting LTS distributions, e.g. I would expect us to
> > always support the latest RHEL, so that should be noted explicitly in the
> > GSG IMHO.
> 
> For distributions, we need to have a maintainer. Ideally, from the vendor or
> project doing the distribution.

I actually don't think that's really necessary. It's very rare for
changes to LTS distributions to cause us problems, it's far more common
to have issues the other way round. Because of that, it's working fine
just refusing to apply patches that break the build on our supported
distributions.

/Bruce
Aaron Conole Feb. 15, 2018, 2:15 p.m. | #11
Bruce Richardson <bruce.richardson@intel.com> writes:

> On Wed, Feb 14, 2018 at 10:08:34AM -0800, Stephen Hemminger wrote:
>> On Wed, 14 Feb 2018 11:44:15 +0000
>> Bruce Richardson <bruce.richardson@intel.com> wrote:
>> 
>> > On Wed, Feb 14, 2018 at 10:54:44AM +0000, Luca Boccassi wrote:
>> > > On Wed, 2018-02-14 at 11:38 +0100, Maxime Coquelin wrote:  
>> > > > 
>> > > > On 02/14/2018 11:31 AM, Luca Boccassi wrote:  
>> > > > > On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote:  
>> > > > > > 31/01/2018 16:27, Stephen Hemminger:  
>> > > > > > > Notify users of upcoming change in kernel requirement.
>> > > > > > > Encourage users to use current LTS kernel version.
>> > > > > > > 
>> > > > > > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
>> > > > > > > --- +* linux: Linux kernel version 3.2 (which is the current
>> > > > > > > minimum required +  version for the DPDK) will be end of life
>> > > > > > > in May 2018.  Therefore the planned +  minimum required kernel
>> > > > > > > version for DPDK 18.5 will be next oldest Long +  Term Stable
>> > > > > > > (LTS) version which is 3.10. The recommended kernel version is
>> > > > > > > +  the latest LTS kernel which currently is 4.14.  
>> > > > > > 
>> > > > > > We could print a warning at EAL init if kernel version does not
>> > > > > > satisfy the minimal requirement.
>> > > > > > 
>> > > > > > Acked-by: Thomas Monjalon <thomas@monjalon.net>  
>> > > > > 
>> > > > > Note that 3.10 is dead as well since last year (as I discovered
>> > > > > with immense joy when I had to backport meltdown fixes...), the
>> > > > > next LTS in 3.16 which will be maintained until 04/2020.
>> > > > >   
>> > > > 
>> > > > In this case we should differentiate upstream Kernel versions from
>> > > > downstream ones. For example, RHEL7/CentOS7 are based on v3.10 ans
>> > > > still maintained.  
>> > > 
>> > > Ubuntu does 3.13 as well - I think the problem is that if we want to
>> > > support distro-specific LTS kernel versions, we need volunteers to do
>> > > the work for them :-)
>> > > 
>> > > --   
>> > I think our kernel support plans need to be two-fold:
>> > 
>> > 1) we need to support a minimum "kernel.org" kernel version, which is
>> > what the deprecation notice is about.
>> > 2) we also will be supporting LTS distributions, e.g. I would expect us to
>> > always support the latest RHEL, so that should be noted explicitly in the
>> > GSG IMHO.
>> 
>> For distributions, we need to have a maintainer. Ideally, from the vendor or
>> project doing the distribution.
>
> I actually don't think that's really necessary. It's very rare for
> changes to LTS distributions to cause us problems, it's far more common
> to have issues the other way round. Because of that, it's working fine
> just refusing to apply patches that break the build on our supported
> distributions.

I tend to agree with Bruce.  What is specifically being requested?  From
a downstream perspective, we ship dpdk and applications enabled with
dpdk.

We support those applications, and that version of the library
(including performing bugfixes, etc).  In addition, we do our best to
support upstream efforts (eg. working with vendors, working with
applications, working with users, contributing bug fixes, etc).

Is there something different that needs to happen?  Happy to help - just
need to know what helping means :)
Thomas Monjalon May 24, 2018, 8:53 p.m. | #12
There was no decision about changing the kernel requirements.
We need to restart the discussion and take a decision for
the beginning of 18.08 cycle.
Decision can be taken in technical board (Cc).


14/02/2018 12:44, Bruce Richardson:
> On Wed, Feb 14, 2018 at 10:54:44AM +0000, Luca Boccassi wrote:
> > On Wed, 2018-02-14 at 11:38 +0100, Maxime Coquelin wrote:
> > > On 02/14/2018 11:31 AM, Luca Boccassi wrote:
> > > > On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote:
> > > > > 31/01/2018 16:27, Stephen Hemminger:
> > > > > > Notify users of upcoming change in kernel requirement.
> > > > > > Encourage users to use current LTS kernel version.
> > > > > > 
> > > > > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> > > > > > --- +* linux: Linux kernel version 3.2 (which is the current
> > > > > > minimum required +  version for the DPDK) will be end of life
> > > > > > in May 2018.  Therefore the planned +  minimum required kernel
> > > > > > version for DPDK 18.5 will be next oldest Long +  Term Stable
> > > > > > (LTS) version which is 3.10. The recommended kernel version is
> > > > > > +  the latest LTS kernel which currently is 4.14.
> > > > > 
> > > > > We could print a warning at EAL init if kernel version does not
> > > > > satisfy the minimal requirement.
> > > > > 
> > > > > Acked-by: Thomas Monjalon <thomas@monjalon.net>
> > > > 
> > > > Note that 3.10 is dead as well since last year (as I discovered
> > > > with immense joy when I had to backport meltdown fixes...), the
> > > > next LTS in 3.16 which will be maintained until 04/2020.
> > > > 
> > > 
> > > In this case we should differentiate upstream Kernel versions from
> > > downstream ones. For example, RHEL7/CentOS7 are based on v3.10 ans
> > > still maintained.
> > 
> > Ubuntu does 3.13 as well - I think the problem is that if we want to
> > support distro-specific LTS kernel versions, we need volunteers to do
> > the work for them :-)
> > 
> I think our kernel support plans need to be two-fold:
> 
> 1) we need to support a minimum "kernel.org" kernel version, which is
> what the deprecation notice is about.
> 2) we also will be supporting LTS distributions, e.g. I would expect us to
> always support the latest RHEL, so that should be noted explicitly in the
> GSG IMHO.

Patch

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index d59ad598862b..31d64b27ba17 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -59,3 +59,9 @@  Deprecation Notices
   be added between the producer and consumer structures. The size of the
   structure and the offset of the fields will remain the same on
   platforms with 64B cache line, but will change on other platforms.
+
+* linux: Linux kernel version 3.2 (which is the current minimum required
+  version for the DPDK) will be end of life in May 2018. Therefore the planned
+  minimum required kernel version for DPDK 18.5 will be next oldest Long
+  Term Stable (LTS) version which is 3.10. The recommended kernel version is
+  the latest LTS kernel which currently is 4.14.