mirror of
https://github.com/openvswitch/ovs
synced 2025-10-11 13:57:52 +00:00
ofproto: Match VLAN PCP and rewrite ToS bits (OpenFlow 0.9)
Starting in OpenFlow 0.9, it is possible to match on the VLAN PCP (priority) field and rewrite the IP ToS/DSCP bits. This check-in provides that support and bumps the wire protocol number to 0x98. NOTE: The wire changes come together over the set of OpenFlow 0.9 commits, so OVS will not be OpenFlow-compatible with any official release between this commit and the one that completes the set.
This commit is contained in:
@@ -55,7 +55,6 @@ void
|
||||
cls_rule_from_flow(struct cls_rule *rule, const flow_t *flow,
|
||||
uint32_t wildcards, unsigned int priority)
|
||||
{
|
||||
assert(flow->reserved == 0);
|
||||
rule->flow = *flow;
|
||||
flow_wildcards_init(&rule->wc, wildcards);
|
||||
rule->priority = priority;
|
||||
|
Reference in New Issue
Block a user