[ovs-dev] datapath forwarding

Joe Stringer joestringer at nicira.com
Wed Aug 5 20:40:51 UTC 2015

On 5 August 2015 at 13:02, Raul Suarez Marin
<raul.suarez.marin at 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=
> "1"
> 2015-08-05T19:58:58Z|00001|dpif|WARN|system at 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=
> ),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.

More information about the dev mailing list