On Mon, Jul 06, 2020 at 11:08:16AM +0000, Luca Mancini wrote: > Hello, > > I have two different flows on the same switch: > > ovs-ofctl add-flow s1 > in_port=1,dl_type=2048,nw_proto=17,nw_dst=10.0.0.4,action=buffer:3 > ovs-ofctl add-flow s1 > in_port=1,dl_type=2048,nw_proto=17,nw_dst=10.0.0.2,action=buffer:2 > > these flows are supposed to buffer packets meant for the destination > specified by nw_dst, and send the whole buffer as a new packet through the > port specified (3 or 2) . My problem is that the packets that hit the > different flows end up in the same buffer, shouldn’t hitting a different flow > create a new instance of that action? > > If it helps diagnose the issue, the buffer action is implemented in > ofproto-dpif-xlate.c, so only works in userspace.
This seems like an odd question. "buffer" is an action that you invented and implemented, I think, so it can only do what you made it do. If it's not doing what you want, then maybe your code has a bug? I don't know what an "instance" of an action is. _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
