From ac923e910e15e934137b9f12997d153c83292edf Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Tue, 6 Aug 2013 12:57:16 -0700 Subject: flow: Enable matching on new field 'pkt_mark'. The Linux kernel datapath enables matching and setting the skb mark but this functionality is currently used only internally by ovs-vswitchd. This exposes it through NXM to enable external controllers to interact with other kernel subsystems. Although this is simply exporting the skb mark, the intention is that this is a platform independent mechanism to access some system metadata and therefore may have different implementations on various systems. Bug #17855 Signed-off-by: Jesse Gross Acked-by: Andy Zhou --- utilities/ovs-ofctl.8.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'utilities/ovs-ofctl.8.in') diff --git a/utilities/ovs-ofctl.8.in b/utilities/ovs-ofctl.8.in index 6fd03f8a8..47b591a9b 100644 --- a/utilities/ovs-ofctl.8.in +++ b/utilities/ovs-ofctl.8.in @@ -806,6 +806,13 @@ exactly, and a 0-bit wildcards that bit. When a packet enters an OpenFlow switch, all of the registers are set to 0. Only explicit Nicira extension actions change register values. . +.IP \fBpkt_mark=\fIvalue\fR[\fB/\fImask\fR] +Matches packet metadata mark \fIvalue\fR either exactly or with optional +\fImask\fR. The mark is associated data that may be passed into other +system components in order to facilitate interaction between subsystems. +On Linux this corresponds to the skb mark but the exact implementation is +platform-dependent. +. .PP Defining IPv6 flows (those with \fBdl_type\fR equal to 0x86dd) requires support for NXM. The following shorthand notations are available for -- cgit v1.2.1