mirror of
https://github.com/openvswitch/ovs
synced 2025-09-01 14:55:18 +00:00
Support matching and modifying IP ECN bits.
Signed-off-by: Justin Pettit <jpettit@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
This commit is contained in:
@@ -897,6 +897,11 @@ ofputil_min_flow_format(const struct cls_rule *rule)
|
||||
return NXFF_NXM;
|
||||
}
|
||||
|
||||
/* Only NXM supports matching IP ECN bits. */
|
||||
if (wc->tos_mask & IP_ECN_MASK) {
|
||||
return NXFF_NXM;
|
||||
}
|
||||
|
||||
/* Other formats can express this rule. */
|
||||
return NXFF_OPENFLOW10;
|
||||
}
|
||||
|
Reference in New Issue
Block a user