It would be clearer to use tagged initializers (as suggested by Samuel). I
think Nithin probably just forgot to add that change. Seems like a minor
cleanup that can be made when we add the next command.

>In this patch, we add support for the GET_DP netlink command to dump
>the datpaaths. The userspace workflow to get this to work is the same
>as on Linux. dpif-linux.c initiates a dump start by writing a netlink
>message, and after that continues to read data from the kernel while
>the kernel has data. The state is maintained in the kernel, and not in
>userspace. This approach was taken since there was not great benefit
>of maintaining state in userspace, and also to avoid userspace changes
>specific to Windows.
>
>This hopefully serves as a template to base the other dump commands on.
>
>validation:
>- With a hacked up dpif-linux.c to work on Windows,
>  dpif_linux_enumerate() successfully enumerated the datapaths in the
>  kernel.
>
>Signed-off-by: Nithin Raju <nit...@vmware.com>
>Signed-off-by: Ankur Sharma <ankursha...@vmware.com>

Acked-by: Saurabh Shah <ssaur...@vmware.com>



_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to