X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=utilities%2Fovs-ofctl.8.in;h=45574b4df95bc01a1aaf40e7fa689c5f1bbbf19b;hb=e729e7935e5c77eae1ca4a8040d05626f61cf9a2;hp=5fcc60b5794d486097c7bbd5976188cc05766d04;hpb=a8600e1a65b10c7e6b8ca94d18482f50ba27a873;p=sliver-openvswitch.git diff --git a/utilities/ovs-ofctl.8.in b/utilities/ovs-ofctl.8.in index 5fcc60b57..45574b4df 100644 --- a/utilities/ovs-ofctl.8.in +++ b/utilities/ovs-ofctl.8.in @@ -933,15 +933,22 @@ further actions, including those which may be in other tables, or different levels of the \fBresubmit\fR call stack, are ignored. . .PP -The \fBadd\-flow\fR, \fBadd\-flows\fR, and \fBmod\-flows\fR commands -support an additional optional field: +An opaque identifier called a cookie can be used as a handle to identify +a set of flows: . -.IP \fBcookie=\fIvalue\fR +.IP \fBcookie=\fIvalue\fR[\fB/\fImask\fR] . -A cookie is an opaque identifier that can be associated with the flow. -\fIvalue\fR can be any 64-bit number and need not be unique among -flows. If this field is omitted, these commands set a default cookie -value of 0. +A cookie can be associated with a flow using the \fBadd-flow\fR and +\fBadd-flows\fR commands. \fIvalue\fR can be any 64-bit number and need +not be unique among flows. If this field is omitted, a default cookie +value of 0 is used. +.IP +When using NXM, the cookie can be used as a handle for querying, +modifying, and deleting flows. In addition to \fIvalue\fR, an optional +\fImask\fR may be supplied for the \fBdel-flows\fR, \fBmod-flows\fR, +\fBdump-flows\fR, and \fBdump-aggregate\fR commands to limit matching +cookies. A 1-bit in \fImask\fR indicates that the corresponding bit in +\fIcookie\fR must match exactly, and a 0-bit wildcards that bit. . .PP The following additional field sets the priority for flows added by