Skip to contentSkip to conversation

doc: add kernel version deprecation notice

PATCH In review Stephen Hemminger 7 participants 14 messages Jan 31, 2018 – Nov 24, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: add kernel version deprecation notice

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

---
 doc/guides/rel_notes/deprecation.rst | 6 ++++++
 1 file changed, 6 insertions(+)
doc/guides/rel_notes/deprecation.rst +6 -0
index d59ad598862b..31d64b27ba17 100644
@@ -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.
Signature · 1 line
2.15.1
Acked-by on v1 1/1
#1 lore raw

31/01/2018 16:27, Stephen Hemminger:

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 67

Quoted 10 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

---

doc/guides/rel_notes/deprecation.rst +5 -0
+* 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
#2 lore raw
Quoted 12 lines · Thomas Monjalon

31/01/2018 16:27, Stephen Hemminger:

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 67

Quoted 10 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

---

doc/guides/rel_notes/deprecation.rst +5 -0
+* 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.
Quoted 4 lines

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

#3 lore raw
In reply to Thomas Monjalon
Quoted 16 lines · Thomas Monjalon

31/01/2018 16:27, Stephen Hemminger:

Quoted 4 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

Quoted 10 lines

---
+* 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.

Quoted 5 lines

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

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.

Signature · 2 lines
Kind regards,
Luca Boccassi
#4 lore raw
Quoted 21 lines · Luca Boccassi
Quoted 20 lines · Thomas Monjalon

31/01/2018 16:27, Stephen Hemminger:

Quoted 4 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

Quoted 10 lines

---
+* 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.

Quoted 6 lines
Quoted 1 line

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.

#5 lore raw
Quoted 35 lines · Maxime Coquelin
Quoted 24 lines · Luca Boccassi
Quoted 23 lines · Thomas Monjalon

31/01/2018 16:27, Stephen Hemminger:

Quoted 4 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

Quoted 13 lines

---
+* 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.

Quoted 8 lines
Quoted 1 line

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.

Quoted 4 lines

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 :-)

Signature · 2 lines
Kind regards,
Luca Boccassi
#6 lore raw
Quoted 26 lines · Luca Boccassi
Quoted 25 lines · Maxime Coquelin
Quoted 22 lines · Luca Boccassi
Quoted 12 lines · Thomas Monjalon

31/01/2018 16:27, Stephen Hemminger:

Quoted 10 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

--- +* 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.

Quoted 4 lines

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

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.

Quoted 9 lines
Quoted 3 lines

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

#7 lore raw
Quoted 35 lines · On Wed, 14 Feb 2018 11:44:15 +0000 Bruce Richardson…
Quoted 34 lines · Luca Boccassi
Quoted 20 lines · Maxime Coquelin
Quoted 18 lines · Luca Boccassi
Quoted 16 lines · Thomas Monjalon

31/01/2018 16:27, Stephen Hemminger:

Quoted 10 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

--- +* 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.

Quoted 8 lines
Quoted 4 lines

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 :-)

Quoted 8 lines
Quoted 1 line

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.

#8 lore raw
Quoted 41 lines · Stephen Hemminger
Quoted 38 lines · On Wed, 14 Feb 2018 11:44:15 +0000 Bruce Richardson…
Quoted 26 lines · Luca Boccassi
Quoted 25 lines · Maxime Coquelin
Quoted 22 lines · Luca Boccassi
Quoted 12 lines · Thomas Monjalon

31/01/2018 16:27, Stephen Hemminger:

Quoted 10 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

--- +* 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.

Quoted 4 lines

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

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.

Quoted 9 lines
Quoted 3 lines

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:

Quoted 8 lines
Quoted 5 lines

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

#9 lore raw
Quoted 48 lines · Bruce Richardson
Quoted 47 lines · Stephen Hemminger
Quoted 43 lines · On Wed, 14 Feb 2018 11:44:15 +0000 Bruce Richardson…
Quoted 26 lines · Luca Boccassi
Quoted 25 lines · Maxime Coquelin
Quoted 22 lines · Luca Boccassi
Quoted 12 lines · Thomas Monjalon

31/01/2018 16:27, Stephen Hemminger:

Quoted 10 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

--- +* 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.

Quoted 4 lines

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

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.

Quoted 9 lines
Quoted 3 lines

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.

Quoted 8 lines
Quoted 2 lines

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 :)

#10 lore raw
In reply to Bruce Richardson

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:

Quoted 41 lines · Luca Boccassi
Quoted 25 lines · Maxime Coquelin
Quoted 24 lines · Luca Boccassi
Quoted 22 lines · Thomas Monjalon
Quoted 12 lines

31/01/2018 16:27, Stephen Hemminger:

Quoted 10 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

--- +* 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.

Quoted 4 lines

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

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.

Quoted 8 lines
Quoted 3 lines

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.

#11 lore raw
In reply to Luca Boccassi

14/02/2018 11:31, Luca Boccassi:

Quoted 21 lines · Thomas Monjalon
Quoted 20 lines

31/01/2018 16:27, Stephen Hemminger:

Quoted 4 lines

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

Quoted 10 lines

---
+* 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.

Quoted 5 lines
Quoted 1 line

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?

Acked-by on v1 1/1
#12 lore raw
In reply to Stephen Hemminger
Quoted 14 lines · Stephen Hemminger

Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version.

---
  doc/guides/rel_notes/deprecation.rst | 6 ++++++
  1 file changed, 6 insertions(+)
doc/guides/rel_notes/deprecation.rst +0 -0
index d59ad598862b..31d64b27ba17 100644

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 67

Quoted 9 lines
doc/guides/rel_notes/deprecation.rst +6 -0
@@ -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.

Maxime

#13 lore raw

PATCH v2 1/1 doc: announce Linux support change

In reply to Stephen Hemminger

It was agreed by the Technical Board to increase the minimal supported Linux version, and written in Linux guide. An announce was missing in the deprecation notices.

Fixes 8c58f1b83759 ("doc: note minimun Linux version increase for 19.02")

---
v2: This is a revised version of the deprecation proposed by Stephen in January, and discussed/changed/approved in 18.11.

Already applied.

---
 doc/guides/rel_notes/deprecation.rst | 6 ++++++
 1 file changed, 6 insertions(+)
doc/guides/rel_notes/deprecation.rst +6 -0
index 55a4c4089..b48486d36 100644
@@ -11,6 +11,12 @@ API and ABI deprecation notices are to be posted here.
 Deprecation Notices
 -------------------
 
+* linux: Linux kernel version 3.2 (which is the current minimum required
+  version for the DPDK) is not maintained anymore. Therefore the planned
+  minimum required kernel version for DPDK 19.02 will be the next oldest
+  Long Term Stable (LTS) version which is 3.16, but compatibility for
+  recent distribution kernels will be kept.
+
 * kvargs: The function ``rte_kvargs_process`` will get a new parameter
   for returning key match count. It will ease handling of no-match case.
 
Signature · 1 line
2.19.0