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

dev at openvswitch.org dev at openvswitch.org
Sat Apr 14 04:30:51 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, master has been updated
       via  3d792b703f587f42475566b6e92f852d60e85ca2 (commit)
       via  337b9cec45b813ef467b39a8d55741030f7404ff (commit)
       via  1b35df45f206a4649c17ca25bc5a3cc12a435052 (commit)
       via  79a010aa803dc43c7a2d70046f0ad4a2d4cb4a11 (commit)
       via  c2dd49322f538714572c66d72a1c142547c49b1d (commit)
      from  c7e7bb21ff20f6fb2ca6509d9cffeca895fcbc78 (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 3d792b703f587f42475566b6e92f852d60e85ca2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3d792b703f587f42475566b6e92f852d60e85ca2
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 337b9cec45b813ef467b39a8d55741030f7404ff
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=337b9cec45b813ef467b39a8d55741030f7404ff
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 1b35df45f206a4649c17ca25bc5a3cc12a435052
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1b35df45f206a4649c17ca25bc5a3cc12a435052
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 79a010aa803dc43c7a2d70046f0ad4a2d4cb4a11
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=79a010aa803dc43c7a2d70046f0ad4a2d4cb4a11
Author: Ben Pfaff <blp at nicira.com>
		
util: New function bitwise_is_all_zeros().
		
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit c2dd49322f538714572c66d72a1c142547c49b1d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c2dd49322f538714572c66d72a1c142547c49b1d
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