[ovs-dev] [PATCH 0/5 v2] datapath: Support 5.0.x kernel version

Yifeng Sun pkusunyifeng at gmail.com
Wed Jun 12 22:35:24 UTC 2019


This series of patches enabled OVS to run on kernel 5.0.x.

Tests shows that this series of patches passed check-kmod tests or
didn't introduce new failed check-kmod tests for the following
kernel versions:
3.10.0-957.12.1.el7.x86_64 (rhel)
4.4.0-31-generic (ubuntu 14.04)
4.4.0-146-generic (ubuntu 16.04)
4.4.179
4.9.171
4.14.111
4.15.0-48-generic (ubuntu 18.04)
4.17.19
4.18.0-18-generic (ubuntu 18.10)
4.19.37
4.20.17
5.0.0-16-generic (ubuntu 19.04)

Several fragmentation-related tests failed on 5.0.x kernels. Another
pull request was created to fix this issue:
https://github.com/openvswitch/ovs/pull/278

Travis passed at:
https://travis-ci.org/yifsun/ovs-travis/builds/543907186

In addition, builds succeeded and 'make check-kmod' passed on:
CentOS73, Fedora, RHEL74, RHEL75, RHEL76 and Ubuntu (bionic, trusty,
xenial, Disco Dingo).

v1->v2: Rebase master changes and fix minor issues.

Yifeng Sun (5):
  datapath: Check extack argument of rtnl_create_link()
  OVS: remove use of VLAN_TAG_PRESENT
  datapath: Backport the removal of __tcp_checksum_complete()
  net: core: dev: Add extack argument to dev_change_flags()
  datapath: Support kernel version 5.0.x

 .travis.yml                                     |  1 +
 .travis/linux-build.sh                          |  4 +++-
 Documentation/faq/releases.rst                  |  2 +-
 NEWS                                            |  1 +
 acinclude.m4                                    | 20 ++++++++++++++++----
 datapath/actions.c                              | 13 +++++++++----
 datapath/flow.c                                 |  6 +++---
 datapath/flow.h                                 |  2 +-
 datapath/flow_netlink.c                         | 22 +++++++++++-----------
 datapath/linux/compat/include/linux/if_vlan.h   | 19 +++++++++++++++++++
 datapath/linux/compat/include/linux/netdevice.h | 10 ++++++++++
 datapath/linux/compat/include/net/rtnetlink.h   |  4 ++++
 datapath/linux/compat/ip6_gre.c                 |  4 ++--
 datapath/linux/compat/ip_gre.c                  |  4 ++--
 datapath/linux/compat/stt.c                     |  2 +-
 datapath/vport-geneve.c                         |  2 +-
 datapath/vport-gre.c                            |  2 +-
 datapath/vport-lisp.c                           |  2 +-
 datapath/vport-stt.c                            |  2 +-
 datapath/vport-vxlan.c                          |  2 +-
 20 files changed, 89 insertions(+), 35 deletions(-)

-- 
2.7.4



More information about the dev mailing list