[ovs-git] Open vSwitch: datapath: VLAN actions should use push/pop semantics (master)

dev at openvswitch.org dev at openvswitch.org
Sat Sep 10 01:21:05 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  d9065a90b6b955aa38586c952e8804ca7a22547e (commit)
      from  f37c91c76785e335e9d89aa31a7f0ab290223193 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d9065a90b6b955aa38586c952e8804ca7a22547e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d9065a90b6b955aa38586c952e8804ca7a22547e
Author: Pravin Shelar <pshelar at nicira.com>
		
datapath: VLAN actions should use push/pop semantics
		
Currently the kernel vlan actions mirror those used by OpenFlow 1.0.
i.e. MODIFY and STRIP. More flexible approach is to have an action to
push a tag and pop a tag off, so that it can handle multiple levels of vlan
tags. Plus it aligns with newer version of OpenFlow.
        As this patch replaces MODIFY with PUSH semantic, action
mapping done in userpace is fixed accordingly.
        GSO handling for multiple levels of vlan tags is also added as
Jesse suggested before.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 datapath/actions.c                              |   71 ++++++++++++-----
 datapath/datapath.c                             |    8 +-
 datapath/linux/compat/include/linux/if_ether.h  |    6 ++
 datapath/linux/compat/include/linux/netdevice.h |   26 ++++++
 datapath/linux/compat/netdevice.c               |   99 +++++++++++++++++++++++
 datapath/vport-netdev.c                         |   10 +--
 include/openvswitch/datapath-protocol.h         |    4 +-
 lib/bond.c                                      |    2 +-
 lib/dpif-netdev.c                               |   14 ++--
 lib/odp-util.c                                  |   12 ++--
 lib/packets.c                                   |   32 +++-----
 lib/packets.h                                   |    2 +-
 ofproto/ofproto-dpif-sflow.c                    |    2 +-
 ofproto/ofproto-dpif.c                          |   19 +++--
 14 files changed, 232 insertions(+), 75 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list