Re: [ovs-dev] [PATCH 0/10] userspace: Packet type-aware pipeline

2017-04-21 Thread Ben Pfaff
On Tue, Apr 18, 2017 at 11:19:36AM +, Zoltán Balogh wrote:
> 
> This patch set is the 2nd part of an initiative presented by Jan Scheurich: 
> https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/330488.html
> 
> It takes the patch set referred by the link above as a bases.

Oh, I didn't realize that when I tried to apply this one.  I'll look at
that one first then.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH 0/10] userspace: Packet type-aware pipeline

2017-04-18 Thread Zoltán Balogh

This patch set is the 2nd part of an initiative presented by Jan Scheurich: 
https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/330488.html

It takes the patch set referred by the link above as a bases.

The goal is to deal with non-Ethernet packets in OVS for advanced use cases 
like L3 tunneling or NSH. The initiative is centering on the new OpenFlow 
concepts of "Packet type-aware pipeline" (PTAP) and "Generic encap/decap 
actions" (EXT-382). The overall design is documented in:
https://docs.google.com/document/d/1oWMYUH8sjZJzWa72o2q9kU0N6pNE-rwZcLH3-kbbDR8

These patches introduce the OXM field MFF_PACKET_TYPE, the 'packet-type-aware' 
bridge property, add support for versatile tunnel ports, provide new unit 
tests, implement packet-in for non-Ethernet packets and introduce OF 1.5 
packet-out handling.

 userspace: Add OXM field MFF_PACKET_TYPE
 userspace: Add bridge property 'packet-type-aware'
 userspace: Filter field packet_type in table_features
 userspace: Handling of versatile tunnel ports
 netdev-native-tnl: Selection of gre protocol based on packet_type
 ofproto: Add default match on packet_type Ethernet
 match: Format match with packet_type (OFPHTN_ETHERTYPE,x)
 tests: Added unit tests in packet-type-aware.at
 userspace: Complete Packet In handling
 userspace: Introduce OF 1.5 packet-out

 include/openflow/openflow-1.5.h |  17 ++
 include/openvswitch/meta-flow.h |  16 +-
 include/openvswitch/ofp-msgs.h  |   7 +-
 include/openvswitch/ofp-util.h  |   1 +
 lib/flow.c  |  41 ++--
 lib/flow.h  |  26 ++-
 lib/match.c |  40 ++--
 lib/meta-flow.c |  30 ++-
 lib/meta-flow.xml   |   4 +
 lib/netdev-native-tnl.c |   8 +-
 lib/nx-match.c  |  26 ++-
 lib/nx-match.h  |   4 +-
 lib/odp-util.c  |  48 +++-
 lib/ofp-parse.c |   8 +
 lib/ofp-print.c |   6 +-
 lib/ofp-util.c  |  99 ++--
 ofproto/ofproto-dpif-xlate.c|  45 ++--
 ofproto/ofproto-dpif-xlate.h|   1 +
 ofproto/ofproto-dpif.c  |   1 +
 ofproto/ofproto-provider.h  |   1 +
 ofproto/ofproto.c   |  29 ++-
 ofproto/ofproto.h   |   1 +
 ofproto/tunnel.c|  21 +-
 ofproto/tunnel.h|   2 +-
 tests/automake.mk   |   3 +-
 tests/dpif-netdev.at|  14 +-
 tests/odp.at|   1 +
 tests/ofproto-dpif.at   |  20 +-
 tests/ofproto.at| 108 +
 tests/packet-type-aware.at  | 500 
 tests/pmd.at|   2 +-
 tests/testsuite.at  |   1 +
 tests/tunnel-push-pop-ipv6.at   |   2 +-
 tests/tunnel-push-pop.at|   2 +-
 utilities/ovs-ofctl.c   |   1 +
 vswitchd/bridge.c   |   9 +
 vswitchd/vswitch.xml|   8 +
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev