On Thu, Oct 24, 2013 at 01:19:28PM -0700, Jarno Rajahalme wrote:
> Adds OXM inspired aliases for match fields that don't have them
> already ("ip_proto", "ip_ecn", "ip_dscp", and "tunnel_id").
> 
> "ip_dscp" replaces the earlier undocumented "nw_tos_shifted",
> and takes the DSCP value (0-63), which is then shifted
> appropriately when applied to an IP packet.
> The number of bits for this field is fixed from 8 to 6.
> 
> Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com>

Thanks, I folded in the following to adjust to recent changes in the
repo and applied this to master.

diff --git a/tests/ovs-ofctl.at b/tests/ovs-ofctl.at
index 4272fb1..01ef8e7 100644
--- a/tests/ovs-ofctl.at
+++ b/tests/ovs-ofctl.at
@@ -70,8 +70,8 @@ for test_case in \
     'ipv6,nw_proto=1                             NXM,OXM' \
     'ip,nw_tos=0xf0                              any' \
     'ipv6,nw_tos=0xf0                            NXM,OXM' \
-    'ip,nw_tos_shifted=0x3c                      any' \
-    'ipv6,nw_tos_shifted=0x3c                    NXM,OXM' \
+    'ip,ip_dscp=0x3c                             any' \
+    'ipv6,ip_dscp=0x3c                           NXM,OXM' \
     'ip,nw_ecn=1                                 NXM,OXM' \
     'ipv6,nw_ecn=1                               NXM,OXM' \
     'ip,nw_ttl=5                                 NXM,OXM' \
@@ -252,8 +252,8 @@ for test_case in \
     'ipv6 nw_proto 1/1' \
     'ip nw_tos 0xf0/0xf0' \
     'ipv6 nw_tos 0xf0/0xf0' \
-    'ip nw_tos_shifted 0x3c/0xf0' \
-    'ipv6 nw_tos_shifted 0x3c/0xf0' \
+    'ip ip_dscp 0x3c/0xf0' \
+    'ipv6 ip_dscp 0x3c/0xf0' \
     'ip nw_ecn 1/1' \
     'ipv6 nw_ecn 1/1' \
     'ip nw_ttl 5/1' \
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to