[ovs-dev] [PATCH 0/5] datapath-windows: vport cleanup to add events

2015-11-12 Thread Nithin Raju
s. I've tested port addition/deletion, ping via STT tunnel with these patches. Nithin Raju (5): datapath-windows: refactor port enumeration code datapath-windows: cleanup InitHvVportCommon() datapath-windows: cleanup events code datapath-windows: nuke port # argument in IP helper datap

[ovs-dev] [PATCH 2/5] datapath-windows: cleanup InitHvVportCommon()

2015-11-12 Thread Nithin Raju
portCommon() to UpdateSwitchCtxWithVport(). Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Oid.c | 2 +- datapath-windows/ovsext/Vport.c | 185 ++-- datapath-windows/ovsext/Vport.h | 3 +- 3 files changed, 104 insertions(+), 86 deletions(-) di

[ovs-dev] [PATCH 5/5] datapath-windows: cleanup AssignNicNameSpecial()

2015-11-12 Thread Nithin Raju
e GUI and didn't see any callback. Other changes are tested. Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Vport.c | 65 ++--- 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/datapath-windows/ovsext/Vport.c b/datapath-windows/ovse

[ovs-dev] [PATCH 4/5] datapath-windows: nuke port # argument in IP helper

2015-11-12 Thread Nithin Raju
Port # doesn't make much sense since it has not been computed yet. Also, get rid of OVS_DEFAULT_PORT_NO and use OVS_DPPORT_NUMBER_INVALID instead. Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Actions.c| 2 +- datapath-windows/ovsext/BufferMgmt.c | 12 +++- dat

[ovs-dev] [PATCH 3/5] datapath-windows: cleanup events code

2015-11-12 Thread Nithin Raju
is to trigger userspace to re-add the port by deleting the port in OVSDB and re-adding it. With this patch, I have verified that if a VIF gets disconnected on the Hyper-V switch, it disappears from the OVS kernel DP as well. Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Datapath.c

[ovs-dev] [PATCH] datapath-windows: Fix HvUpdateNic() to handle name changes

2015-11-12 Thread Nithin Raju
() has been cleaned up to remove the code to look for existing vport. We won't have a vport now since we'd have deleted the vport in HvDeleteNic(). Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Vport.c | 83 + 1 file changed, 42 inserti

[ovs-dev] [PATCH 2/6 v2] datapath-windows: cleanup InitHvVportCommon()

2015-11-18 Thread Nithin Raju
portCommon() to UpdateSwitchCtxWithVport(). Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Oid.c | 2 +- datapath-windows/ovsext/Vport.c | 185 ++-- datapath-windows/ovsext/Vport.h | 3 +- 3 files changed, 104 insertions(+), 86 deletions(-) di

[ovs-dev] [PATCH 5/6 v2] datapath-windows: cleanup AssignNicNameSpecial()

2015-11-18 Thread Nithin Raju
e GUI and didn't see any callback. Other changes are tested. Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Vport.c | 62 ++--- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/datapath-windows/ovsext/Vport.c b/datapath-windows/ovse

[ovs-dev] [PATCH 6/6 v2] datapath-windows: Fix HvUpdateNic() to handle name changes

2015-11-18 Thread Nithin Raju
() has been cleaned up to remove the code to look for existing vport. We won't have a vport now since we'd have deleted the vport in HvDeleteNic(). Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Vport.c | 100 datapath-windows/ovsext/Vpo

[ovs-dev] [PATCH 3/6 v2] datapath-windows: cleanup events code

2015-11-18 Thread Nithin Raju
is to trigger userspace to re-add the port by deleting the port in OVSDB and re-adding it. With this patch, I have verified that if a VIF gets disconnected on the Hyper-V switch, it disappears from the OVS kernel DP as well. Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Datapath.c

[ovs-dev] [PATCH 1/6 v2] datapath-windows: refactor port enumeration code

2015-11-18 Thread Nithin Raju
We already have functions HvCreatePort() and HvCreateNic() to do the work. Might as well use that during port enumeration. More refactoring in later patches. Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Switch.c | 6 ++- datapath-windows/ovsext/Vport.c | 89

[ovs-dev] [PATCH 4/6 v2] datapath-windows: nuke port # argument in IP helper

2015-11-18 Thread Nithin Raju
Port # doesn't make much sense since it has not been computed yet. Also, get rid of OVS_DEFAULT_PORT_NO and use OVS_DPPORT_NUMBER_INVALID instead. Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Actions.c| 2 +- datapath-windows/ovsext/BufferMgmt.c | 12 +++- dat

[ovs-dev] [PATCH 0/6 v2] datapath-windows: vport code cleanup to add events

2015-11-18 Thread Nithin Raju
s. I've tested port addition/deletion, ping via STT tunnel with these patches. Nithin Raju (6): datapath-windows: refactor port enumeration code datapath-windows: cleanup InitHvVportCommon() datapath-windows: cleanup events code datapath-windows: nuke port # argument in IP helper datap

[ovs-dev] [PATCH 3/6 v3] datapath-windows: cleanup events code

2015-11-25 Thread Nithin Raju
is to trigger userspace to re-add the port by deleting the port in OVSDB and re-adding it. With this patch, I have verified that if a VIF gets disconnected on the Hyper-V switch, it disappears from the OVS kernel DP as well. Signed-off-by: Nithin Raju Acked-by: Sairam Venugopal Acked-by: Alin Ga

[ovs-dev] [PATCH 0/6 v3] datapath-windows: vport code cleanup to add events

2015-11-25 Thread Nithin Raju
s. I've tested port addition/deletion, ping via STT tunnel with these patches. Nithin Raju (6): datapath-windows: refactor port enumeration code datapath-windows: cleanup InitHvVportCommon() datapath-windows: cleanup events code datapath-windows: nuke port # argument in IP helper datap

[ovs-dev] [PATCH 1/6 v3] datapath-windows: refactor port enumeration code

2015-11-25 Thread Nithin Raju
We already have functions HvCreatePort() and HvCreateNic() to do the work. Might as well use that during port enumeration. More refactoring in later patches. Signed-off-by: Nithin Raju Acked-by: Sairam Venugopal Acked-by: Alin Gabriel Serdean --- datapath-windows/ovsext/Switch.c | 6

[ovs-dev] [PATCH 6/6 v3] datapath-windows: Fix HvUpdateNic() to handle name changes

2015-11-25 Thread Nithin Raju
() has been cleaned up to remove the code to look for existing vport. We won't have a vport now since we'd have deleted the vport in HvDeleteNic(). Signed-off-by: Nithin Raju Acked-by: Sairam Venugopal Acked-by: Alin Gabriel Serdean --- datapath-windows/ovsext/Vpo

[ovs-dev] [PATCH 4/6 v3] datapath-windows: nuke port # argument in IP helper

2015-11-25 Thread Nithin Raju
Port # doesn't make much sense since it has not been computed yet. Also, get rid of OVS_DEFAULT_PORT_NO and use OVS_DPPORT_NUMBER_INVALID instead. Signed-off-by: Nithin Raju Acked-by: Sairam Venugopal Acked-by: Alin Gabriel Serdean --- datapath-windows/ovsext/Actions.c| 2 +- dat

[ovs-dev] [PATCH 2/6 v3] datapath-windows: cleanup InitHvVportCommon()

2015-11-25 Thread Nithin Raju
portCommon() to UpdateSwitchCtxWithVport(). Signed-off-by: Nithin Raju Acked-by: Sairam Venugopal Acked-by: Alin Gabriel Serdean --- datapath-windows/ovsext/Oid.c | 2 +- datapath-windows/ovsext/Vport.c | 185 ++-- datapath-windows/ovsext/Vport.h | 3 +

[ovs-dev] [PATCH 5/6 v3] datapath-windows: cleanup AssignNicNameSpecial()

2015-11-25 Thread Nithin Raju
e GUI and didn't see any callback. Other changes are tested. Signed-off-by: Nithin Raju Acked-by: Sairam Venugopal Acked-by: Alin Gabriel Serdean --- datapath-windows/ovsext/Vport.c | 62 ++--- 1 file changed, 33 insertions(+), 29 deletions(-) di

[ovs-dev] [PATCH] datapath-windows: fix MIN() macro

2015-11-25 Thread Nithin Raju
Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapath-windows/ovsext/Util.h b/datapath-windows/ovsext/Util.h index 0bbc52b..e5ba72b 100644 --- a/datapath-windows/ovsext/Util.h +++ b/datapath-windows/ovsext

[ovs-dev] [PATCH v2] datapath-windows: fix MIN() macro

2015-11-25 Thread Nithin Raju
0; } Signed-off-by: Nithin Raju Acked-by: Russell Bryant --- datapath-windows/ovsext/Util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapath-windows/ovsext/Util.h b/datapath-windows/ovsext/Util.h index 0bbc52b..e5ba72b 100644 --- a/datapath-windows/ovsext/Util.h +++ b/da

Re: [ovs-dev] [PATCH] datapath-windows: fix MIN() macro

2015-11-25 Thread Nithin Raju
-Original Message- From: Russell Bryant Date: Wednesday, November 25, 2015 at 12:07 PM To: Nithin Raju , "dev@openvswitch.org" Subject: Re: [ovs-dev] [PATCH] datapath-windows: fix MIN() macro >On 11/25/2015 03:02 PM, Nithin Raju wrote: >> Signed-off-by: Nithin Raju

[ovs-dev] [PATCH] datapath-windows: Don't assert for unknown actions

2015-11-25 Thread Nithin Raju
help debugging. Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Actions.c | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/datapath-windows/ovsext/Actions.c b/datapath-windows/ovsext/Actions.c index e902983..7d34458 100644 --- a/datapath-windows/ovsext/

Re: [ovs-dev] [PATCH 2/3] datapath-windows: Cleanup Stt.c

2015-12-02 Thread Nithin Raju
Acked-by: Nithin Raju -Original Message- From: dev on behalf of Alin Serdean Date: Wednesday, December 2, 2015 at 9:50 AM To: "dev@openvswitch.org" Subject: [ovs-dev] [PATCH 2/3] datapath-windows: Cleanup Stt.c >Remove double include for Flow.h and sort the includes a

[ovs-dev] [PATCH] datapath-windows: reduce padding size in _OVS_PACKET_HDR_INFO

2015-12-07 Thread Nithin Raju
Fixing a little buglet from commit: efee3309. Signed-by: Nithin Raju --- datapath-windows/ovsext/NetProto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapath-windows/ovsext/NetProto.h b/datapath-windows/ovsext/NetProto.h index a364869..c60081a 100644 --- a/datapath

Re: [ovs-dev] [PATCH] datapath-windows: Support for OVS_KEY_ATTR_MPLS attribute

2015-12-07 Thread Nithin Raju
Hi Sorin, I found some bugs in OvsActionMplsPush(). Can you pls. clarify if my comments are valid? If they are genuine bugs, did your testing not catch them? Apologies, if I missed anything. I¹ll review the rest of the patch after the claritification. Thanks, -- Nithin -Original Message-

Re: [ovs-dev] [PATCH] FAQ: Add entry about different datapaths features.

2015-12-08 Thread Nithin Raju
Thanks for putting this together. Like we discussed offline, a lot of the hyper-v values are subject to change in the near future, but the matrix represents that state of the Hyper-V datapath as of today. Acked-by: Nithin Raju -Original Message- From: Daniele Di Proietto Date: Monday

Re: [ovs-dev] [PATCH] datapath-windows: Fix compilation issue

2015-12-09 Thread Nithin Raju
That was my patch that broke it. I had fixed it in my local tree but forgot to send out the updated patch. Thanks for fixing this. Acked-by: Nithin Raju -Original Message- From: dev on behalf of Sairam Venugopal Date: Wednesday, December 9, 2015 at 5:31 PM To: "dev@openvswitc

Re: [ovs-dev] [PATCH 3/3 v2] datapath-windows: Add GRE TEB support for windows datapath

2015-12-09 Thread Nithin Raju
Alin, Thanks for adding GRE support. The patch looks good for the most part. RFC 2890 calls for a much more elaborate handling of key and sequence numbers in the GRE header. Eg. Buffering by handling out of order sequence packets. In your patch, none of that is being done. Also, there¹s no way to

Re: [ovs-dev] [PATCH 1/3] datapath-windows: Add sequence tunneling information define

2015-12-09 Thread Nithin Raju
I suggested we get rid of ŒOVS_TNL_F_SEQ¹ in the 3/3 patch, since there¹s no way of using it. -- Nithin -Original Message- From: dev on behalf of Alin Serdean Date: Wednesday, December 2, 2015 at 9:50 AM To: "dev@openvswitch.org" Subject: [ovs-dev] [PATCH 1/3] datapath-windows: Add seq

Re: [ovs-dev] [PATCH 3/3 v2] datapath-windows: Add GRE TEB support for windows datapath

2015-12-10 Thread Nithin Raju
Hi Alin, I’ve replied to comments where you had a question. Will wait for the v3. -Original Message- From: Alin Serdean Date: Thursday, December 10, 2015 at 9:10 AM To: Nithin Raju , "dev@openvswitch.org" Subject: RE: [ovs-dev] [PATCH 3/3 v2] datapath-windows: Add GRE TEB s

[ovs-dev] [PATCH] datapath-windows: remove ASSERT in OvsDoFlowLookupOutput()

2015-12-10 Thread Nithin Raju
We needed this ASSERT earlier to catch unexpected cases. This code seems to be fairly stable, and we can remove the ASSERT. It is annoying to be hitting this ASSERT while changing the internal adapter properties. Signed-off-by: Nithin Raju --- datapath-windows/ovsext/Actions.c | 1 - 1 file

Re: [ovs-dev] [PATCH v3] datapath-windows: Add GRE TEB support for windows datapath

2015-12-11 Thread Nithin Raju
: Nithin Raju -Original Message- From: dev on behalf of Alin Serdean Date: Friday, December 11, 2015 at 9:16 AM To: "dev@openvswitch.org" Subject: [ovs-dev] [PATCH v3] datapath-windows: Add GRE TEB support for windows datapath >This patch introduces the support for GRE TE

Re: [ovs-dev] [PATCH v4] datapath-windows: Add GRE TEB support for windows datapath

2015-12-11 Thread Nithin Raju
NHQcdr7B40b4h6Yb7FIedI1dnBsxdDuTLBYD3JqV80&m=qgATPB2 >>q5tLWPAnrCwV4S7eHnzGJ1Tag4LKQBww9p58&s=AeWECN8AUGak_cPmZerCQxWCexqqOjDOcD >>_pVXsvnTU&e= ) >> > (ICMP, TCP, UDP) with various packet lengths >> > IPERF3 >> > >>(htt

Re: [ovs-dev] [PATCH] datapath-windows: Fix small bug in STT

2015-12-11 Thread Nithin Raju
Acked-by: Nithin Raju -Original Message- From: dev on behalf of Alin Serdean Date: Friday, December 11, 2015 at 12:54 PM To: "dev@openvswitch.org" Subject: [ovs-dev] [PATCH] datapath-windows: Fix small bug in STT >Allow STT encapsulation to take place in the case

<    5   6   7   8   9   10