[ovs-dev] [PATCH v2 0/2] Add GTP-U tunnel support in DPDK userspace

Yi Yang yi.y.yang at intel.com
Tue May 15 06:32:07 UTC 2018


v1 -> v2:
  - Add new packet_type PT_GTPU_MSG to handle GTP-U signaling message,
    GTP-U signaling message should be steered into a control plane handler
    by explicit openflow entry in flow table.
  - Fix gtpu_flags and gptu_msgtype set issue.
  - Verify communication with kernel GTP implementation from Jiannan
    Ouyang.
  - Fix unit test issue and make sure all the unit tests can pass.

This patch series add GTP-U tunnel support in DPDK userspace,
GTP-U is used for carrying user data within the GPRS core network and
between the radio access network and the core network. The user data
transported can be packets in any of IPv4, IPv6, or PPP formats.

I have verified it by veth to gtpu in VM1 to gtpu to veth in VM2. Patch
#1 commit log has commands and test openflow table for reference.


Feng Yang (2):
  userspace datapath: Add GTP-U tunnel support
  Add GTP-U unit test cases

 build-aux/extract-ofp-fields                      |   1 +
 datapath/linux/compat/include/linux/openvswitch.h |   3 +
 include/openvswitch/match.h                       |   4 +
 include/openvswitch/meta-flow.h                   |  28 +++++
 include/openvswitch/packets.h                     |   4 +-
 lib/dpif-netlink-rtnl.c                           |   5 +
 lib/dpif-netlink.c                                |   5 +
 lib/flow.c                                        |   7 ++
 lib/match.c                                       |  29 +++++
 lib/meta-flow.c                                   |  40 ++++++
 lib/meta-flow.xml                                 |  76 ++++++++++++
 lib/netdev-native-tnl.c                           | 145 +++++++++++++++++++++-
 lib/netdev-native-tnl.h                           |  12 ++
 lib/netdev-vport.c                                |  18 ++-
 lib/nx-match.c                                    |   4 +
 lib/odp-util.c                                    |  48 +++++++
 lib/packets.h                                     |  19 +++
 lib/tnl-ports.c                                   |   3 +
 ofproto/ofproto-dpif-ipfix.c                      |   5 +
 ofproto/ofproto-dpif-sflow.c                      |   6 +-
 ofproto/ofproto-dpif-xlate.c                      |   4 +-
 ofproto/tunnel.c                                  |   9 +-
 tests/ofproto.at                                  |   4 +-
 tests/tunnel-push-pop.at                          |  19 +++
 tests/tunnel.at                                   |  13 ++
 vswitchd/vswitch.xml                              |  16 +++
 26 files changed, 520 insertions(+), 7 deletions(-)

-- 
2.1.0



More information about the dev mailing list