Is there a way of adding messages myself and see them thorugh --verbose? I was told that "printk()" did that but I'm not able to see it anywhere :(
Thank you for your answer, Kind regards, Raúl 2015-08-05 22:40 GMT+02:00 Joe Stringer <joestrin...@nicira.com>: > On 5 August 2015 at 13:02, Raul Suarez Marin > <raul.suarez.ma...@gmail.com> wrote: > > Hello everyone, > > > > I am developing a new match option in the datapath. I implemented almost > > everything already, but I am missing something and I don't know what nor > > what is next step. > > > > Adding the flow directly to the datapath gives the following error: > > ovs-dpctl: updating flow table (Invalid argument) > > > > The full "stack" > > > > sudo ovs-dpctl add-flow "ovs-system" > > > "in_port(3),eth(src=00:00:00:00:ca:fe,dst=05:05:05:05:05:05),eth_type(0x0800),ipv4(src= > > > 10.10.0.1/255.255.255.255,dst=10.10.0.2/255.255.255.255,proto=17/0xff,tos=0/0,ttl=64/0,frag=no/0xff > ),udp(src=2152/0,dst=2152/0xffff),new_match_option(11259375/0xffffffff)" > > "1" > > > > 2015-08-05T19:58:58Z|00001|dpif|WARN|system@ovs-system: failed to > > put[create] (Invalid argument) > > > in_port(3),eth(src=00:00:00:00:ca:fe,dst=05:05:05:05:05:05),eth_type(0x0800),ipv4(src= > > > 10.10.0.1/255.255.255.255,dst=10.10.0.2/255.255.255.255,proto=17/0xff,tos=0/0,ttl=64/0,frag=no/0xff > > > ),udp(src=2152/0,dst=2152/0xffff),new_match_option(id=11259375/0xffffffff) > > ovs-dpctl: updating flow table (Invalid argument) > > > > > > Any thoughts, hints or comments are appreciated. > > dmesg may also have some information. > > You can use "--verbose" to see more detail on what is actually > happening from the ovs-dpctl perspective. But it looks like the kernel > is rejecting your flow installation because you're providing an > invalid argument (EINVAL), so you'll need to trace through the > ovs_flow_cmd_new() code to see why that might be the case. > _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev