[ovs-git] Open vSwitch: ofproto-dpif: Fake-up OFPP_NONE input bundle for mirroring and normal. (branch-1.4)

dev at openvswitch.org dev at openvswitch.org
Thu Jan 5 00:38:52 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.4 has been updated
       via  2716b6379dc86331330d78b496985e908320ddfa (commit)
       via  a64d0f34a1adf9d586a64a5fecf829d3f473c4c7 (commit)
       via  9cc966d077d1904fa27919694eb55331e6bf391e (commit)
      from  4048d8aaf310d298e571608ffbd9ca68febffeb2 (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 2716b6379dc86331330d78b496985e908320ddfa
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2716b6379dc86331330d78b496985e908320ddfa
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto-dpif: Fake-up OFPP_NONE input bundle for mirroring and normal.
		
Both mirroring and "normal" processing make use of the input bundle to
perform various sanity checks.  Controller-generated traffic typically
uses an ingress port of OFPP_NONE, which doesn't have a corresponding
input bundle.  This commit fakes one up well enough that mirroring and
"normal" processing succeed.

We looked at creating an actual bundle based on the "real" OFPP_NONE.
This was even uglier, since there were even more special-cases that
needed to be handled, including having to hide it from port queries.

Reported-by: Jesse Gross <jesse at nicira.com>
Signed-off-by: Justin Pettit <jpettit at nicira.com>


commit a64d0f34a1adf9d586a64a5fecf829d3f473c4c7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a64d0f34a1adf9d586a64a5fecf829d3f473c4c7
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto-dpif: Have lookup_input_bundle() return a bundle.
		
Previously, the function returned an "ofport_dpif", but it makes more
sense to return an "ofbundle".  This will also be helpful in a
forthcoming commit.

Signed-off-by: Justin Pettit <jpettit at nicira.com>


commit 9cc966d077d1904fa27919694eb55331e6bf391e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9cc966d077d1904fa27919694eb55331e6bf391e
Author: Justin Pettit <jpettit at nicira.com>
		
ovs-ofctl: Fix error in man page related to TCI masks.
		
Signed-off-by: Justin Pettit <jpettit at nicira.com>


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

Summary of changes:
 ofproto/ofproto-dpif.c   |   60 +++++++++++++++++++++++++++++++--------------
 tests/ofproto-dpif.at    |   33 +++++++++++++++++++++++++
 utilities/ovs-ofctl.8.in |    2 +-
 3 files changed, 75 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list