[ovs-dev] [RFC PATCH] lib/odp-util: Relax expectations when parsing a masked key.

Jarno Rajahalme jrajahalme at nicira.com
Thu Sep 11 18:25:40 UTC 2014


On Sep 11, 2014, at 11:11 AM, Ben Pfaff <blp at nicira.com> wrote:

> On Thu, Sep 11, 2014 at 11:12:29AM -0700, Jarno Rajahalme wrote:
>> This could fix using ovs-dpctl to add userspace datapath flows.
> 
> It's a big patch, could you expand slightly on what it does before I
> start reading it?

I planned to follow up with the note that Daniele said he faced problems using ovs-dpctl to control DPDK datapath on the current master, after my recent patches went in. I’d hope Daniele will check if this patch addresses his problem.

This patch allows parsing Netlink keys that do not include all “expected” keys. For example, if eth_type is 0x0800, you could still leave out the IPv4 key, with the result that it is fully wildcarded. If only a key (without a mask) is parsed, all expected keys need to be present, like before.

The remaining patches from my “masked set actions” series introduce the same flexibility to the Linux kernel module.

I could have sent this privately to Daniele first, but it was (marginally :-) easier for me to send to the list…

  Jarno




More information about the dev mailing list