[ovs-git] Open vSwitch: learn: Make it possible to parse "load" actions wider than 64 bits. (branch-1.6)

dev at openvswitch.org dev at openvswitch.org
Sat Apr 14 04:50:15 UTC 2012


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, branch-1.6 has been updated
       via  7b3b2432d42a54c174177ad5380a21449fce77ed (commit)
       via  8f8a80828f86c6deb1ab6df8b6b8820a20ac0e9a (commit)
       via  7da386335b911e0ca8513c6c16143b6a8f72cf8c (commit)
       via  116a8ff4138849e067aeb755f62ef15c36e439f2 (commit)
       via  f19d891b2b7b6c28bd596e6a793104d8c771b530 (commit)
      from  ff54de17978989a2d39cfcd2bdef516be93cf9cd (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 7b3b2432d42a54c174177ad5380a21449fce77ed
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7b3b2432d42a54c174177ad5380a21449fce77ed
Author: Ben Pfaff <blp at nicira.com>
		
learn: Make it possible to parse "load" actions wider than 64 bits.
		
The implementation of the "learn" action now properly implements
specifications such as 0x20010db885a308d313198a2e03707348->NXM_NX_IPV6_DST
but the parser used in ovs-ofctl and elsewhere could not generate such
specifications.  This commit adds that support.

Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 8f8a80828f86c6deb1ab6df8b6b8820a20ac0e9a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8f8a80828f86c6deb1ab6df8b6b8820a20ac0e9a
Author: Ben Pfaff <blp at nicira.com>
		
learn: Fix bugs when learn actions use subfields wider than 64 bits.
		
Bug #10576.
Reported-by: James Schmidt <jschmidt at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 7da386335b911e0ca8513c6c16143b6a8f72cf8c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7da386335b911e0ca8513c6c16143b6a8f72cf8c
Author: Ben Pfaff <blp at nicira.com>
		
meta-flow: New functions for reading and writing generalized subfields.
		
The existing functions for reading and writing the values of subfields only
handle subfields up to 64 bits wide.  These new functions handle subfields
of any width.

Also update some existing comments.

Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 116a8ff4138849e067aeb755f62ef15c36e439f2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=116a8ff4138849e067aeb755f62ef15c36e439f2
Author: Ben Pfaff <blp at nicira.com>
		
util: New function bitwise_is_all_zeros().
		
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit f19d891b2b7b6c28bd596e6a793104d8c771b530
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f19d891b2b7b6c28bd596e6a793104d8c771b530
Author: Ben Pfaff <blp at nicira.com>
		
util: New function bitwise_one().
		
It's the obvious counterpart to bitwise_zero().

Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 include/openflow/nicira-ext.h |    3 +
 lib/learn.c                   |  137 ++++++++++++++++++++++++++++-------------
 lib/meta-flow.c               |   57 ++++++++++++++---
 lib/meta-flow.h               |   20 ++++++
 lib/util.c                    |  104 +++++++++++++++++++++++++++++++
 lib/util.h                    |    4 +
 tests/learn.at                |   45 +++++++++++++
 tests/library.at              |    3 +-
 tests/test-util.c             |   90 +++++++++++++++++++++++++++
 9 files changed, 411 insertions(+), 52 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list