Re: [ovs-dev] [PATCH] INSTALL.Windows.md: Update the minimum required compiler.

2015-07-14 Thread Eitan Eliahu
Acked-by: Eitan Eliahu It would be good if we could verify that the driver is compiled and run when compiled with VS Update 4 and Winddk 8.1. Thanks Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Gurucharan Shetty Sent: Tuesday, July 14, 2015 11:57

Re: [ovs-dev] [PATCH] datapath-windows: Modified dump start message memory representation

2015-07-13 Thread Eitan Eliahu
Alin, it is a different one. Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Monday, July 13, 2015 11:58 AM To: Ben Pfaff; Sorin Vinturis Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH] datapath-windows: Modified dump start mes

Re: [ovs-dev] [PATCH] datapath-windows: Modified dump start message memory representation

2015-07-13 Thread Eitan Eliahu
Hi Sorin, Thank you for addressing my comments. Can we please use a flag which indicates that the a dump process is in progress rather than setting the whole buffer to zero? Besides of that, everything is good. Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.o

Re: [ovs-dev] [PATCH] datapath-windows: update extension information

2015-07-13 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Monday, July 13, 2015 10:18 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] datapath-windows: update extension information This patch sets

Re: [ovs-dev] [PATCH v2] datapath-windows: Update VXLAN header information

2015-07-13 Thread Eitan Eliahu
Thanks for addressing the issue! Acked-by: Eitan Eliahu Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Monday, July 13, 2015 9:59 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH v2] datapath-windows: Update VXLAN header

Re: [ovs-dev] [PATCH] datapath-windows: Realease dispatch lock after processing

2015-07-13 Thread Eitan Eliahu
Alin, it seems that RtlUnicodeStringToAnsiString() can't be called in an elevated IRQL. Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Monday, July 13, 2015 10:06 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] datapa

Re: [ovs-dev] [PATCH] datapath-windows: Update VXLAN header information

2015-07-13 Thread Eitan Eliahu
Hi Alin, Can you please explain why the FilterID is used to maintain the number of transmitted bytes? The FilterID is sent to WFP when we add a filter so the filter can be deleted later by specifying this ID. Once the ID is modified the removal of the filter will fail. I think we want to use as

Re: [ovs-dev] [PATCH] datapath-windows: Solved memory leak in OVS datapath

2015-07-02 Thread Eitan Eliahu
Hi Sorin, Please consider to have the dump state as part of the usermode instance (regardless if dump initiated or not). This would save the whole housekeeping around this insignificant dynamic memory allocation. Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswi

Re: [ovs-dev] [PATCH] datapath-windows: OVS_PACKET_ATTR_PROBE

2015-07-01 Thread Eitan Eliahu
Yes, this would make the parse function to fail and in fact it will access the policy array beyond its boundary. Thanks Alin and Ben, Eitan -Original Message- From: Alin Serdean [mailto:aserd...@cloudbasesolutions.com] Sent: Wednesday, July 01, 2015 5:13 PM To: Ben Pfaff; Eitan Eliahu

Re: [ovs-dev] [PATCH] datapath-windows: OVS_PACKET_ATTR_PROBE

2015-07-01 Thread Eitan Eliahu
th-windows and ignores it for the moment to maintain binary > compatibility. > > Signed-off-by: Alin Gabriel Serdean > Acked-by: Eitan Eliahu > --- > This patch should be applied on master and branch-2.4 > v2: add acked-by This patch makes me worry a bit. The Linux kernel and OVS us

Re: [ovs-dev] [PATCH 2/2] Undefined symbol make_unix_socket

2015-07-01 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: Alin Serdean [mailto:aserd...@cloudbasesolutions.com] Sent: Wednesday, July 01, 2015 11:49 AM To: Eitan Eliahu; dev@openvswitch.org Subject: RE: [PATCH 2/2] Undefined symbol make_unix_socket Hi Eitan, It would be a nice

Re: [ovs-dev] [PATCH] datapath-windows: Solved BSOD when adding OVS ports

2015-07-01 Thread Eitan Eliahu
consider to use the pool handle (ovsPool.ndisHandle) instaed. Thanks, Eitan -Original Message- From: Sorin Vinturis [mailto:svintu...@cloudbasesolutions.com] Sent: Wednesday, July 01, 2015 8:50 AM To: Eitan Eliahu; dev@openvswitch.org Subject: RE: [ovs-dev] [PATCH] datapath-windows: Solved

Re: [ovs-dev] [PATCH] datapath-windows: Failed initialization for datapath tunnel ports

2015-07-01 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: Sorin Vinturis [mailto:svintu...@cloudbasesolutions.com] Sent: Wednesday, July 01, 2015 8:27 AM To: Eitan Eliahu; dev@openvswitch.org Subject: RE: [PATCH] datapath-windows: Failed initialization for datapath tunnel ports

Re: [ovs-dev] [PATCH] datapath-windows: Failed initialization for datapath tunnel ports

2015-07-01 Thread Eitan Eliahu
Hi Sorin, Can you explain which change broke this code. I recall validating connectivity on STT and I believe Nithin validated on STT and on VXLAN channel as well. Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday,

Re: [ovs-dev] [PATCH] datapath-windows: Solved BSOD when adding OVS ports

2015-07-01 Thread Eitan Eliahu
Hi Sorin, Thank you for debugging this issue. I think that the NBL context signature is used for code validation only (think about a signature we put in an object for the purpose of validating this object when executing in a different context). Can you think about another way to fix this issue (e

Re: [ovs-dev] [PATCH] datapath-windows: Avoid double incrementation of tx VXLAN packet statistics

2015-07-01 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, July 01, 2015 1:04 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] datapath-windows: Avoid double incrementation of tx VXLAN packet

Re: [ovs-dev] [PATCH] datapath-windows: Duplicate tag for STT pools

2015-07-01 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, July 01, 2015 1:13 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] datapath-windows: Duplicate tag for STT pools All pool allocations

Re: [ovs-dev] [PATCH 2/2] Undefined symbol make_unix_socket

2015-07-01 Thread Eitan Eliahu
Hi Alin, Should we implement OVS system logging for Windows through the use of "Application Event Logging"? Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Tuesday, June 30, 2015 9:28 AM To: dev@openvswitch.org Subject: [ovs

Re: [ovs-dev] [PATCH 1/2] OVS_UNUSED is defined indirectly

2015-07-01 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Tuesday, June 30, 2015 9:27 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 1/2] OVS_UNUSED is defined indirectly Currently OVS_UNUSED is defined

Re: [ovs-dev] [PATCH] datapath-windows: OVS_PACKET_ATTR_PROBE

2015-07-01 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Tuesday, June 30, 2015 9:39 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] datapath-windows: OVS_PACKET_ATTR_PROBE Since commit: https

Re: [ovs-dev] [PATCH] [PATCH v3][branch-2.4] dpif_probe_feature not suported in windows datapath

2015-06-25 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Thursday, June 25, 2015 10:19 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] [PATCH v3][branch-2.4] dpif_probe_feature not suported in windows

Re: [ovs-dev] [PATCH v2] dpif_probe_feature not suported in windows datapath

2015-06-25 Thread Eitan Eliahu
If it gets too involved have your user mode hack instead. Thanks Alin. Eitan -Original Message- From: Alin Serdean [mailto:aserd...@cloudbasesolutions.com] Sent: Thursday, June 25, 2015 8:38 AM To: Eitan Eliahu; Nithin Raju Cc: Ben Pfaff; dev@openvswitch.org Subject: RE: [ovs-dev] [PATCH

Re: [ovs-dev] [PATCH v2] dpif_probe_feature not suported in windows datapath

2015-06-25 Thread Eitan Eliahu
: Thursday, June 25, 2015 7:30 AM To: Nithin Raju; Eitan Eliahu Cc: Ben Pfaff; dev@openvswitch.org Subject: RE: [ovs-dev] [PATCH v2] dpif_probe_feature not suported in windows datapath Both are hacks IMO. We could respond to DPIF_FP_PROBE but I prefer to do it in userspace until we address the

Re: [ovs-dev] [PATCH v2] dpif_probe_feature not suported in windows datapath

2015-06-24 Thread Eitan Eliahu
I'm wondering if we could fail this call in the datapath level by examining the DPIF_FP_PROBE bit in the flags. If it is too hard we can still live with user mode code change. Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Ben Pfaff Sent: Wed

Re: [ovs-dev] [PATCH v2] datapath-windows: Return success for already existing WFP objects

2015-06-22 Thread Eitan Eliahu
10:26 AM To: Eitan Eliahu Cc: Nithin Raju; dev@openvswitch.org Subject: RE: [PATCH v2] datapath-windows: Return success for already existing WFP objects Hi Eitan/Nithin, In normal execution flow all WFP objects are released after the extension is disabled. The patch was meant to address the cases

Re: [ovs-dev] [PATCH v2] datapath-windows: Return success for already existing WFP objects

2015-06-20 Thread Eitan Eliahu
Hi Sorin, Could you please let us know what are the cases where these object are already existed? I just want to be sure that we free all these objects when stopping the extension. Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis

Re: [ovs-dev] [PATCH v2] datapath-windows: BSOD when disabling the extension

2015-06-16 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks Sorin. Eitan -Original Message- From: Sorin Vinturis [mailto:svintu...@cloudbasesolutions.com] Sent: Tuesday, June 16, 2015 2:36 AM To: Eitan Eliahu; dev@openvswitch.org Subject: RE: [ovs-dev] [PATCH v2] datapath-windows: BSOD when disabling the extension

Re: [ovs-dev] [PATCH ovn] ofctrl: Don't use designated initializers.

2015-06-15 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Gurucharan Shetty Sent: Monday, June 15, 2015 12:52 PM To: dev@openvswitch.org Cc: Gurucharan Shetty Subject: [ovs-dev] [PATCH ovn] ofctrl: Don't use desig

Re: [ovs-dev] [PATCH v2] datapath-windows: BSOD when disabling the extension

2015-06-15 Thread Eitan Eliahu
Hi Sorin, Can you please forward stack trace? Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Monday, June 15, 2015 7:49 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH v2] datapath-windows: BSOD when disabling the ext

Re: [ovs-dev] [PATCH] datapath-windows: Correctly complete the original NBL with multiple NBs

2015-06-12 Thread Eitan Eliahu
No need to apologize Sorin. We will get everything addressed. Sorry if you felt like we pushed you. Thanks for the patch, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Friday, June 12, 2015 5:27 AM To: Nithin Raju Cc: dev@openvsw

Re: [ovs-dev] [PATCH] datapath-windows: Correctly complete the original NBL with multiple NBs

2015-06-11 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Thursday, June 11, 2015 5:53 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] datapath-windows: Correctly complete the original NBL with

[ovs-dev] [PATCH v3] datapath-windows: Stateless TCP Tunnelling protocol - Initial implementation

2015-06-11 Thread Eitan Eliahu
. Signed-off-by: Eitan Eliahu Co-authored-by: Saurabh Shah Signed-off-by: Saurabh Shah --- INSTALL.Windows.md | 40 ++-- datapath-windows/automake.mk | 2 + datapath-windows/ovsext/Actions.c | 64 -- datapath-windows/ovsext/Debug.h| 1

Re: [ovs-dev] [PATCH v2] datapath-windows: Stateless TCP Tunnelling protocol - Initial implementation

2015-06-08 Thread Eitan Eliahu
Yes, will do. Eitan -Original Message- From: Ben Pfaff [mailto:b...@nicira.com] Sent: Saturday, June 06, 2015 1:52 PM To: Eitan Eliahu Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH v2] datapath-windows: Stateless TCP Tunnelling protocol - Initial implementation On Wed, May 27

[ovs-dev] [PATCH v2] datapath-windows: Stateless TCP Tunnelling protocol - Initial implementation

2015-05-27 Thread Eitan Eliahu
This change include an initial implementable of STT. The following should be added: [1] Checksum offload (SW and HW) [2] LSO (SW and HW) [3] IP layer WFP callout for IP segments Testing: link layer connection through ping works. File transfer. Signed-off-by: Eitan Eliahu Co-authored-by: Saurabh

Re: [ovs-dev] [PATCH v2 3/4] netlink: support for asynchronous NL transactions

2015-05-20 Thread Eitan Eliahu
river. It should be fine to block the user mode thread during the WFP transaction processing. Thanks, Eitan -Original Message- From: Nithin Raju Sent: Wednesday, May 20, 2015 11:04 AM To: Eitan Eliahu; Sorin Vinturis; dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH v2 3/4] netlink: su

Re: [ovs-dev] [PATCH] ARP lookup and next hop functionality on windows (updated version)

2015-05-19 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks. Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Tuesday, May 19, 2015 10:02 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] ARP lookup and next hop functionality on windows This patch

Re: [ovs-dev] [PATCH] datapath-windows: Fix warning from the powershell module

2015-05-18 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks Alin. Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Monday, May 04, 2015 9:45 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] datapath-windows: Fix warning from the powershell module This

Re: [ovs-dev] [PATCH] ARP lookup and next hop functionality on windows

2015-05-18 Thread Eitan Eliahu
Hi Alin, It looks good besides some minor comments. Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Monday, May 04, 2015 8:35 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] ARP lookup and next hop functionality on wind

[ovs-dev] [PATCH] datapath-windows: Stateless TCP Tunnelling protocol - Initial implementation

2015-05-07 Thread Eitan Eliahu
This change include an initial implementable of STT. The following should be added: [1] Checksum offload (SW and HW) [2] LSO (SW and HW) [3] IP layer WFP callout for IP segments Testing: link layer connection through ping works. File transfer. Signed-off-by: Eitan Eliahu Co-authored-by: Saurabh

[ovs-dev] [PATCH] datapath-windows: Stateless TCP Tunnelling protocol - Initial implementation

2015-05-07 Thread Eitan Eliahu
This change include an initial implementable of STT. The following should be added: [1] Checksum offload (SW and HW) [2] LSO (SW and HW) [3] IP layer WFP callout for IP segments Testing: link layer connection through ping works. File transfer. Signed-off-by: Eitan Eliahu Co-authored-by: Saurabh

Re: [ovs-dev] [PATCH v4 2/4] Sample to automate build installer

2015-05-07 Thread Eitan Eliahu
Hi Alin, I'm wondering if you addressed the issue of installation on Windows Server 2012. Unless we install the 8.0 driver, the driver load would fail. Thanks, Eitan > Begin forwarded message: > > From: Alin Serdean > To: "dev@openvswitch.org" > Date: April 28, 2015 at 3:36:28 PM PDT > Subject

Re: [ovs-dev] [PATCH v2 1/3] Windows installer

2015-04-29 Thread Eitan Eliahu
6.40 filter will fail to register itself on Windows Server 2012 and will get unloaded. Eitan -Original Message- From: Nithin Raju Sent: Wednesday, April 29, 2015 3:12 PM To: Eitan Eliahu Cc: Alin Serdean; Gurucharan Shetty; dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH v2 1/3

Re: [ovs-dev] [PATCH v3] ovs-hyperv: make kernel return values netlink socket like

2015-04-29 Thread Eitan Eliahu
We will fix the transaction error message copy in the kernel in a separate change. Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Ben Pfaff Sent: Wednesday, April 29, 2015 7:45 AM To: Nithin Raju Cc: dev@openvswitch.org Subject: Re: [ovs-dev]

Re: [ovs-dev] [PATCH v3] ovs-hyperv: make kernel return values netlink socket like

2015-04-29 Thread Eitan Eliahu
Besides that LG. Thanks, Eitan -Original Message- From: Nithin Raju Sent: Wednesday, April 29, 2015 7:38 AM To: Eitan Eliahu Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH v3] ovs-hyperv: make kernel return values netlink socket like Thanks for the review. > On Apr 29, 2

Re: [ovs-dev] [PATCH v3] ovs-hyperv: make kernel return values netlink socket like

2015-04-29 Thread Eitan Eliahu
Hi Nithin, Sorry, I come late on this one, change looks good. We need to check if the IRP output buffer is big enough to fit the transaction message before copying it. Otherwise, we need to return error and break the NetLink connection. Thanks, Eitan -Original Message- From: dev [mail

Re: [ovs-dev] [PATCH] INSTALL.Windows: external.1 should be part of 'br-pif'

2015-04-16 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks Nithin for the prompt fix. Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Nithin Raju Sent: Thursday, April 16, 2015 9:23 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH] INSTALL.Windows: external.1 should be

Re: [ovs-dev] [PATCH v4] netlink-socket: Exit NL transaction loop when EINVAL is returned

2015-04-16 Thread Eitan Eliahu
transactions in the same batch. Thanks you for working on the driver side. I thought I will start to work on it but please go ahead. Eitan -Original Message- From: Nithin Raju Sent: Thursday, April 16, 2015 9:06 AM To: Eitan Eliahu Cc: Sorin Vinturis; dev@openvswitch.org Subject: Re

Re: [ovs-dev] [PATCH v4] netlink-socket: Exit NL transaction loop when EINVAL is returned

2015-04-16 Thread Eitan Eliahu
al Message- From: Sorin Vinturis [mailto:svintu...@cloudbasesolutions.com] Sent: Wednesday, April 15, 2015 9:10 PM To: Nithin Raju; Eitan Eliahu Cc: dev@openvswitch.org Subject: RE: [ovs-dev] [PATCH v4] netlink-socket: Exit NL transaction loop when EINVAL is returned Returning error on driv

Re: [ovs-dev] [PATCH v4] netlink-socket: Exit NL transaction loop when EINVAL is returned

2015-04-15 Thread Eitan Eliahu
LKIiDJAXVeAw-YihVMNtXt-uEs&r=CWsgHUxi6ExLXY798tmo3LJ4e3geGYp56lkcH-5cLCY&m=SoJBySQ9Ab0iZ66kD5oQW1lNQi2mdEyB-hkYI_568PY&s=qlfxf-x6rCbgRjcbZqeI1d7oSV9FpZDsQr1jdgHz_wI&e= Acked-by: Eitan Eliahu Acked-by: Nithin Raju --- lib/netlink-socket.c | 9 + 1 file changed, 9 insertions

Re: [ovs-dev] [PATCH v2 2/2] datapath-windows: Removed assert from FilterNetPnPEvent handler

2015-04-15 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, April 15, 2015 3:42 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH v2 2/2] datapath-windows: Removed assert from FilterNetPnPEvent

Re: [ovs-dev] [PATCH v2 1/2] datapath-windows: Enable extension after rrestart

2015-04-15 Thread Eitan Eliahu
Sorin, As we discussed before we need to communicate an error from the BFE state change callback to the driver. Until we have this code could you please add an assert here: +if (FWPM_SERVICE_RUNNING == bfeState) { +status = OvsTunnelFilterInitialize(driverObject); +if (!NT_SU

Re: [ovs-dev] [PATCH v2] netlink-socket: Exit NL transaction loop when EINVAL is returned

2015-04-15 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks Sorin, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, April 15, 2015 2:31 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH v2] netlink-socket: Exit NL transaction loop when EINVAL

Re: [ovs-dev] [PATCH] netlink-socket: Exit NL transaction loop when EINVAL is returned

2015-04-14 Thread Eitan Eliahu
The DeviceIOControl() error should correspond to a transport error in Linux or to a system error. We need to transfer all transaction failures through the reply buffer (nlmsghdr+nlmsgerr) and return success for the DeviceIOControl(). I am aware that we didn't follow the exact semantics in the

Re: [ovs-dev] [PATCH] netlink-socket: Exit NL transaction loop when EINVAL is returned

2015-04-14 Thread Eitan Eliahu
Yes, some cases where the transaction is completed with an error we need to increase the "done" counter, This case would be different than the case where the transaction didn't go through. Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean

Re: [ovs-dev] [PATCH] datapath-windows: extension fails to be enabled

2015-04-13 Thread Eitan Eliahu
Hi Sorin, I am somewhat confused about this change. Have you concluded that the filter could not be initialized unless a provider is already registered? I am trying to understand the relationships between this change and the change you check in before (also, to address the issue that the BFE had

Re: [ovs-dev] [PATCH v2] datapath-windows: Solved BSOD when uninstalling the driver (race condition)

2015-04-07 Thread Eitan Eliahu
Hi Sorin, This is much better (it is hard to protect on the object using the object itself). Thank you! Eitan Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Friday, April 03, 2015 8:41 AM To

Re: [ovs-dev] [PATCH] datapath-windows: Solved BSOD when uninstalling the driver (race condition)

2015-04-02 Thread Eitan Eliahu
->refCount will generate a memory violation. Also, I think gOvsSwitchContext need to be memory synchronized with a memory barrier. Thanks, Eitan -Original Message- From: Sorin Vinturis [mailto:svintu...@cloudbasesolutions.com] Sent: Thursday, April 02, 2015 3:12 PM To: Eitan Eliahu;

Re: [ovs-dev] [PATCH] datapath-windows: Solved BSOD when uninstalling the driver (race condition)

2015-04-02 Thread Eitan Eliahu
Hi Sorin, Can you please explain how the case where FilterDetach is called on a different core concurrently with the Release and between switchContext is checked for NULL and the swicthContext->refCount is referenced ? (where it is marked >>) It seems that FilterDetach would set gOvsSwit

Re: [ovs-dev] [PATCH 11/11] datapath-windows: Added specific pool tag for vport code

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 11/11] datapath-windows: Added specific pool tag for vport code All memory

Re: [ovs-dev] [PATCH 10/11] datapath-windows: Added specific pool tag for user code

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 10/11] datapath-windows: Added specific pool tag for user code All memory

Re: [ovs-dev] [PATCH 09/11] datapath-windows: Added specific pool tag for switch code

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 09/11] datapath-windows: Added specific pool tag for switch code All memory

Re: [ovs-dev] [PATCH 08/11] datapath-windows: Added specific pool tag for oid code

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 08/11] datapath-windows: Added specific pool tag for oid code All memory

Re: [ovs-dev] [PATCH 07/11] datapath-windows: Added specific pool tag for iphelper code

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 07/11] datapath-windows: Added specific pool tag for iphelper code All memory

Re: [ovs-dev] [PATCH 06/11] datapath-windows: Added specific pool tag for vxlan code

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 06/11] datapath-windows: Added specific pool tag for vxlan code All memory

Re: [ovs-dev] [PATCH 05/11] datapath-windows: Added specific pool tag for flow code

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 05/11] datapath-windows: Added specific pool tag for flow code All memory

Re: [ovs-dev] [PATCH 04/11] datapath-windows: Added specific pool tag for event code

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 04/11] datapath-windows: Added specific pool tag for event code All memory

Re: [ovs-dev] [PATCH 02/11] datapath-windows: Added specific pool tag for datapath code

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 02/11] datapath-windows: Added specific pool tag for datapath code All memory

Re: [ovs-dev] [PATCH 03/11] datapath-windows: Added specific pool tag for buffermgmt code

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 03/11] datapath-windows: Added specific pool tag for buffermgmt code All MDL

Re: [ovs-dev] [PATCH 0/11] datapath-windows: Created multiple tags for memory pools

2015-03-26 Thread Eitan Eliahu
Just fyi, memory leaks can be detected when Verifier is installed. The system would Bugcheck and the stack could be examined. But, it is still useful to have different tags for different memory allocations. Thanks Sorin. Eitan -Original Message- From: dev [mailto:dev-boun...@openvswit

Re: [ovs-dev] [PATCH 01/11] datapath-windows: Support for allocating/releasing memory with tag

2015-03-26 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Wednesday, March 25, 2015 1:14 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 01/11] datapath-windows: Support for allocating/releasing memory with tag

Re: [ovs-dev] [PATCH] datapath-windows: Updated WFP system provider handling

2015-03-24 Thread Eitan Eliahu
I'm fine with this change. Thanks Ben and Sorin. Eitan -Original Message- From: Ben Pfaff [mailto:b...@nicira.com] Sent: Tuesday, March 24, 2015 10:01 AM To: Eitan Eliahu Cc: Sorin Vinturis; dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH] datapath-windows: Updated WFP system pro

Re: [ovs-dev] [PATCH] datapath-windows: Updated WFP system provider handling

2015-03-24 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks Sorin. Eitan -Original Message- From: Sorin Vinturis [mailto:svintu...@cloudbasesolutions.com] Sent: Tuesday, March 24, 2015 12:29 AM To: Eitan Eliahu Cc: dev@openvswitch.org Subject: RE: [ovs-dev] [PATCH] datapath-windows: Updated WFP system provider

Re: [ovs-dev] [PATCH] datapath-windows: Updated WFP system provider handling

2015-03-23 Thread Eitan Eliahu
:40 PM To: Sorin Vinturis; Eitan Eliahu Cc: dev@openvswitch.org Subject: RE: [ovs-dev] [PATCH] datapath-windows: Updated WFP system provider handling As I explained in the patch description, I have added this change because, at driver initialization phase, the system provider failed to be added due

Re: [ovs-dev] [PATCH] datapath-windows: Updated WFP system provider handling

2015-03-23 Thread Eitan Eliahu
ext ! OvsTunnelEngineOpen(&handle); How do you prevent it? Also, can you please explain which issue you ran into which triggered this change? Thank you, Eitan -Original Message- From: Sorin Vinturis [mailto:svintu...@cloudbasesolutions.com] Sent: Monday, March 23, 2015 1:37 AM To: Eitan Eliahu

Re: [ovs-dev] [PATCH] datapath-windows: Updated WFP system provider handling

2015-03-22 Thread Eitan Eliahu
Hi Sorin, Thank you for posting this change. Here are few comments: [1] Please call OvsTunnelEngineClose(&handle) only if the handle is not zero. (you might want to add an assertion if it zero). [2] I'm somewhat confused about the registration for engine state change. As I understand you check t

Re: [ovs-dev] [PATCH] INSTALL.Windows.md: Mention the easy way to get into bash.

2015-03-17 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Gurucharan Shetty Sent: Tuesday, March 17, 2015 3:31 PM To: dev@openvswitch.org Cc: Gurucharan Shetty; Hemanth Kumar Mantri Subject: [ovs-dev] [PATCH] INSTALL.Windows.md

Re: [ovs-dev] OVS Windows MSI installer

2015-03-17 Thread Eitan Eliahu
I don't have a strong opinion but once the installer is included in the OVS tree all directory structure is fixed so there is no ambiguity on how or where the installer collects the files. It will also avoid having more than one copy of the same file. It would be nice also if the installer an

Re: [ovs-dev] OVS Windows MSI installer

2015-03-17 Thread Eitan Eliahu
I think we can drop 32bit support once the 64bit is there. Thanks! Eitan -Original Message- From: Nithin Raju Sent: Monday, March 16, 2015 11:10 PM To: Alessandro Pilotti Cc: Eitan Eliahu; dev@openvswitch.org Subject: Re: [ovs-dev] OVS Windows MSI installer > On Mar 15, 2015, at 7

Re: [ovs-dev] [PATCH 3/3] netlink: support for asynchronous NL transactions

2015-03-16 Thread Eitan Eliahu
Hi Sorin, It would be probably better to make this call synchronous as the thread has nothing else to do. The WFP transaction in the driver is guaranteed to being completed so we should be ok here. Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf

Re: [ovs-dev] [PATCH v2 2/3] datapath-windows: Support for multiple VXLAN tunnels

2015-03-16 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Sorin Vinturis Sent: Thursday, March 12, 2015 5:43 PM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH v2 2/3] datapath-windows: Support for multiple VXLAN tunnels At

Re: [ovs-dev] OVS Windows MSI installer

2015-03-15 Thread Eitan Eliahu
Alessandro, How the MSI solution find files from the OVS build that need to be included? Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Eitan Eliahu Sent: Sunday, March 15, 2015 6:30 PM To: Alessandro Pilotti Cc: dev@openvswitch.org Subject

Re: [ovs-dev] OVS Windows MSI installer

2015-03-15 Thread Eitan Eliahu
(x86 and x86-64)? Thanks, Eitan -Original Message- From: Alessandro Pilotti [mailto:apilo...@cloudbasesolutions.com] Sent: Sunday, March 15, 2015 6:11 PM To: Eitan Eliahu Cc: dev@openvswitch.org Subject: Re: OVS Windows MSI installer Hi Eitan, > On 16 Mar 2015, at 02:57, Eitan Eli

Re: [ovs-dev] OVS Windows MSI installer

2015-03-15 Thread Eitan Eliahu
Hi Alessandro, I couldn't find the driver binary as part of the installer. Also, can you explain how uninstlaation is done and the case where a driver is already loaded. Thank you! Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alessandro Pilotti Sen

Re: [ovs-dev] [PATCH] datapath-windows: Support for custom VXLAN tunnel port

2015-02-13 Thread Eitan Eliahu
Hi Ben, Sorin plans to address some issues once he is back. Thanks, Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Eitan Eliahu Sent: Wednesday, January 07, 2015 1:16 PM To: Sorin Vinturis; dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH] datapath

Re: [ovs-dev] [PATCH v2] tests: Enable running parallel unit tests for Windows.

2015-02-12 Thread Eitan Eliahu
Thanks! Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Gurucharan Shetty Sent: Wednesday, February 11, 2015 6:00 PM To: dev@openvswitch.org Cc: Gurucharan Shetty Subject: [ovs-dev] [PATCH v2] tests: Enable running parallel unit

Re: [ovs-dev] [PATCH] appveyor: Build windows kernel datapath.

2015-02-06 Thread Eitan Eliahu
Eitan -Original Message- From: Gurucharan Shetty [mailto:shet...@nicira.com] Sent: Friday, February 06, 2015 7:39 AM To: Eitan Eliahu Cc: Nithin Raju; dev@openvswitch.org; Gurucharan Shetty Subject: Re: [ovs-dev] [PATCH] appveyor: Build windows kernel datapath. > Would be nice to have a

Re: [ovs-dev] [PATCH] appveyor: Build windows kernel datapath.

2015-02-05 Thread Eitan Eliahu
Would be nice to have an option for Release or debug build. User mode code too. -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Nithin Raju Sent: Thursday, February 05, 2015 10:39 PM To: Gurucharan Shetty Cc: dev@openvswitch.org; Gurucharan Shetty Subject: Re

Re: [ovs-dev] [PATCH 2/2] appveyor: Provide a autobuild service for Windows.

2015-02-05 Thread Eitan Eliahu
Looks like user mode does not use pre-compiled headers, but the driver does. -Original Message- From: Eitan Eliahu Sent: Thursday, February 05, 2015 1:39 PM To: 'Gurucharan Shetty'; Ben Pfaff Cc: dev; Gurucharan Shetty Subject: RE: [ovs-dev] [PATCH 2/2] appveyor: Provide a

Re: [ovs-dev] [PATCH 2/2] appveyor: Provide a autobuild service for Windows.

2015-02-05 Thread Eitan Eliahu
Testing on a single CPU machine is problematic (even if it would have run fast), but the build itself has its own advantage. The driver build should be much quicker. Do we use precompiled header option? https://msdn.microsoft.com/en-us/library/2yzw0wyd.aspx Thanks, Eitan -Original Message-

Re: [ovs-dev] [PATCH] datapath-windows: accommodate to UFID changes

2015-02-03 Thread Eitan Eliahu
Alin, looks good only minor thing : +rc = STATUS_SUCCESS Is redundant Thanks, Eitan Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Alin Serdean Sent: Tuesday, February 03, 2015 11:25 AM To: dev@openvswitch.org Subject

Re: [ovs-dev] [PATCH v2] datapath-windows: Support for custom VXLAN tunnel port

2015-01-26 Thread Eitan Eliahu
transaction fails but we might just fail the transaction. I think once we have the IOCTL synced we can go ahead with this challenging change. Eitan -Original Message- From: Eitan Eliahu Sent: Tuesday, January 20, 2015 9:07 AM To: 'Sorin Vinturis' Subject: RE: [ovs-dev] [PATCH v2

Re: [ovs-dev] [PATCH v2] datapath-windows: Support for custom VXLAN tunnel port

2015-01-16 Thread Eitan Eliahu
Hi Sorin, Thank you for addressing the issues, specifically, executing the engine from a thread running in lower IRQL. Can you please add some comments on the testing you performed? Where you able to shortcut the fast path and to open the VXLAN UDP port in user mode so packets will go through t

Re: [ovs-dev] OVN architecture

2015-01-15 Thread Eitan Eliahu
...@nicira.com] Sent: Thursday, January 15, 2015 9:07 AM To: Eitan Eliahu Cc: Thomas Graf; dev; YAMAMOTO Takashi Subject: Re: [ovs-dev] OVN architecture On Thu, Jan 15, 2015 at 8:55 AM, Eitan Eliahu wrote: > Shared libraries on Windows could be implemented as DLLs (Dynamic Link > Libraries) wit

Re: [ovs-dev] OVN architecture

2015-01-15 Thread Eitan Eliahu
Shared libraries on Windows could be implemented as DLLs (Dynamic Link Libraries) with some custom support for versioning. This means also that updates of new versions of the DLLs should controlled by a custom installer. -Original Message- From: dev [mailto:dev-boun...@openvswitch.org]

Re: [ovs-dev] [PATCH] datapath-windows: Support for custom VXLAN tunnel port

2015-01-07 Thread Eitan Eliahu
t fails on with FWP_E_TXN_IN_PROGRESS. Thank you, Eitan -Original Message- From: Sorin Vinturis [mailto:svintu...@cloudbasesolutions.com] Sent: Wednesday, January 07, 2015 11:59 AM To: Eitan Eliahu; dev@openvswitch.org Subject: RE: [ovs-dev] [PATCH] datapath-windows: Support for custom VXLAN tunnel por

Re: [ovs-dev] [PATCH] datapath-windows: Support for custom VXLAN tunnel port

2015-01-07 Thread Eitan Eliahu
Hi Sorin, thank you for working on this. Do you thing the default port filter had to be created during initialization ? On another thing, since OvsTunnelAddFilterEx is called with IRQL = PASSIVE and no lock is handled it may be called from multiple thread contexts. I am not sure if opening. Clo

Re: [ovs-dev] [PATCH 2/2] datapath-windows: return bool from NlFillOvs[Msg/Hdr]

2014-12-09 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks for addressing my comment. Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Nithin Raju Sent: Monday, December 08, 2014 9:43 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 2/2] datapath-windows: return bool from

Re: [ovs-dev] [PATCH 1/2] datapath-windows: refactor BuildReplyMsgFromMsgIn & BuildErrorMsg

2014-12-09 Thread Eitan Eliahu
Acked-by: Eitan Eliahu Thanks! Eitan -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Nithin Raju Sent: Monday, December 08, 2014 9:43 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 1/2] datapath-windows: refactor BuildReplyMsgFromMsgIn

Re: [ovs-dev] [PATCH 3/3] datapath-windows: refactor BuildReplyMsgFromMsgIn & BuildErrorMsg

2014-12-03 Thread Eitan Eliahu
Hi Nithin, It may be out of the scope of this change but for consistency reason all NL function should return BOOLEAN rather than NTSTATUS. This should apply NlFillOvsMsg() and NlFillNlHdr() too. BOOLEAN ok; +ok = NlFillOvsMsg(&nlBuffer, msgIn->nlMsg.nlmsgType, NLM_F_MULTI, But the func

Re: [ovs-dev] [PATCH 2/3] datapath-windows: nuke unused code in Flow.c

2014-12-03 Thread Eitan Eliahu
Acked-by: Eitan Eliahu -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Nithin Raju Sent: Wednesday, December 03, 2014 7:56 AM To: dev@openvswitch.org Subject: [ovs-dev] [PATCH 2/3] datapath-windows: nuke unused code in Flow.c Signed-off-by: Nithin Raju

  1   2   3   4   >