[ovs-dev] netlink-socket.c: add support for do_lookup_genl_family on Windows

Ben Pfaff blp at nicira.com
Fri Aug 22 17:15:32 UTC 2014


On Fri, Aug 22, 2014 at 01:16:44AM -0700, Nithin Raju wrote:
> In this patch, we add support for querying the genl family id for any
> family supported by the OVS kernel datapath. On platforms that support
> netlink natively, the operating system assigns a family ID, and the
> OS netlink infrastructure supports querying the family ID by name.
> 
> In case of Windows, since OVS datpath provides the netlink support,
> it is not necessary to make a call into the kernel. Returning a
> family ID that is consistent between the userspace and kernel
> is sufficient. Once there is code to support netlink message parsing
> as well as constructing netlink messages, we can make a call into
> the kernel, but that in itself may not buy anything more than this
> approach.
> 
> This patch is a precursor to make progress of the other commands.
> The next hurdle is to support nl_lookup_genl_mcgroup().
> 
> Signed-off-by: Nithin Raju <nithin at vmware.com>

Both applied, thanks!



More information about the dev mailing list