Re: [ovs-dev] Cookie update on flow modify

2019-08-21 Thread Ben Pfaff
On Wed, Aug 21, 2019 at 07:17:26PM +, Karthik Chandrashekar wrote:
> From the latest OpenFlow spec we currently don't allow modification of cookie 
> value when we modify the flow (OFPFC_MODIFY or OFPFC_MODIFY_STRICT).
> 
> 
> 
> However OpenFlow 1.0 supported change of cookie while performing modify. Can 
> I know why this support for removed? Pointers to any previous design 
> discussions would help.

A single flow_cookie field in the flow_mod would not ordinarily be able
to usefully serve both the purpose of matching and updating flow cookies
at the same time.  I think that the ability to match on flow cookies was
considered more useful.  The possibility of having separate flow_mod
fields for matching and updating flow_cookie wasn't considered, if I
recall correctly.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] Cookie update on flow modify

2019-08-21 Thread Karthik Chandrashekar
>From the latest OpenFlow spec we currently don't allow modification of cookie 
>value when we modify the flow (OFPFC_MODIFY or OFPFC_MODIFY_STRICT).



However OpenFlow 1.0 supported change of cookie while performing modify. Can I 
know why this support for removed? Pointers to any previous design discussions 
would help.



Thanks

Karthik C

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev