[ovs-git] [openvswitch/ovs] 074680: ofp-flow: Improve error message when cookie cannot...

Ben Pfaff noreply at github.com
Wed Jul 17 18:09:19 UTC 2019

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 07468070541ccd1a0dd82292dc8cb5dfdef02dfd
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2019-07-17 (Wed, 17 Jul 2019)

  Changed paths:
    M lib/ofp-flow.c

  Log Message:
  ofp-flow: Improve error message when cookie cannot be set.

The "cookie" value has two meanings in "ovs-ofctl add-flow", etc.  With
a mask, it indicates a match; without a mask, it indicates that the
cookie should be set.  In some cases, the cookie cannot be set, which may
mean that the user meant to indicate a match.  The error message for this
case was poor; this improves it.

Suggested-by: "Yi Yang (杨燚)-云服务集团" <yangyi01 at inspur.com>
Reviewed-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list