Re: [ovs-dev] [PATCH] Add build of ovsext.sln using MSBuild

2014-08-27 Thread Alin Serdean
Hi Saurabh, At the end of the day today. Was on short PTO last week. Alin. -Mesaj original- De la: Saurabh Shah [mailto:ssaur...@vmware.com] Trimis: Wednesday, August 27, 2014 2:46 AM Către: Alin Serdean; dev@openvswitch.org Subiect: Re: [ovs-dev] [PATCH] Add build of ovsext.sln using

Re: [ovs-dev] [PATCH] Rename files under datapath-windows

2014-08-27 Thread Alin Serdean
Hi Saurabh, Could you please try to do the autoreconf again. ./boot.sh ./configure Thanks. -Mesaj original- De la: Saurabh Shah [mailto:ssaur...@vmware.com] Trimis: Wednesday, August 27, 2014 3:01 AM Către: Samuel Ghinet; dev@openvswitch.org Cc: Alin Serdean; Nithin Raju Subiect: RE

Re: [ovs-dev] [PATCH] Add build of ovsext.sln using MSBuild

2014-08-27 Thread Alin Serdean
Hi Eithan, Yes. Also Win8 or Win8.1 I still to format it accordingly and will send out the patch. Alin. -Mesaj original- De la: Eitan Eliahu [mailto:elia...@vmware.com] Trimis: Wednesday, August 27, 2014 5:40 PM Către: Alin Serdean; Saurabh Shah; dev@openvswitch.org Subiect: RE: [ovs

Re: [ovs-dev] [PATCH] Add build of ovsext.sln using MSBuild

2014-08-27 Thread Alin Serdean
Hi Eithan, Will add them anyway for the moment. Alin. -Mesaj original- De la: Eitan Eliahu [mailto:elia...@vmware.com] Trimis: Wednesday, August 27, 2014 6:08 PM Către: Alin Serdean; Saurabh Shah; dev@openvswitch.org Subiect: RE: [ovs-dev] [PATCH] Add build of ovsext.sln using MSBuild

Re: [ovs-dev] [PATCH] Rename files under datapath-windows

2014-08-27 Thread Alin Serdean
You need to commit the patch also. It needs to do the diff between git ls-files and the actual files. -Mesaj original- De la: Saurabh Shah [mailto:ssaur...@vmware.com] Trimis: Wednesday, August 27, 2014 6:59 PM Către: Alin Serdean; Samuel Ghinet; dev@openvswitch.org Cc: Nithin Raju

[ovs-dev] [PATCH] Add build of ovsext.sln using MSBuild

2014-08-28 Thread Alin Serdean
This commit adds to the automake build system the full build required by the forwarding extension solution. It will help a lot in the future CI to check the full build of the project. To configure the forwarding extension to be built one could use the following: ./configure CC=./build-aux/cccl

Re: [ovs-dev] [PATCH 3/4] Changes needed to compile dpif-linux.c with MSVC

2014-08-28 Thread Alin Serdean
Hi, Will send the patch until the end of the day. Alin. -Mesaj original- De la: Saurabh Shah [mailto:ssaur...@vmware.com] Trimis: Thursday, August 28, 2014 9:31 PM Către: Alin Serdean; dev@openvswitch.org; Ben Pfaff Subiect: Re: [ovs-dev] [PATCH 3/4] Changes needed to compile dpif

[ovs-dev] [PATCHv2] Changes needed to compile dpif-linux.c with MSVC

2014-08-28 Thread Alin Serdean
Rename dpif_linux - dpif_netlink the actual file can be renamed as well in the future. Bypass all epoll functionality. Treat dpif_netlink_recv__ with lazy polling using GetOverlappedResult with the newly added overlapped structure in netlink.c Initialize dpif_netlink_class on MSVC as well and

Re: [ovs-dev] [PATCHv2] Changes needed to compile dpif-linux.c with MSVC

2014-08-29 Thread Alin Serdean
Hi Eitan, I think we could use the same design. I can respin the patch on Monday if you can wait. Alin. De la: Eitan Eliahu [mailto:elia...@vmware.com] Trimis: Friday, August 29, 2014 6:30 AM Către: Alin Serdean; dev@openvswitch.org; Nithin Raju; Saurabh Shah Subiect: RE: [ovs-dev] [PATCHv2

[ovs-dev] [PATCH] Broken build on MSVC

2014-09-01 Thread Alin Serdean
MSVC does not like variable length array either. This patch treats the following error: lib/dpif-netdev.c(2272) : error C2057: expected constant expression lib/dpif-netdev.c(2272) : error C2466: cannot allocate an array of constant size 0 lib/dpif-netdev.c(2272) : error C2133: 'batches' :

Re: [ovs-dev] [PATCH 1/5] datapath-windows/Netlink: Move netlink files to a new directory.

2014-09-03 Thread Alin Serdean
Hi Ankur, Just a small nit I you use git format-patch could you also add the -M option? Thank you, Alin. -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Wednesday, September 3, 2014 4:04 AM Către: dev@openvswitch.org Subiect: [ovs-dev]

Re: [ovs-dev] [PATCH 1/5] datapath-windows/Netlink: Move netlink files to a new directory.

2014-09-03 Thread Alin Serdean
Please. I will look over the other patches after the meeting :). Alin. -Mesaj original- De la: Ankur Sharma [mailto:ankursha...@vmware.com] Trimis: Wednesday, September 3, 2014 7:34 PM Către: Alin Serdean; dev@openvswitch.org Subiect: RE: [ovs-dev] [PATCH 1/5] datapath-windows/Netlink

Re: [ovs-dev] [PATCH 5/5] Netlink.c: Added netlink put APIs.

2014-09-03 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserdean at cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Tuesday, September 2, 2014 6:05 PM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH 5/5] Netlink.c: Added netlink put APIs.

Re: [ovs-dev] [PATCH 4/5] OvsTypes.h : Added support for BE16

2014-09-03 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserdean at cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Tuesday, September 2, 2014 6:05 PM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH 4/5] OvsTypes.h : Added support for

Re: [ovs-dev] [PATCH 3/5] NetlinkProto.h: Minor fix for typos and new macro for padding.

2014-09-03 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserdean at cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Tuesday, September 2, 2014 6:05 PM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH 3/5] NetlinkProto.h: Minor fix for

Re: [ovs-dev] [PATCH 2/5] NetlinkBuf.c: Netlink buffer mgmt apis.

2014-09-03 Thread Alin Serdean
Maybe just rename NL_BUF with NL_BUFFER otherwise I am fine with the patch. Acked-by: Alin Gabriel Serdean aserdean at cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Tuesday, September 2, 2014 6:05 PM Către:

Re: [ovs-dev] [PATCH 1/5] datapath-windows/Netlink: Move netlink files to a new directory.

2014-09-03 Thread Alin Serdean
Sure be my guest :). -Mesaj original- De la: Ankur Sharma [mailto:ankursha...@vmware.com] Trimis: Wednesday, September 3, 2014 1:14 PM Către: Alin Serdean; dev@openvswitch.org Subiect: RE: [ovs-dev] [PATCH 1/5] datapath-windows/Netlink: Move netlink files to a new directory. Hi Alin

Re: [ovs-dev] [PATCH v1] Windows NetLink Socket - Support for asynchronous event notification

2014-09-05 Thread Alin Serdean
Hi Eitan, #else sock-fd = socket(AF_NETLINK, SOCK_RAW, protocol); if (sock-fd 0) { +int last_error = GetLastError(); The above breaks linux build. You could leave last_error outside and use it wherever appropriate. #define OVS_DEVICE_NAME_NT L\\Device\\OpenvSwitchDevice

Re: [ovs-dev] [PATCH v2] Windows NetLink Socket - Support for asynchronous event notification

2014-09-05 Thread Alin Serdean
Hi Eitan Beside some style issue in: +#ifdef _WIN32 +/* Pend an I/O request in the driver. The driver completes the I/O whenever +* an event or a packet is ready to be read. Once the I/O is completed +* the overlapped structure event associated with the pending I/O will be set +*/ Acked-by: Alin

Re: [ovs-dev] [PATCH v2] datapath-windows: update CodingStyle guideline for variable names

2014-09-09 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Nithin Raju Trimis: Tuesday, September 9, 2014 9:03 AM Către: dev@openvswitch.org; Samuel Ghinet Subiect: [ovs-dev] [PATCH v2] datapath-windows: update

Re: [ovs-dev] [PATCH v1] Netlink_socket.c Join/Unjoin an MC group for event subscription

2014-09-10 Thread Alin Serdean
Hi Eitan, Trailing whitespace: + OVS_CTRL_CMD_MC_SUBSCRIBE_REQ, +static int __inline And could not apply patch because +/* NL Attributes for joining/unjoining an MC group */ enum +ovs_nl_mcast_attr { +OVS_NL_ATTR_MCAST_GRP, /* Join an MC group */ +

Re: [ovs-dev] [PATCH 2/3] hash.h: Avoid compiler warnings with MSVC.

2014-09-10 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Gurucharan Shetty Trimis: Wednesday, September 10, 2014 10:56 PM Către: dev@openvswitch.org Cc: Gurucharan Shetty Subiect: [ovs-dev] [PATCH 2/3]

Re: [ovs-dev] [PATCH 3/3] Avoid uninitialized variable warnings with OBJECT_OFFSETOF() in MSVC.

2014-09-10 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Thanks for removing a lot warnings. Alin. -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Gurucharan Shetty Trimis: Wednesday, September 10, 2014 10:56 PM Către: dev@openvswitch.org Cc: Gurucharan

Re: [ovs-dev] [PATCH 1/3] ovs-ofctl: Workaround a compiler warning on MSVC.

2014-09-10 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Gurucharan Shetty Trimis: Wednesday, September 10, 2014 10:56 PM Către: dev@openvswitch.org Cc: Gurucharan Shetty Subiect: [ovs-dev] [PATCH 1/3]

Re: [ovs-dev] [PATCH] netlink-socket: Convert from error number to string correctly.

2014-09-10 Thread Alin Serdean
Sorry I missed this one. Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: Gurucharan Shetty [mailto:shet...@nicira.com] Trimis: Tuesday, September 9, 2014 10:39 PM Către: dev@openvswitch.org Cc: Alin Serdean; Eitan Eliahu; Gurucharan Shetty Subiect

Re: [ovs-dev] [PATCH v2 4/5] Changes needed to netlink-socket for MSVC

2014-09-10 Thread Alin Serdean
Hi Guru, You are right probably either use WaitForMultipleObjects or add wrapper functionality for it. Alin. -Mesaj original- De la: Gurucharan Shetty [mailto:shet...@nicira.com] Trimis: Tuesday, September 9, 2014 11:28 PM Către: Alin Serdean Cc: dev@openvswitch.org Subiect: Re: [ovs

Re: [ovs-dev] [PATCH 3/3] Avoid uninitialized variable warnings with OBJECT_OFFSETOF() in MSVC.

2014-09-11 Thread Alin Serdean
Hi Eitan, I think putting in pragmas to disable warnings is a bit over our hand. Either we just disable them in a common include header or we leave them and actually fix the warnings. Alin. -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Eitan Eliahu Trimis:

Re: [ovs-dev] [PATCH v3] Netlink_socket.c Join/Unjoin an MC group for event subscription

2014-09-11 Thread Alin Serdean
Hi Eitan, Still cannot get the patch to apply: $ git apply patch1 error: patch failed: datapath-windows/include/OvsDpInterfaceExt.h:70 error: datapath-windows/include/OvsDpInterfaceExt.h: patch does not apply This part: @@ -70,6 +70,14 @@ /* Commands available under the OVS_WIN_CONTROL_FAMILY.

Re: [ovs-dev] [PATCH 3/3] Avoid uninitialized variable warnings with OBJECT_OFFSETOF() in MSVC.

2014-09-11 Thread Alin Serdean
: Alin Serdean; Gurucharan Shetty; dev@openvswitch.org Cc: Gurucharan Shetty Subiect: RE: [ovs-dev] [PATCH 3/3] Avoid uninitialized variable warnings with OBJECT_OFFSETOF() in MSVC. Hi Alin, I would prefer to disable the warning in a very limited scope rather than disabling them across all source

Re: [ovs-dev] [PATCH v4 2/2] datapath-windows/Netlink: Nested attributes put/parse.

2014-09-11 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Thursday, September 11, 2014 3:36 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v4 2/2] datapath-windows/Netlink: Nested

Re: [ovs-dev] [PATCH v4 1/2] datapath-windows/NetlinkBuf.h: Added NlBufSize

2014-09-11 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Thursday, September 11, 2014 3:36 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v4 1/2] datapath-windows/NetlinkBuf.h:

Re: [ovs-dev] [PATCH v5] Netlink_socket.c Join/Unjoin an MC group for event subscription

2014-09-11 Thread Alin Serdean
+1 :) -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Eitan Eliahu Trimis: Thursday, September 11, 2014 8:01 PM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v5] Netlink_socket.c Join/Unjoin an MC group for event subscription Use a specific out of band

[ovs-dev] [PATCH] Changes needed for dpif-linux to compile under MSVC

2014-09-17 Thread Alin Serdean
The patch contains the necessary modifications to compile and also to run under MSVC. Added the files to the build system and also changed dpif_linux to be under a more generic name dpif_windows. Added a TODO under the windows part in case we want to implement another counterpart for epoll

Re: [ovs-dev] [PATCH] Changes needed for dpif-linux to compile under MSVC

2014-09-17 Thread Alin Serdean
I can change the filename after the patch gets merged no problem :). Thank you, Alin. -Mesaj original- De la: Ben Pfaff [mailto:b...@nicira.com] Trimis: Wednesday, September 17, 2014 11:38 PM Către: Eitan Eliahu Cc: Alin Serdean; Nithin Raju; dev@openvswitch.org Subiect: Re: [ovs-dev

Re: [ovs-dev] [PATCH] Changes needed for dpif-linux to compile under MSVC

2014-09-17 Thread Alin Serdean
Did a full clone-autoreconf-make-make check under Linux did not see any issues. Alin. -Mesaj original- De la: Eitan Eliahu [mailto:elia...@vmware.com] Trimis: Wednesday, September 17, 2014 1:47 PM Către: Ben Pfaff Cc: Alin Serdean; Nithin Raju; dev@openvswitch.org Subiect: RE: [ovs-dev

Re: [ovs-dev] [PATCH] Changes needed for dpif-linux to compile under MSVC

2014-09-17 Thread Alin Serdean
I will rebase and also the filename change in V2. -Mesaj original- De la: Ben Pfaff [mailto:b...@nicira.com] Trimis: Wednesday, September 17, 2014 2:06 PM Către: Alin Serdean Cc: Eitan Eliahu; 'Nithin Raju'; dev@openvswitch.org Subiect: Re: [ovs-dev] [PATCH] Changes needed for dpif-linux

Re: [ovs-dev] [PATCH] Changes needed for dpif-linux to compile under MSVC

2014-09-17 Thread Alin Serdean
original- De la: Nithin Raju [mailto:nit...@vmware.com] Trimis: Wednesday, September 17, 2014 3:16 PM Către: Alin Serdean Cc: Eitan Eliahu; Ben Pfaff; dev@openvswitch.org Subiect: Re: [ovs-dev] [PATCH] Changes needed for dpif-linux to compile under MSVC On Sep 17, 2014, at 1:11 PM, Alin

Re: [ovs-dev] [PATCH] Changes needed for dpif-linux to compile under MSVC

2014-09-17 Thread Alin Serdean
Ok will update it to dpif_netlink_vport*. -Mesaj original- De la: Ben Pfaff [mailto:b...@nicira.com] Trimis: Wednesday, September 17, 2014 3:37 PM Către: Alin Serdean Cc: Nithin Raju; Eitan Eliahu; dev@openvswitch.org Subiect: Re: [ovs-dev] [PATCH] Changes needed for dpif-linux

[ovs-dev] (no subject)

2014-09-17 Thread Alin Serdean
Unfortunately there some special characters in dpif-linux.c that do not allow me to send the patch normally. Trying via attachment. Short description: The patch contains the necessary modifications to compile and also to run under MSVC. Added the files to the build system and also changed

Re: [ovs-dev] [PATCH v2] datapath-windows: fix OVS_VPORT_TYPE

2014-09-23 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: Samuel Ghinet Trimis: Tuesday, September 23, 2014 3:46 PM Către: dev@openvswitch.org Cc: nit...@vmware.com; Ankur Sharma; ssaur...@vmware.com; Alin Serdean; elia...@vmware.com Subiect: [PATCH v2

Re: [ovs-dev] [PATCH v3] datapath-windows: Netlink command: vport dump

2014-09-24 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: Samuel Ghinet Trimis: Wednesday, September 24, 2014 5:01 PM Către: dev@openvswitch.org Cc: Alin Serdean; nit...@vmware.com; ssaur...@vmware.com; elia...@vmware.com; Ankur Sharma; kg...@vmware.com

Re: [ovs-dev] [PATCH 1/3] datapath-windows: Add file NetlinkError.h

2014-09-24 Thread Alin Serdean
Some minor formatting issues. Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: Samuel Ghinet Trimis: Wednesday, September 24, 2014 6:41 PM Către: dev@openvswitch.org Cc: Alin Serdean; elia...@vmware.com; nit...@vmware.com; ssaur...@vmware.com

Re: [ovs-dev] [PATCH] datapath-windows Event read handler

2014-09-24 Thread Alin Serdean
Hi Eitan, 1. Git apply whitespaces $ git apply ovs-dev-datapath-windows-Event-read-handler.patch ovs-dev-datapath-windows-Event-read-handler.patch:108: trailing whitespace. * Utility function to fill up information about the state of a port in a reply

Re: [ovs-dev] [PATCH v1 02/10] datapath-windows/Netlink: Add NlFillOvsMsg API for creating Netlink message headers.

2014-09-24 Thread Alin Serdean
Hi Ankur, As Eitan was mentioning drop: nlMsg-nlmsgLen = NLMSG_ALIGN(NlBufSize(nlBuf)); I see you declaring the following structure but never used: /* Structure to hold arguments needed by NlFillOvsMsg */ typedef struct _NL_FILL_ARGS { UINT16 nlmsgType; UINT8 genlCmd; UINT8

Re: [ovs-dev] [PATCH v1 03/10] datapath-windows/Netlink: Added NlAttrLen API

2014-09-24 Thread Alin Serdean
Think it would be a good idea to inline the functions. Also maybe add asserts to nla. Alin. -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Wednesday, September 24, 2014 10:16 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v1

Re: [ovs-dev] [PATCH v1 03/10] datapath-windows/Netlink: Added NlAttrLen API

2014-09-24 Thread Alin Serdean
Maybe drop ret because it is confusing. return TRUE; //goto done; ... return TRUE; done: return FALSE; -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Wednesday, September 24, 2014 10:16 AM Către: dev@openvswitch.org

Re: [ovs-dev] [PATCH v1 03/10] datapath-windows/Netlink: Added NlAttrLen API

2014-09-24 Thread Alin Serdean
Sounds good to me. Alin. -Mesaj original- De la: Ankur Sharma [mailto:ankursha...@vmware.com] Trimis: Thursday, September 25, 2014 4:24 AM Către: Alin Serdean; dev@openvswitch.org Subiect: RE: [ovs-dev] [PATCH v1 03/10] datapath-windows/Netlink: Added NlAttrLen API Hi Alin, Yes Eitan

Re: [ovs-dev] [PATCH v1 05/10] datapath-windows/Netlink: Fixed NlAttrParseNested

2014-09-24 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Wednesday, September 24, 2014 10:16 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v1 05/10] datapath-windows/Netlink:

Re: [ovs-dev] [PATCH v1 06/10] datapath-windows/Flow.c : Basic support for add-flow.

2014-09-24 Thread Alin Serdean
$ git apply ovs-dev-v1-06-10-datapath-windows-Flow.c-Basic-support-for-add-flow..patch ovs-dev-v1-06-10-datapath-windows-Flow.c-Basic-support-for-add-flow..patch:12: trailing whitespace. { .cmd = OVS_FLOW_CMD_NEW, warning: 1 line adds whitespace errors. Acked-by: Alin Gabriel

Re: [ovs-dev] [PATCH v1 07/10] datapath-windows/Flow.c: FLOW_NEW command handler.

2014-09-24 Thread Alin Serdean
In OvsFlowNlNewCmdHandler you could drop the following commented lines: NTSTATUS rc = STATUS_SUCCESS; POVS_MESSAGE msgIn = (POVS_MESSAGE)usrParamsCtx-inputBuffer; POVS_MESSAGE msgOut = (POVS_MESSAGE)usrParamsCtx-outputBuffer; PNL_MSG_HDR nlMsgHdr = (msgIn-nlMsg); PGENL_MSG_HDR

Re: [ovs-dev] [PATCH v1 08/10] datapath-windows/Flow.c: FLOW_SET command handler.

2014-09-24 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Wednesday, September 24, 2014 10:16 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v1 08/10] datapath-windows/Flow.c:

Re: [ovs-dev] [PATCH v1 09/10] datapath-windows/Flow.c: FLOW_DEL command handler.

2014-09-24 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Wednesday, September 24, 2014 10:16 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v1 09/10] datapath-windows/Flow.c:

Re: [ovs-dev] [PATCH v1 10/10] datapath-windows/Flow.c: DEL_FLOWS command handler.

2014-09-24 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Wednesday, September 24, 2014 10:16 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v1 10/10] datapath-windows/Flow.c:

Re: [ovs-dev] [PATCH v1 10/10] datapath-windows/Flow.c: DEL_FLOWS command handler.

2014-09-24 Thread Alin Serdean
Just forgot the following: $ git apply ovs-dev-v1-10-10-datapath-windows-Flow.c-DEL_FLOWS-command-handler..patch ovs-dev-v1-10-10-datapath-windows-Flow.c-DEL_FLOWS-command-handler..patch:20: trailing whitespace. if ((genlMsgHdr-cmd == OVS_FLOW_CMD_DEL) warning: 1 line adds whitespace

Re: [ovs-dev] [PATCH] datapath-windows: Missed packets are not queued.

2014-09-24 Thread Alin Serdean
Tested-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: Sorin Vinturis Trimis: Wednesday, September 24, 2014 12:43 PM Către: dev@openvswitch.org Cc: Alin Serdean; nit...@vmware.com; Sorin

Re: [ovs-dev] [PATCH v3] Handle NBLs with multiple NBs

2014-09-24 Thread Alin Serdean
Tested-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: Samuel Ghinet Trimis: Thursday, September 25, 2014 2:44 AM Către: dev@openvswitch.org Cc: Alin Serdean; nit...@vmware.com; elia

Re: [ovs-dev] [PATCH v1] datapath-windows Event read handler

2014-09-24 Thread Alin Serdean
1. ovs-dev-v1-datapath-windows-Event-read-handler.patch:12: new blank line at EOF. + warning: 1 line adds whitespace errors. 2. OvsPostEvent adds elements to the queue can you please find a similar name for OvsRemoveEventEntry 3. Really don't like that we have to push in: +#pragma warning(

Re: [ovs-dev] [PATCH v1] datapath-windows Event read handler

2014-09-24 Thread Alin Serdean
-Mesaj original- De la: Eitan Eliahu [mailto:elia...@vmware.com] Trimis: Thursday, September 25, 2014 7:48 AM Către: Alin Serdean; dev@openvswitch.org Subiect: RE: [ovs-dev] [PATCH v1] datapath-windows Event read handler Alin, this warning is used to warn about constant in a condition

Re: [ovs-dev] [PATCH v1] datapath-windows Event read handler

2014-09-24 Thread Alin Serdean
It was not guarded until now so was wondering why guard it now :), unless that you want to use this as a mark for later on. Alin. De la: Eitan Eliahu [mailto:elia...@vmware.com] Trimis: Thursday, September 25, 2014 8:34 AM Către: Alin Serdean; dev@openvswitch.org Subiect: RE: [ovs-dev] [PATCH

Re: [ovs-dev] [PATCH v1] datapath-windows Event read handler

2014-09-24 Thread Alin Serdean
None what so ever. Was just wondering if there was a hidden meaning to it that I missed :). Alin. De la: Eitan Eliahu [mailto:elia...@vmware.com] Trimis: Thursday, September 25, 2014 8:41 AM Către: Alin Serdean; dev@openvswitch.org Subiect: RE: [ovs-dev] [PATCH v1] datapath-windows Event read

[ovs-dev] [PATCH] WMI Script that updates Hyper-V friendly port names

2014-09-25 Thread Alin Serdean
The following script leverage's the advantages of WMI infrastructure offered in Hyper-V. This scripts allows the user to change the Msvm_EthernetPortAllocationSettingData property of a VM network adapter connected to a Hyper-V Virtual Switch. Usage: import-module .\OVS.psm1 $vnic =

Re: [ovs-dev] [PATCH] WMI Script that updates Hyper-V friendly port names

2014-09-26 Thread Alin Serdean
:35 AM Către: Alin Serdean Cc: dev@openvswitch.org Subiect: Re: [ovs-dev] [PATCH] WMI Script that updates Hyper-V friendly port names On Sep 24, 2014, at 11:18 PM, Alin Serdean aserd...@cloudbasesolutions.com wrote: The following script leverage's the advantages of WMI infrastructure offered

Re: [ovs-dev] [PATCH] WMI Script that updates Hyper-V friendly port names

2014-09-27 Thread Alin Serdean
Hello Nithin, I will update the documentation as soon as I can. Also I need to add the visualddk flag explanation. Thanks, Alin. -Mesaj original- De la: Nithin Raju [mailto:nit...@vmware.com] Trimis: Saturday, September 27, 2014 5:16 AM Către: Alin Serdean Cc: dev@openvswitch.org

Re: [ovs-dev] [PATCH v4] datapath-windows Event read handler

2014-09-27 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Eitan Eliahu Trimis: Saturday, September 27, 2014 11:39 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v4] datapath-windows Event read

Re: [ovs-dev] [PATCH v1] datapath-windows: Build fix.

2014-09-29 Thread Alin Serdean
Tested under Release/Debug. Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Nithin Raju Trimis: Monday, September 29, 2014 8:17 PM Către: Ankur Sharma Cc: dev@openvswitch.org Subiect: Re: [ovs-dev]

Re: [ovs-dev] [PATCH 14/14] datapath-windows: Fix potential crash in OvsInitConfiguredSwitchNics: virtPort

2014-09-30 Thread Alin Serdean
Hi Nithin, We used a modified version of netdev-windows. Alin. -Mesaj original- De la: Nithin Raju [mailto:nit...@vmware.com] Trimis: Tuesday, September 30, 2014 6:09 PM Către: Samuel Ghinet Cc: dev@openvswitch.org; Alin Serdean; Eitan Eliahu; Ankur Sharma Subiect: Re: [PATCH 14/14

Re: [ovs-dev] [PATCH v2] datapath-windows: Incorrect assumption of the IRQL

2014-10-02 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Sorin Vinturis Trimis: Thursday, October 2, 2014 11:53 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v2] datapath-windows: Incorrect

Re: [ovs-dev] [PATCH v1 5/5] datapath-windows: Flow get implementation.

2014-10-03 Thread Alin Serdean
Waiting for the respin. Just a couple of more remarks. ovs-dev-v1-3-5-datapath-windows-Flow-Dump-handler.patch:50: trailing whitespace. { .cmd = OVS_FLOW_CMD_GET, ovs-dev-v1-3-5-datapath-windows-Flow-Dump-handler.patch:52: trailing whitespace. .supportedDevOp =

Re: [ovs-dev] [PATCH 2/7 v2] lib/netlink-socket.c: add support for OVS_WIN_NETDEV_FAMILY

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Tested-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Nithin Raju Trimis: Sunday, October 5, 2014 1:10 AM Către: dev@openvswitch.org

Re: [ovs-dev] [PATCH 1/7 v2] OvsDpInterfaceExt.h: add support for netlink family for netdev

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Tested-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Nithin Raju Trimis: Sunday, October 5, 2014 1:10 AM Către: dev@openvswitch.org

Re: [ovs-dev] [PATCH 3/7 v2] add lib/netdev-windows.c

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Tested-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Nithin Raju Trimis: Sunday, October 5, 2014 1:10 AM Către: dev@openvswitch.org

Re: [ovs-dev] [PATCH 7/7 v2] datapath-windows: implementation of netdev commands

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Tested-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Nithin Raju Trimis: Sunday, October 5, 2014 1:10 AM Către: dev@openvswitch.org

Re: [ovs-dev] [PATCH 4/7 v2] lib/netdev-windows.c: add code to query netdev information

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Tested-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Nithin Raju Trimis: Sunday, October 5, 2014 1:10 AM Către: dev@openvswitch.org

Re: [ovs-dev] [PATCH 5/7 v2] datapath-windows: Add stub handlers for netdev commands

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Tested-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Nithin Raju Trimis: Sunday, October 5, 2014 1:10 AM Către: dev@openvswitch.org

Re: [ovs-dev] [PATCH 6/7 v2] datapath-windows: Some fixes in vport get code

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Tested-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Nithin Raju Trimis: Sunday, October 5, 2014 1:10 AM Către: dev@openvswitch.org

Re: [ovs-dev] [PATCH v3 5/5] datapath-windows: Flow get implementation.

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Saturday, October 4, 2014 1:54 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v3 5/5] datapath-windows: Flow get

Re: [ovs-dev] [PATCH v3 3/5] datapath-windows: Flow Dump handler

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Saturday, October 4, 2014 1:54 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v3 3/5] datapath-windows: Flow Dump

Re: [ovs-dev] [PATCH v3 2/5] datapath-windows: Added the API for getting unused space in nlbuf.

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Saturday, October 4, 2014 1:54 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v3 2/5] datapath-windows: Added the API

Re: [ovs-dev] [PATCH v3 1/5] datapath-windows: Netlink additional APIs.

2014-10-06 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: dev [mailto:dev-boun...@openvswitch.org] În numele Ankur Sharma Trimis: Saturday, October 4, 2014 1:54 AM Către: dev@openvswitch.org Subiect: [ovs-dev] [PATCH v3 1/5] datapath-windows: Netlink

Re: [ovs-dev] [PATCH 12/14] datapath-windows: Add netlink command vport delete

2014-10-07 Thread Alin Serdean
Good catch Nithin thank you for folding it up! Thanks, Alin. -Mesaj original- De la: Nithin Raju [mailto:nit...@vmware.com] Trimis: Wednesday, October 8, 2014 12:29 AM Către: Samuel Ghinet; dev@openvswitch.org Cc: Alin Serdean; Eitan Eliahu; Ankur Sharma Subiect: RE: [PATCH 12/14

Re: [ovs-dev] [PATCH] Update the WMI Script handling Hyper-V friendly port names

2014-10-08 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: Lucian Petrut [mailto:petrutlucia...@gmail.com] Trimis: Wednesday, October 8, 2014 8:05 PM Către: dev@openvswitch.org Cc: Alin Serdean; Lucian Petrut Subiect: [PATCH] Update the WMI Script handling

Re: [ovs-dev] [PATCH] Update the WMI Script handling Hyper-V friendly port names

2014-10-08 Thread Alin Serdean
: Wednesday, October 8, 2014 8:44 PM Către: Alin Serdean Cc: Lucian Petrut; dev@openvswitch.org; Lucian Petrut Subiect: Re: [ovs-dev] [PATCH] Update the WMI Script handling Hyper-V friendly port names I'm confused. The From: at the top of the email indicates you're the author. You can't sensibly

[ovs-dev] [PATCH] Add meta-flow.inc nx-match.inc to lib/.gitignore

2014-10-08 Thread Alin Serdean
Add the following files: meta-flow.inc nx-match.inc to lib/.gitignore Signed-off-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com --- lib/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/.gitignore b/lib/.gitignore index 0e344f7..2b4a231 100644 --- a/lib/.gitignore

Re: [ovs-dev] [PATCH] Update the WMI Script handling Hyper-V friendly port names

2014-10-08 Thread Alin Serdean
Thank you Ben! Alin. -Mesaj original- De la: Ben Pfaff [mailto:b...@nicira.com] Trimis: Wednesday, October 8, 2014 8:54 PM Către: Nithin Raju Cc: Alin Serdean; Lucian Petrut; dev@openvswitch.org; Lucian Petrut Subiect: Re: [ovs-dev] [PATCH] Update the WMI Script handling Hyper-V

Re: [ovs-dev] [PATCH v2] datapath-windows: add support for OVS_DP_CMD_NEW netlink command

2014-10-08 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com Tested-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: Nithin Raju [mailto:nit...@vmware.com] Trimis: Thursday, October 9, 2014 12:22 AM Către: dev@openvswitch.org; Alin Serdean Cc: Nithin

Re: [ovs-dev] [PATCH] datapath-windows: Update OvsGetExtInfoIoctl() to the new vport add workflow

2014-10-08 Thread Alin Serdean
Acked-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com -Mesaj original- De la: Nithin Raju [mailto:nit...@vmware.com] Trimis: Tuesday, October 7, 2014 4:06 AM Către: dev@openvswitch.org; Alin Serdean Cc: Nithin Raju Subiect: [PATCH] datapath-windows: Update OvsGetExtInfoIoctl

[ovs-dev] [PATCH 02/10] datapath-windows: Rename hyper-v switch port and nic handlers

2014-10-08 Thread Alin Serdean
Functions such as OvsCreatePort are vague in regard to who creates it or when. It wasn't a problem thus far, since the vports were created, updated and destroyed from one place only (hyper-v switch part). But now, with the netlink implementation of the vport commands, a part of the vport is

[ovs-dev] [PATCH 03/10] datapath-windows: We don't need to keep validation ports in ovs

2014-10-08 Thread Alin Serdean
Validation ports are used internally by the hyper-v switch to validate and verify settings for the real hyper-v switch ports that will be connected to the VNic. The validation ports are of no use to us - we must skip handling them, and return STATUS_SUCCESS as the OID result. Signed-off-by:

[ovs-dev] [PATCH 05/10] datapath-windows: Define OVS_DPPORT_NUMBER_INVALID

2014-10-08 Thread Alin Serdean
The fields externalVport and internalVport of the OVS_SWITCH_CONTEXT struct are currently defined as PVOID. However, all over the code they are used as POVS_VPORT_ENTRY. In order to improve clarity and reduce the need for useless casts to POVS_VPORT_ENTRY, this patch changes the type from PVOID to

[ovs-dev] [PATCH 04/10] datapath-windows: Update OVS_SWITCH_CONTEXT: external and internal port

2014-10-08 Thread Alin Serdean
The fields externalVport and internalVport of the OVS_SWITCH_CONTEXT struct are currently defined as PVOID. However, all over the code they are used as POVS_VPORT_ENTRY. In order to improve clarity and reduce the need for useless casts to POVS_VPORT_ENTRY, this patch changes the type from PVOID to

[ovs-dev] [PATCH 06/10] datapath-windows: Rename OvsGetVportNo into OvsComputeVportNo and make public

2014-10-08 Thread Alin Serdean
OvsGetVportNo computes a new port number. Therefore, OvsComputeVportNo is a more clear name for what the function does. Reading OvsGetVportNo may give the false impression that it returns the port number of an existing vport. Also, since the responsibility of assigning dp port numbers no longer

[ovs-dev] [PATCH 07/10] datapath-windows: Rename switch context's nameHashArray and vport's nameLink login register

2014-10-08 Thread Alin Serdean
The field nameLink of the OVS_VPORT_ENTRY is the link within the OVS_SWITCH_CONTEXT's hash array of vports nameHashArray, hashed by the ovsName field of the OVS_VPORT_ENTRY. Later on, the friendly name of the hyper-v switch port will need to be set from userspace using WMI. This will require that

[ovs-dev] [PATCH 09/10] datapath-wuindows: Make VPORT ovs number values smaller than MAXUINT16

2014-10-08 Thread Alin Serdean
For this, the old method of finding vports based on the ovs port numbers is removed. Now, the lookup of a vport by ovs port number is done the same way as the lookup by hyper-v switch port id. This is done so that the kernel is able to interact with the userspace correctly when using vport

[ovs-dev] [PATCH 08/10] datapath-windows: Rename switch context's portHashArray and vport's portLink

2014-10-08 Thread Alin Serdean
The field portLink of the OVS_VPORT_ENTRY is the link within the OVS_SWITCH_CONTEXT's hash array of vports portHashArray, hashed by the portId field of the OVS_VPORT_ENTRY. Later on, we will need to modify the OVS_VPORT_ENTRY so that its port numbers are set to maximum MAXUINT16. This will

[ovs-dev] [PATCH 10/10] datapath-windows: Add port friendly name to OVS_VPORT_ENTRY

2014-10-08 Thread Alin Serdean
The port friendly name will be set by WMI / powershell script. It will be used from within the netlink command vport new to identify the hyper-v switch port it represents. This patch also adds a function to lookup a vport by the port friendly name. Signed-off-by: Samuel Ghinet

Re: [ovs-dev] [PATCH 01/10] datapath-windows: Remove the old IOCTL vport functions.

2014-10-08 Thread Alin Serdean
Hi Nithin, Yes I will reintroduce it. I checked there are no compilation issues at the moment. Thanks, Alin. -Mesaj original- De la: Nithin Raju [mailto:nit...@vmware.com] Trimis: Thursday, October 9, 2014 4:40 AM Către: Alin Serdean Cc: dev@openvswitch.org; Samuel Ghinet Subiect: Re

Re: [ovs-dev] [PATCH 01/10] datapath-windows: Remove the old IOCTL vport functions.

2014-10-08 Thread Alin Serdean
Sure. -Mesaj original- De la: Nithin Raju [mailto:nit...@vmware.com] Trimis: Thursday, October 9, 2014 4:44 AM Către: Alin Serdean Cc: dev@openvswitch.org; Samuel Ghinet Subiect: Re: [ovs-dev] [PATCH 01/10] datapath-windows: Remove the old IOCTL vport functions. On Oct 8, 2014, at 6:42

[ovs-dev] [ovs-dev, 01/10][PATCH v2] datapath-windows: Remove the old IOCTL vport functions.

2014-10-08 Thread Alin Serdean
The old IOCTL vport functions (using the non-netlink device) are no longer needed. They should be removed. Signed-off-by: Samuel Ghinet sghi...@cloudbasesolutions.com Co-authored-by: Alin Gabriel Serdean aserd...@cloudbasesolutions.com --- datapath-windows/ovsext/Vport.c | 276

Re: [ovs-dev] [ovs-dev, 01/10][PATCH v2] datapath-windows: Remove the old IOCTL vport functions.

2014-10-08 Thread Alin Serdean
I will respin the rest if they are ack. Thanks, Alin. -Mesaj original- De la: Nithin Raju [mailto:nit...@vmware.com] Trimis: Thursday, October 9, 2014 5:07 AM Către: Alin Serdean Cc: dev@openvswitch.org Subiect: Re: [ovs-dev,01/10][PATCH v2] datapath-windows: Remove the old IOCTL vport

[ovs-dev] [PATCH] Broken build on MSVC

2014-10-08 Thread Alin Serdean
source='lib/nx-match.c' object='lib/nx-match.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/sh ./build-aux/depcomp \ /bin/sh ./libtool --tag=CC --mode=compile ./build-aux/cccl -DHAVE_CONFIG_H -I. -I ./include/windows -I ./datapath-windows/include

  1   2   3   4   5   6   7   8   9   10   >