mirror of
https://github.com/openvswitch/ovs
synced 2025-10-21 14:49:41 +00:00
vswitchd: log skb_mark and skb_priority
This patch adds logging support for skb_mark and skb_priority. Acked-by: Jesse Gross <jesse@nicira.com> Signed-off-by: Ansis Atteka <aatteka@nicira.com>
This commit is contained in:
@@ -1067,6 +1067,11 @@ ofputil_usable_protocols(const struct match *match)
|
||||
return OFPUTIL_P_NONE;
|
||||
}
|
||||
|
||||
/* skb_mark and skb_priority can't be sent in a flow_mod */
|
||||
if (wc->masks.skb_mark || wc->masks.skb_priority) {
|
||||
return OFPUTIL_P_NONE;
|
||||
}
|
||||
|
||||
/* NXM, OXM, and OF1.1 support bitwise matching on ethernet addresses. */
|
||||
if (!eth_mask_is_exact(wc->masks.dl_src)
|
||||
&& !eth_addr_is_zero(wc->masks.dl_src)) {
|
||||
|
Reference in New Issue
Block a user