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

2014-05-10 Thread 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 > >> stuff? How can I get a pointer to the raw packet data? > > > > Usually, ofproto-dpif-xlate should not actually implement

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

2014-05-10 Thread Ben Pfaff
On Sat, May 10, 2014 at 05:57:41PM +0200, Christian Stigen Larsen wrote: > Ben Pfaff : > >> Is do_xlate_actions ("translate actions"?) the wrong place for this kind of > >> stuff? How can I get a pointer to the raw packet data? > > > > Usually, ofproto-dpif-xlate should not actually implement the

Re: [ovs-discuss] Error - build kernel module (openvswitch-2.0.0.tar.gz) on RHEL 7 Beta

2014-05-10 Thread Andrey Korolyov
Hello, sorry for bringing this old thread on top, but right now building against current RHEL 3.10.121.el7 seems not possible without patchwork. After fixing some obvious kversion checks and code snippets, I had stuck on f067987973facf28916a2f5ee48bf02ce5938bf8: In file included from /builder/rpm

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

2014-05-10 Thread Christian Stigen Larsen
Ben Pfaff : >> Is do_xlate_actions ("translate actions"?) the wrong place for this kind of >> stuff? How can I get a pointer to the raw packet data? > > Usually, ofproto-dpif-xlate should not actually implement the OpenFlow > actions. Sorry for being trigger-happy, but even if I chose to implem

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

2014-05-10 Thread Christian Stigen Larsen
Ben Pfaff : >> Is do_xlate_actions ("translate actions"?) the wrong place for this kind of >> stuff? How can I get a pointer to the raw packet data? > > Usually, ofproto-dpif-xlate should not actually implement the OpenFlow > actions. Rather, it should output a set of datapath (kernel) actions >

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

2014-05-10 Thread Ben Pfaff
On Fri, May 09, 2014 at 11:12:44PM +0200, Christian Stigen Larsen wrote: > I'm trying to add a new OpenFlow action to Open vSwitch. > > So far, I'm able to install it using ovs-ofctl. It's clearly in the > flow-table and my entry function is called from do_xlate_actions in > ofproto-dpif-xlate.c.

[ovs-discuss] openvswitch no connect from KVM Client

2014-05-10 Thread Günther J . Niederwimmer
Hello, I have on my system a Problem with the Clients in KVM? When I start the System or reboot the clients can't connect to openvswitch sometime all have this Problem sometime 1 or 2 Client? I have openvswitch 2.1.2 But when I restart the Clients (libvirt-guest restart) the most Time the Cl