It won't work because flow-mod and packet-out aren't going to use the same xid as the packet-in.
On Fri, May 13, 2016 at 12:07:58PM +0000, Ali Volkan Atli wrote: > Currently, I can buffer packets for each flow, then send only one > packet-in message to controllers, now I'm trying to figure out how to > match the packet-in with flow-mod or packet-out? If I use xid to match > packet-in and flow-mod or packet-out, does it violate specs? > > - Volkan > ________________________________________ > From: Ben Pfaff [b...@ovn.org] > Sent: Thursday, May 12, 2016 7:27 PM > To: Ali Volkan Atli > Cc: discuss@openvswitch.org > Subject: Re: [ovs-discuss] How to match packet-in and flow-mod via buffer_id? > > On Thu, May 12, 2016 at 01:46:32PM +0000, Ali Volkan Atli wrote: > > When a controller adds a table-miss flow entry with > > instruction->action->max_lenght field set to NO_BUFFER, do I have a > > chance to match a packet-in message and associated flow-mod message > > via buffer_id? > > I don't understand the question. > > > If OvS send a packet-in message buffer_id set to a value different > > than NO_BUFFER, does it violate the Openflow specs? > > Yes, I think so. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss