[ovs-git] Open vSwitch: datapath: Refactor actions in terms of match fields. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Oct 21 21:44:35 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  4edb9ae90e4092f5f56b9d914d2b88783c49860d (commit)
       via  a0003c0c359bc3ffe8a6683dbd0121877a3ce700 (commit)
       via  6f554ae0093cf8995855158a53593f199ca40459 (commit)
       via  c2310ade7b550da9033963103ff1e318f34e1556 (commit)
      from  642a5c059f079e05892b00e004b039fab854c0f0 (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 4edb9ae90e4092f5f56b9d914d2b88783c49860d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4edb9ae90e4092f5f56b9d914d2b88783c49860d
Author: Pravin B Shelar <pshelar at nicira.com>
		
datapath: Refactor actions in terms of match fields.
		
Almost all current actions can be expressed in the form of
push/pop/set <field>, where field is one of the match fields. We can
create three base actions and take a field. This has both a nice
symmetry and avoids inconsistencies where we can match on the vlan
TPID but not set it.
Following patch converts all actions to this new format.

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

Bug #7115


commit a0003c0c359bc3ffe8a6683dbd0121877a3ce700
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a0003c0c359bc3ffe8a6683dbd0121877a3ce700
Author: Pravin B Shelar <pshelar at nicira.com>
		
datapath: Update supported kernel check.
		
Signed-off-by: Pravin Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit 6f554ae0093cf8995855158a53593f199ca40459
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6f554ae0093cf8995855158a53593f199ca40459
Author: Pravin B Shelar <pshelar at nicira.com>
		
tunnel: Handle hh_cache access for Linux kernel 3.1
		
>From 3.1 kernel, struct dst_entry no longer has direct ref to hh_cache.
Following patch handles this case.

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


commit c2310ade7b550da9033963103ff1e318f34e1556
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c2310ade7b550da9033963103ff1e318f34e1556
Author: Pravin B Shelar <pshelar at nicira.com>
		
tunnel: hh_cache access cleanup
		
Following patch cleanup hh_cache access by avoiding hh pointer fetching
most of time. Now hh is read and checked at beginning of function. All
hh->hh_len access are done inside hh_lock.
This is required cleanup for next patch which adds support for kernel
3.1.

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


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

Summary of changes:
 datapath/actions.c          |  206 +++++++++++++++++++++------------------
 datapath/datapath.c         |  137 +++++++++++++++++++-------
 datapath/flow.c             |   10 +-
 datapath/flow.h             |    1 +
 datapath/tunnel.c           |   60 ++++++++----
 datapath/tunnel.h           |    1 +
 include/linux/openvswitch.h |   38 +++++--
 lib/dpif-netdev.c           |  223 ++++++++++++++++++++++++-------------------
 lib/odp-util.c              |   76 +++++----------
 lib/odp-util.h              |    3 -
 ofproto/ofproto-dpif.c      |  205 ++++++++++++++++++++++++++++-----------
 tests/ofproto-dpif.at       |   92 +++++++++---------
 12 files changed, 635 insertions(+), 417 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list