[ovs-git] Open vSwitch: Correctly implement the OpenFlow 1.2+ OXM_OF_IP_DSCP field. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Apr 18 16:44:23 UTC 2013


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  1638b90642cf9046a463d69bf1ea641cc81f66b2 (commit)
      from  781d44723705929ba8aea3c39611fe807c453682 (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 1638b90642cf9046a463d69bf1ea641cc81f66b2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1638b90642cf9046a463d69bf1ea641cc81f66b2
Author: Ben Pfaff <blp at nicira.com>
		
Correctly implement the OpenFlow 1.2+ OXM_OF_IP_DSCP field.
		
NXM puts the DSCP value in bits 2-7 of NXM_OF_IP_TOS.
OXM puts the DSCP value in bits 0-6 of OXM_OF_IP_DSCP.

Before this commit, Open vSwitch incorrectly implemented OXM_OF_IP_DSCP
with the same format as NXM_OF_IP_TOS.  This commit fixes the problem and
adds a test (previously missing but I don't know why).

Reported-by: Hiroshi Miyata <miyahiro.dazu at gmail.com>
Tested-by: Hiroshi Miyata <miyahiro.dazu at gmail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 AUTHORS            |    1 +
 lib/meta-flow.c    |   31 +++++++++++++++++++++++++++++++
 lib/meta-flow.h    |   12 +++++++++++-
 lib/nx-match.c     |    9 ++++++---
 tests/ovs-ofctl.at |   12 ++++++++++++
 5 files changed, 61 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list