[ovs-dev] [PATCH v2 0/5] datapath: enable NSH support in kernel compat mode

Yi Yang yi.y.yang at intel.com
Wed Jan 31 13:53:01 UTC 2018


v1->v2
 - Fix compilation error in linux-3.10.107

This patch series is to backport NSH support patches in Linux net-next tree
to OVS in order that it can support NSH in kernel compat mode.

Yi Yang (5):
  datapath: ether: add NSH ethertype
  datapath: vxlan: factor out VXLAN-GPE next protocol
  datapath: net: add NSH header structures and helpers
  datapath: nsh: add GSO support
  datapath: enable NSH support

 NEWS                                              |   1 +
 acinclude.m4                                      |   1 +
 datapath/Modules.mk                               |   4 +-
 datapath/actions.c                                | 116 ++++++++
 datapath/datapath.c                               |   4 +
 datapath/flow.c                                   |  51 ++++
 datapath/flow.h                                   |   7 +
 datapath/flow_netlink.c                           | 343 +++++++++++++++++++++-
 datapath/flow_netlink.h                           |   5 +
 datapath/linux/Modules.mk                         |   2 +
 datapath/linux/compat/include/linux/if_ether.h    |   4 +
 datapath/linux/compat/include/linux/netdevice.h   |  14 +
 datapath/linux/compat/include/linux/openvswitch.h |   6 +-
 datapath/linux/compat/include/net/nsh.h           | 313 ++++++++++++++++++++
 datapath/linux/compat/include/net/tun_proto.h     |  49 ++++
 datapath/linux/compat/include/net/vxlan.h         |   6 -
 datapath/linux/compat/vxlan.c                     |  32 +-
 datapath/nsh.c                                    | 142 +++++++++
 18 files changed, 1063 insertions(+), 37 deletions(-)
 create mode 100644 datapath/linux/compat/include/net/nsh.h
 create mode 100644 datapath/linux/compat/include/net/tun_proto.h
 create mode 100644 datapath/nsh.c

-- 
2.1.0



More information about the dev mailing list