Re: [ovs-dev] [PATCH] datapath-windows: Make GET_PID a separate IOCTL

2015-04-02 Thread Sorin Vinturis
Hi Nithin, Thanks for your review. Please see my answers inline. --Sorin -Original Message- From: Nithin Raju [mailto:nit...@vmware.com] Sent: Thursday, 2 April, 2015 04:27 To: Sorin Vinturis Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH] datapath-windows: Make GET_PID a

Re: [ovs-dev] [PATCH] datapath-windows: Make GET_PID a separate IOCTL

2015-04-01 Thread Nithin Raju
hi Sorin, Thanks for the patch. It is great that you are addressing many issues that have been pending for sometime. I don’t know if there’s a whole lot of technical advantage to using an separate ioctl v/s using a netlink command, but I can see that it makes the get_sock_pid_from_kernel() func

[ovs-dev] [PATCH] datapath-windows: Make GET_PID a separate IOCTL

2015-04-01 Thread Sorin Vinturis
Added a new IOCTL in order to retrieve the PID from the kernel datapath. The new method uses a direct and cleaner way, as opposed to the old way of using a Netlink transaction, avoiding the unnecessary overhead. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https:/