On Tue, Feb 21, 2017 at 02:22:53PM -0500, Eric Garver wrote:
> When using set_field for nw_ecn with OF1.0 or OF1.1, you get an error
> instead of a proper translation. This use to work before 4b684612d900
> ("ofp-actions: Translate mod_nw_ecn action to OF1.1 properly.") because
> it would fallback to using NXM.
>
> e.g.
>
> [root@rhel7 ~]# ovs-ofctl -O OpenFlow10 add-flow br0 'ip
> actions=set_field:2->nw_ecn'
> OFPT_ERROR (xid=0x4): OFPBAC_BAD_ARGUMENT
> NXT_FLOW_MOD (xid=0x4):
> ...
>
> $ ovs-ofctl -O OpenFlow11 add-flow br0 'ip actions=set_field:2->nw_ecn'
> ovs-ofctl: none of the usable flow formats (NXM,OXM) is among the
> allowed flow formats (OpenFlow11)
>
> Fixes: 4b684612d900 ("ofp-actions: Translate mod_nw_ecn action to OF1.1
> properly.")
> Signed-off-by: Eric Garver <[email protected]>
Thanks a lot! I applied this to master and branch-2.7.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev