Re: [ovs-discuss] Adding a new OpenFlow action to ovs, ctx->xin->packet is null

2014-05-13 Thread Christian Stigen Larsen
Hi, > Den 11. mai 2014 kl. 04:19 skrev Ben Pfaff : > >> On Sat, May 10, 2014 at 06:11:29PM +0200, Christian Stigen Larsen wrote: >> >> Ben Pfaff : >>>> Is do_xlate_actions ("translate actions"?) the wrong place for this kind of >>>&

Re: [ovs-discuss] Adding a new OpenFlow action to ovs, ctx->xin->packet is null

2014-05-11 Thread Christian Stigen Larsen
Christian Stigen Larsen : > I think I've almost got it, but for some reason my action doesn't seem to be > triggered. Never mind, I got it to trigger now in odp-execute when setting the slow bit. -- Christian Stigen Larsen ___ disc

Re: [ovs-discuss] Adding a new OpenFlow action to ovs, ctx->xin->packet is null

2014-05-11 Thread Christian Stigen Larsen
Christian Stigen Larsen : > When translating the action, I do: > > struct ofpbuf* odp_actions = &ctx->xout->odp_actions; > nl_msg_put_unspec(odp_actions, OVS_ACTION_ATTR_FOO, > &foo, sizeof(struct ovs_action_foo)); This is done in do

Re: [ovs-discuss] Adding a new OpenFlow action to ovs, ctx->xin->packet is null

2014-05-11 Thread Christian Stigen Larsen
buff and then try to output it, but tcpdump doesn't pick up anything. I'm guessing that I've not set up the output ports correctly, or something. I'm sorry for bothering the list with this kind of stuff, but if I get it working I'll do a how-to and put up on the net. Re

Re: [ovs-discuss] Adding a new OpenFlow action to ovs, ctx->xin->packet is null

2014-05-10 Thread Christian Stigen Larsen
x27;ll continue digging and check out the stuff you suggested. Regards, -- Christian Stigen Larsen ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Adding a new OpenFlow action to ovs, ctx->xin->packet is null

2014-05-10 Thread Christian Stigen Larsen
o start somewhere. The only problem is that debugging kernel modules is kinda tricky, but I could install ovs in userspace instead, I guess. -- Christian Stigen Larsen ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] Adding a new OpenFlow action to ovs, ctx->xin->packet is null

2014-05-09 Thread Christian Stigen Larsen
?) the wrong place for this kind of stuff? How can I get a pointer to the raw packet data? I really hope anyone can give me some clues, as I'm currently stuck. Regards, --ยท Christian Stigen Larsen ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] High OpenFlow upcall RTTs introduced between 2.0 and 2.1?

2014-05-01 Thread Christian Stigen Larsen
Christian Stigen Larsen : >> An RTT of 87 ms is very high to begin with. What does mininet do that >> could cause such a high RTT? > > Fair point. Honestly, I don't know, but perhaps I can ask on mininet-discuss. > > I thought it was simply due to the Python cont

Re: [ovs-discuss] High OpenFlow upcall RTTs introduced between 2.0 and 2.1?

2014-04-30 Thread Christian Stigen Larsen
his is it! I've verified it with/and without the commit, plus a reboot, just to be sure. Thank you so much for all the help! -- Christian Stigen Larsen ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] High OpenFlow upcall RTTs introduced between 2.0 and 2.1?

2014-04-30 Thread Christian Stigen Larsen
x27;t know that it would address your issue. Ok. I tested it, same problem there. I'll let you know if I find out anything more. -- Christian Stigen Larsen ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] High OpenFlow upcall RTTs introduced between 2.0 and 2.1?

2014-04-30 Thread Christian Stigen Larsen
ly due to the Python controller. Remember it gets all packets and has to send down a forward-command for each. But yeah, 47 ms extra per packet is quite the overhead (the link-latency configuration is 40 ms). -- Christian Stigen Larsen ___ discuss

Re: [ovs-discuss] High OpenFlow upcall RTTs introduced between 2.0 and 2.1?

2014-04-30 Thread Christian Stigen Larsen
rely on it"?) 2.2 is definitely fine -- I had only tested 2.0 and 2.1, and the patch doesn't apply on 2.1. But you do point-releases on 2.1? I see ofproto-dpif.c has significant changes from 2.1 to 2.2, so I wasn't able to test any more. Let me know if you ne

[ovs-discuss] High OpenFlow upcall RTTs introduced between 2.0 and 2.1?

2014-04-30 Thread Christian Stigen Larsen
eflection on this, to me, strange behaviour. Just so you know, I'm an Open vSwitch and Mininet novice. (*) The code for this part _may_ be relevant, but I'll see if anyone replies first. Regards, -- Christian Stigen Larsen ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss