diff mbox series

[ovs-dev,7/7] datapath: Support kernel version 4.19.x and 4.20.x

Message ID 1557179911-27338-1-git-send-email-pkusunyifeng@gmail.com
State Superseded
Headers show
Series datapath: Support 4.19.x and 4.20.x kernel | expand

Commit Message

Yifeng Sun May 6, 2019, 9:58 p.m. UTC
This patch updated acinclude.m4 so that OVS can be compiled on 4.19.x
and 4.20.x kernels. 
This patch also updated travis files so that latest kernel versions
are used during travis test builds.

Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
---
 .travis.yml  | 18 ++++++++++--------
 NEWS         |  2 ++
 acinclude.m4 |  4 ++--
 3 files changed, 14 insertions(+), 10 deletions(-)

Comments

Yi-Hung Wei May 8, 2019, 9:27 p.m. UTC | #1
On Mon, May 6, 2019 at 3:01 PM Yifeng Sun <pkusunyifeng@gmail.com> wrote:
>
> This patch updated acinclude.m4 so that OVS can be compiled on 4.19.x
> and 4.20.x kernels.
> This patch also updated travis files so that latest kernel versions
> are used during travis test builds.
>
> Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
> ---
Thanks for this patch. LGTM.

Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
Ben Pfaff May 8, 2019, 11:05 p.m. UTC | #2
On Wed, May 08, 2019 at 02:27:57PM -0700, Yi-Hung Wei wrote:
> On Mon, May 6, 2019 at 3:01 PM Yifeng Sun <pkusunyifeng@gmail.com> wrote:
> >
> > This patch updated acinclude.m4 so that OVS can be compiled on 4.19.x
> > and 4.20.x kernels.
> > This patch also updated travis files so that latest kernel versions
> > are used during travis test builds.
> >
> > Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
> > ---
> Thanks for this patch. LGTM.
> 
> Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>

Thanks for the reviews.

Yifeng, I will hope to see a v2 that includes the acks (and changes, if
any).
Yifeng Sun May 8, 2019, 11:36 p.m. UTC | #3
Sure, I will submit new versions after testing is done.
Thanks,
Yifeng

On Wed, May 8, 2019 at 4:05 PM Ben Pfaff <blp@ovn.org> wrote:
>
> On Wed, May 08, 2019 at 02:27:57PM -0700, Yi-Hung Wei wrote:
> > On Mon, May 6, 2019 at 3:01 PM Yifeng Sun <pkusunyifeng@gmail.com> wrote:
> > >
> > > This patch updated acinclude.m4 so that OVS can be compiled on 4.19.x
> > > and 4.20.x kernels.
> > > This patch also updated travis files so that latest kernel versions
> > > are used during travis test builds.
> > >
> > > Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
> > > ---
> > Thanks for this patch. LGTM.
> >
> > Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
>
> Thanks for the reviews.
>
> Yifeng, I will hope to see a v2 that includes the acks (and changes, if
> any).
Yifeng Sun May 10, 2019, 6:28 p.m. UTC | #4
Hi Ben,

All the patches in this series got acked. Do I need to send v2 for
those patches that were acked in v1?

Thanks,
Yifeng

On Wed, May 8, 2019 at 4:36 PM Yifeng Sun <pkusunyifeng@gmail.com> wrote:
>
> Sure, I will submit new versions after testing is done.
> Thanks,
> Yifeng
>
> On Wed, May 8, 2019 at 4:05 PM Ben Pfaff <blp@ovn.org> wrote:
> >
> > On Wed, May 08, 2019 at 02:27:57PM -0700, Yi-Hung Wei wrote:
> > > On Mon, May 6, 2019 at 3:01 PM Yifeng Sun <pkusunyifeng@gmail.com> wrote:
> > > >
> > > > This patch updated acinclude.m4 so that OVS can be compiled on 4.19.x
> > > > and 4.20.x kernels.
> > > > This patch also updated travis files so that latest kernel versions
> > > > are used during travis test builds.
> > > >
> > > > Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
> > > > ---
> > > Thanks for this patch. LGTM.
> > >
> > > Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
> >
> > Thanks for the reviews.
> >
> > Yifeng, I will hope to see a v2 that includes the acks (and changes, if
> > any).
Ben Pfaff May 10, 2019, 6:31 p.m. UTC | #5
Please do in this case.  It simplifies my workflow.

On Fri, May 10, 2019 at 11:28:16AM -0700, Yifeng Sun wrote:
> Hi Ben,
> 
> All the patches in this series got acked. Do I need to send v2 for
> those patches that were acked in v1?
> 
> Thanks,
> Yifeng
> 
> On Wed, May 8, 2019 at 4:36 PM Yifeng Sun <pkusunyifeng@gmail.com> wrote:
> >
> > Sure, I will submit new versions after testing is done.
> > Thanks,
> > Yifeng
> >
> > On Wed, May 8, 2019 at 4:05 PM Ben Pfaff <blp@ovn.org> wrote:
> > >
> > > On Wed, May 08, 2019 at 02:27:57PM -0700, Yi-Hung Wei wrote:
> > > > On Mon, May 6, 2019 at 3:01 PM Yifeng Sun <pkusunyifeng@gmail.com> wrote:
> > > > >
> > > > > This patch updated acinclude.m4 so that OVS can be compiled on 4.19.x
> > > > > and 4.20.x kernels.
> > > > > This patch also updated travis files so that latest kernel versions
> > > > > are used during travis test builds.
> > > > >
> > > > > Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
> > > > > ---
> > > > Thanks for this patch. LGTM.
> > > >
> > > > Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
> > >
> > > Thanks for the reviews.
> > >
> > > Yifeng, I will hope to see a v2 that includes the acks (and changes, if
> > > any).
Yifeng Sun May 10, 2019, 7:31 p.m. UTC | #6
Please use v3, v2 was messed up, sorry.

Thanks,
Yifeng

On Fri, May 10, 2019 at 11:31 AM Ben Pfaff <blp@ovn.org> wrote:
>
> Please do in this case.  It simplifies my workflow.
>
> On Fri, May 10, 2019 at 11:28:16AM -0700, Yifeng Sun wrote:
> > Hi Ben,
> >
> > All the patches in this series got acked. Do I need to send v2 for
> > those patches that were acked in v1?
> >
> > Thanks,
> > Yifeng
> >
> > On Wed, May 8, 2019 at 4:36 PM Yifeng Sun <pkusunyifeng@gmail.com> wrote:
> > >
> > > Sure, I will submit new versions after testing is done.
> > > Thanks,
> > > Yifeng
> > >
> > > On Wed, May 8, 2019 at 4:05 PM Ben Pfaff <blp@ovn.org> wrote:
> > > >
> > > > On Wed, May 08, 2019 at 02:27:57PM -0700, Yi-Hung Wei wrote:
> > > > > On Mon, May 6, 2019 at 3:01 PM Yifeng Sun <pkusunyifeng@gmail.com> wrote:
> > > > > >
> > > > > > This patch updated acinclude.m4 so that OVS can be compiled on 4.19.x
> > > > > > and 4.20.x kernels.
> > > > > > This patch also updated travis files so that latest kernel versions
> > > > > > are used during travis test builds.
> > > > > >
> > > > > > Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
> > > > > > ---
> > > > > Thanks for this patch. LGTM.
> > > > >
> > > > > Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
> > > >
> > > > Thanks for the reviews.
> > > >
> > > > Yifeng, I will hope to see a v2 that includes the acks (and changes, if
> > > > any).
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 468c39ecd505..765692f7a2b2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,19 +31,21 @@  env:
   - TESTSUITE=1 KERNEL=3.16.54
   - TESTSUITE=1 OPTS="--enable-shared"
   - BUILD_ENV="-m32" OPTS="--disable-ssl"
-  - KERNEL=3.16.54 DPDK=1 OPTS="--enable-shared"
-  - KERNEL=3.16.54 TESTSUITE=1 DPDK=1
-  - KERNEL=3.16.54 DPDK_SHARED=1
-  - KERNEL=3.16.54 DPDK_SHARED=1 OPTS="--enable-shared"
+  - KERNEL=3.16.65 DPDK=1 OPTS="--enable-shared"
+  - KERNEL=3.16.65 TESTSUITE=1 DPDK=1
+  - KERNEL=3.16.65 DPDK_SHARED=1
+  - KERNEL=3.16.65 DPDK_SHARED=1 OPTS="--enable-shared"
+  - KERNEL=4.20.17
+  - KERNEL=4.19.37
   - KERNEL=4.18.20
   - KERNEL=4.17.19
   - KERNEL=4.16.18
   - KERNEL=4.15.18
-  - KERNEL=4.14.111
-  - KERNEL=4.9.149
-  - KERNEL=4.4.148
+  - KERNEL=4.14.114
+  - KERNEL=4.9.171
+  - KERNEL=4.4.179
   - KERNEL=3.19.8
-  - KERNEL=3.16.57
+  - KERNEL=3.16.65
   - TESTSUITE=1 LIBS=-ljemalloc
 
 matrix:
diff --git a/NEWS b/NEWS
index 293531db0615..3b4160c27834 100644
--- a/NEWS
+++ b/NEWS
@@ -40,6 +40,8 @@  Post-v2.11.0
        members of the same transport zone(s).
    - New QoS type "linux-netem" on Linux.
    - Added support for TLS Server Name Indication (SNI).
+   - Linux datapath:
+     * Support for the kernel versions 4.19.x and 4.20.x.
 
 
 v2.11.0 - 19 Feb 2019
diff --git a/acinclude.m4 b/acinclude.m4
index 91e07d871f58..e5ff093c1b57 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -151,10 +151,10 @@  AC_DEFUN([OVS_CHECK_LINUX], [
     AC_MSG_RESULT([$kversion])
 
     if test "$version" -ge 4; then
-       if test "$version" = 4 && test "$patchlevel" -le 18; then
+       if test "$version" = 4 && test "$patchlevel" -le 20; then
           : # Linux 4.x
        else
-          AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 4.18.x is not supported (please refer to the FAQ for advice)])
+          AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 4.20.x is not supported (please refer to the FAQ for advice)])
        fi
     elif test "$version" = 3 && test "$patchlevel" -ge 10; then
        : # Linux 3.x