[ovs-dev] how to handle flow deletion when multiple flow tables are supported

2015-08-03 Thread tech_kals Kals
Hi experts, Please ignore my previous mail. Sent it without completion. am trying to integrate Broadcom's OFDPA (OpenFlow Data Path Abstraction) into my data-plane. As you all know, OFDPA supports multiple flow tables for programming multiple flow entries. when multiple flow tables are support

Re: [ovs-dev] [PATCH v2] Make 100 percents packets sampled when sampling rate is 1.

2015-08-03 Thread Ben Pfaff
On Tue, Aug 04, 2015 at 04:05:58AM +, Wenyu Zhang wrote: > In ipfix and sflow, the sampling rate can be set as 1, which means > 100%. And in order to make 100% packets sampled, I work out a patch > in datapath, which is for review on net-next. And the same change > seems need to be added into

[ovs-dev] [PATCH net-next v2] openvswitch: Make 100 percents packets sampled when sampling rate is 1.

2015-08-03 Thread Wenyu Zhang
When sampling rate is 1, the sampling probability is UINT32_MAX. The packet should be sampled even the prandom_u32() generate the number of UINT32_MAX. And none packet need be sampled when the probability is 0. Signed-off-by: Wenyu Zhang --- net/openvswitch/actions.c |4 +++- 1 file changed,

Re: [ovs-dev] [PATCH v2] Make 100 percents packets sampled when sampling rate is 1.

2015-08-03 Thread Wenyu Zhang
Hello Ben, Thanks for your comments. In ipfix and sflow, the sampling rate can be set as 1, which means 100%. And in order to make 100% packets sampled, I work out a patch in datapath, which is for review on net-next. And the same change seems need to be added into lib/odp-execute.c too. Do yo

[ovs-dev] [PATCH net-next v2] openvswitch: Make 100 percents packets sampled when sampling rate is 1.

2015-08-03 Thread Wenyu Zhang
When sampling rate is 1, the sampling probability is UINT32_MAX. The packet should be sampled even the prandom_u32() generate the number of UINT32_MAX. And none packet need be sampled when the probability is 0. Signed-off-by: Wenyu Zhang --- net/openvswitch/actions.c |4 +++- 1 file changed,

Re: [ovs-dev] [PATCH 1/3] tests: Expand kernel sanity tests.

2015-08-03 Thread Joe Stringer
On 30 July 2015 at 11:21, Daniele Di Proietto wrote: > Acked-by: Daniele Di Proietto > > On 30/07/2015 00:52, "Joe Stringer" wrote: > >>The initial sanity test only checked IPv4 without IP fragments. This patch >>adds additional tests using IPv6 and VLANs with IP fragments and expands >>the exis

Re: [ovs-dev] [ovn-controller-vtep V4 1/6] ovn-sb: Remove the "Gateway" table from the ovn-sb schema.

2015-08-03 Thread Alex Wang
Hey Russell, With your add type/option change and Ben's tunnel-key work in, it is time to rebase my ovn-controller-vtep series~~ So, now, I think I'd like to adopt your earlier suggestion, which requires users to specify this when creating logical port (for vtep switch): Logical_Port name:

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Translate Geneve options per-flow, not per-packet.

2015-08-03 Thread Jesse Gross
On Mon, Aug 3, 2015 at 3:45 PM, Jarno Rajahalme wrote: > With few suggestions and questions below: > > Acked-by: Jarno Rajahalme Thanks for the comments - I had one follow up question below. >> @@ -3014,11 +3014,25 @@ dp_netdev_upcall(struct dp_netdev_pmd_thread *pmd, >> struct dp_packet *pack

Re: [ovs-dev] [PATCH v2 21/21] ovn: Change strategy for tunnel keys.

2015-08-03 Thread Ben Pfaff
On Mon, Aug 03, 2015 at 07:53:58PM -0400, Russell Bryant wrote: > On 08/03/2015 07:47 PM, Ben Pfaff wrote: > > On Mon, Aug 03, 2015 at 07:44:03PM -0400, Russell Bryant wrote: > >> On 08/03/2015 07:42 PM, Ben Pfaff wrote: > >>> Thank you for such a careful review! > >>> > >>> I incorporated all of t

Re: [ovs-dev] [PATCH v2 21/21] ovn: Change strategy for tunnel keys.

2015-08-03 Thread Russell Bryant
On 08/03/2015 07:47 PM, Ben Pfaff wrote: > On Mon, Aug 03, 2015 at 07:44:03PM -0400, Russell Bryant wrote: >> On 08/03/2015 07:42 PM, Ben Pfaff wrote: >>> Thank you for such a careful review! >>> >>> I incorporated all of these comments and applied this to master. >> >> Awesome work, Ben! > > Than

Re: [ovs-dev] [PATCH] treewide: Fix doubled "the".

2015-08-03 Thread Ben Pfaff
On Mon, Aug 03, 2015 at 07:48:28PM -0400, Russell Bryant wrote: > On 08/03/2015 07:43 PM, Ben Pfaff wrote: > > Signed-off-by: Ben Pfaff > > Acked-by: Russell Bryant Thanks, applied. > > diff --git a/datapath-windows/ovsext/User.c b/datapath-windows/ovsext/User.c > > index 9f462cf..2ff2635 1006

Re: [ovs-dev] [PATCH] treewide: Fix doubled "the".

2015-08-03 Thread Russell Bryant
On 08/03/2015 07:43 PM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff Acked-by: Russell Bryant > diff --git a/datapath-windows/ovsext/User.c b/datapath-windows/ovsext/User.c > index 9f462cf..2ff2635 100644 > --- a/datapath-windows/ovsext/User.c > +++ b/datapath-windows/ovsext/User.c > @@ -836,7 +

Re: [ovs-dev] [PATCH v2 21/21] ovn: Change strategy for tunnel keys.

2015-08-03 Thread Ben Pfaff
On Mon, Aug 03, 2015 at 07:44:03PM -0400, Russell Bryant wrote: > On 08/03/2015 07:42 PM, Ben Pfaff wrote: > > Thank you for such a careful review! > > > > I incorporated all of these comments and applied this to master. > > Awesome work, Ben! Thanks. It really needs testing, though--I haven't

Re: [ovs-dev] [PATCH] ovs-ofctl: Refine documentation of Geneve option mapping.

2015-08-03 Thread Ben Pfaff
Thanks, applied to master. On Mon, Aug 03, 2015 at 02:26:09PM -0700, Alex Wang wrote: > Thx for the refinement!~ > > Acked-by: Alex Wang > > On Mon, Aug 3, 2015 at 2:13 PM, Ben Pfaff wrote: > > > In the commit message below, "match" on them, not "map" on them, sorry. > > > > On Mon, Aug 03, 2

Re: [ovs-dev] [PATCH] ofproto-dpif: Use a regular ref instead of try_ref for rule translation.

2015-08-03 Thread Ben Pfaff
Thanks Jarno, I applied this to master. On Mon, Aug 03, 2015 at 02:31:29PM -0700, Jarno Rajahalme wrote: > Acked-by: Jarno Rajahalme > > > On Aug 2, 2015, at 11:51 AM, Ben Pfaff wrote: > > > > Until now, flow translation has had to use try_ref to take a reference on > > a rule, because a compe

Re: [ovs-dev] [PATCH v2 21/21] ovn: Change strategy for tunnel keys.

2015-08-03 Thread Russell Bryant
On 08/03/2015 07:42 PM, Ben Pfaff wrote: > Thank you for such a careful review! > > I incorporated all of these comments and applied this to master. Awesome work, Ben! -- Russell Bryant ___ dev mailing list dev@openvswitch.org http://openvswitch.org/m

[ovs-dev] [PATCH] treewide: Fix doubled "the".

2015-08-03 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- INSTALL.DPDK.md | 2 +- datapath-windows/ovsext/User.c | 2 +- datapath-windows/ovsext/Vport.c | 2 +- datapath-windows/ovsext/Vxlan.c | 2 +- lib/netdev-provider.h | 2 +- lib/ovs-atomic.h| 2 +- lib/packets.c

Re: [ovs-dev] [PATCH v2 21/21] ovn: Change strategy for tunnel keys.

2015-08-03 Thread Ben Pfaff
Thank you for such a careful review! I incorporated all of these comments and applied this to master. Here's the incremental (it omits the changes to this patch due to changes in earlier patches, e.g. the Rule->Logical_Flow renaming): diff --git a/ovn/controller/lflow.c b/ovn/controller/lflow.c

Re: [ovs-dev] [PATCH v2 21/21] ovn: Change strategy for tunnel keys.

2015-08-03 Thread Ben Pfaff
I applied most of your comments as obvious. A few deserved responses, see below. On Mon, Aug 03, 2015 at 01:19:01AM -0700, Justin Pettit wrote: > > > On Jul 28, 2015, at 8:44 AM, Ben Pfaff wrote: > > +/* Translate logical table ID to physical table ID. */ > > +bool ingress = !st

Re: [ovs-dev] [PATCH 2/2] dpif-netdev: Translate Geneve options per-flow, not per-packet.

2015-08-03 Thread Jarno Rajahalme
With few suggestions and questions below: Acked-by: Jarno Rajahalme Jarno > On Jul 29, 2015, at 8:09 PM, Jesse Gross wrote: > > The kernel implementation of Geneve options stores the TLV option > data in the flow exactly as received, without any further parsing. > This is then translated to

Re: [ovs-dev] [PATCH 1/2] dpif-netdev: Don't use metaflow to operate on userspace datapath fields.

2015-08-03 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme > On Jul 29, 2015, at 8:09 PM, Jesse Gross wrote: > > If ofproto-dpif installs a flow into the userspace datapath that doesn't > include a mask, we need to synthesize an exact match one. This is currently > done using the metaflow infrastructure, iterating over each fi

Re: [ovs-dev] [PATCH] ofproto-dpif: Use a regular ref instead of try_ref for rule translation.

2015-08-03 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme > On Aug 2, 2015, at 11:51 AM, Ben Pfaff wrote: > > Until now, flow translation has had to use try_ref to take a reference on > a rule, because a competing thread might have released the last reference > and done an RCU-postponed deletion. Since classifier versioning

Re: [ovs-dev] [PATCH] ovs-ofctl: Refine documentation of Geneve option mapping.

2015-08-03 Thread Alex Wang
Thx for the refinement!~ Acked-by: Alex Wang On Mon, Aug 3, 2015 at 2:13 PM, Ben Pfaff wrote: > In the commit message below, "match" on them, not "map" on them, sorry. > > On Mon, Aug 03, 2015 at 02:11:12PM -0700, Ben Pfaff wrote: > > The text didn't say how to actually map on them. I took th

Re: [ovs-dev] [PATCH v2 20/21] ofctrl: Negotiate OVN Geneve option.

2015-08-03 Thread Ben Pfaff
On Mon, Aug 03, 2015 at 01:55:04PM -0700, Justin Pettit wrote: > > > On Aug 3, 2015, at 1:48 PM, Ben Pfaff wrote: > > > > On Fri, Jul 31, 2015 at 03:12:38PM -0700, Justin Pettit wrote: > >>> On Jul 28, 2015, at 8:44 AM, Ben Pfaff wrote: > >>>if (br_int) { > >>> +enum mf_fiel

Re: [ovs-dev] [PATCH] ovs-ofctl: Refine documentation of Geneve option mapping.

2015-08-03 Thread Ben Pfaff
In the commit message below, "match" on them, not "map" on them, sorry. On Mon, Aug 03, 2015 at 02:11:12PM -0700, Ben Pfaff wrote: > The text didn't say how to actually map on them. I took the liberty of > massaging the text a little further, too. > > Suggested-by: Alex Wang > Signed-off-by: Be

Re: [ovs-dev] [PATCH 21/22] ofctrl: Negotiate OVN Geneve option.

2015-08-03 Thread Ben Pfaff
On Fri, Jul 31, 2015 at 11:08:19PM -0700, Alex Wang wrote: > On Fri, Jul 31, 2015 at 10:15 PM, Ben Pfaff wrote: > > > On Fri, Jul 31, 2015 at 10:04:35PM -0700, Alex Wang wrote: > > > Is there any documentation for the ovs side geneve negotiation? > > > > No. What kind of documentation would help

[ovs-dev] [PATCH] ovs-ofctl: Refine documentation of Geneve option mapping.

2015-08-03 Thread Ben Pfaff
The text didn't say how to actually map on them. I took the liberty of massaging the text a little further, too. Suggested-by: Alex Wang Signed-off-by: Ben Pfaff --- utilities/ovs-ofctl.8.in | 47 --- 1 file changed, 24 insertions(+), 23 deletions(-)

Re: [ovs-dev] [PATCH v2] openvswitch: Fix L4 checksum handling when dealing with IP fragments

2015-08-03 Thread David Miller
From: Glenn Griffin Date: Mon, 3 Aug 2015 09:56:54 -0700 > openvswitch modifies the L4 checksum of a packet when modifying > the ip address. When an IP packet is fragmented only the first > fragment contains an L4 header and checksum. Prior to this change > openvswitch would modify all fragments,

Re: [ovs-dev] [PATCH v2 20/21] ofctrl: Negotiate OVN Geneve option.

2015-08-03 Thread Justin Pettit
> On Aug 3, 2015, at 1:48 PM, Ben Pfaff wrote: > > On Fri, Jul 31, 2015 at 03:12:38PM -0700, Justin Pettit wrote: >>> On Jul 28, 2015, at 8:44 AM, Ben Pfaff wrote: >>>if (br_int) { >>> +enum mf_field_id mff_ovn_geneve = ofctrl_run(br_int); >>> + >>>struct hmap fl

Re: [ovs-dev] [PATCH v2 20/21] ofctrl: Negotiate OVN Geneve option.

2015-08-03 Thread Ben Pfaff
On Fri, Jul 31, 2015 at 03:12:38PM -0700, Justin Pettit wrote: > > On Jul 28, 2015, at 8:44 AM, Ben Pfaff wrote: > > +static void > > +recv_S_GENEVE_TABLE_MOD_SENT(const struct ofp_header *oh, enum ofptype > > type) > > +{ > > +if (oh->xid != xid && oh->xid != xid2) { > > +ofctrl_recv

Re: [ovs-dev] [PATCH v2 20/21] ofctrl: Negotiate OVN Geneve option.

2015-08-03 Thread Justin Pettit
I forgot to give my ack: Acked-by: Justin Pettit --Justin > On Jul 31, 2015, at 3:12 PM, Justin Pettit wrote: > > >> On Jul 28, 2015, at 8:44 AM, Ben Pfaff wrote: >> >> >> +static void >> +recv_S_GENEVE_TABLE_MOD_SENT(const struct ofp_header *oh, enum ofptype type) >> +{ >> +if (oh->

Re: [ovs-dev] [PATCH v2 17/21] ovn: Rename Pipeline table to Rule table.

2015-08-03 Thread Ben Pfaff
I applied this patch and all the previous ones to master, with that naming change. On Sun, Aug 02, 2015 at 12:12:48PM -0700, Ben Pfaff wrote: > OK, I'll change this to use Logical_Flow for the name of the table. > > On Fri, Jul 31, 2015 at 03:40:19PM -0700, Alex Wang wrote: > > Just to mention th

Re: [ovs-dev] [PATCH v2 21/21] ovn: Change strategy for tunnel keys.

2015-08-03 Thread Justin Pettit
> On Jul 28, 2015, at 8:44 AM, Ben Pfaff wrote: > I missed this in my review yesterday on ovn-architure.7.xml: > +OpenFlow tables 32 through 47 implement the output > action > +in the the logical ingress pipeline. Specifically, table 32 handles This introduces two "the"s. J

Re: [ovs-dev] [PATCH v1] netdev: Make 100 percents packets sampled when sampling rate is 1.

2015-08-03 Thread Jesse Gross
On Mon, Aug 3, 2015 at 11:18 AM, Pravin Shelar wrote: > On Mon, Aug 3, 2015 at 12:11 AM, Wenyu Zhang wrote: >> When sampling rate is 1, the sampling probability is UINT32_MAX. The packet >> should be sampled even the prandom32() generate the number of UINT32_MAX. >> And none packet need be sample

Re: [ovs-dev] [PATCH v1] netdev: Make 100 percents packets sampled when sampling rate is 1.

2015-08-03 Thread Pravin Shelar
On Mon, Aug 3, 2015 at 12:11 AM, Wenyu Zhang wrote: > When sampling rate is 1, the sampling probability is UINT32_MAX. The packet > should be sampled even the prandom32() generate the number of UINT32_MAX. > And none packet need be sampled when the probability is 0. > > Signed-off-by: Wenyu Zhang

[ovs-dev] datapath forwarding

2015-08-03 Thread Raul Suarez Marin
Hello, I am developing a new match option for openvswitch and I would like that it runs through the datapath without need of user-space. I'm not really sure if I missed something but this is what happens: (1) First incomming packet is processed correctly (processed + stats updated) (2) Following

Re: [ovs-dev] [PATCH 22/22] ovn: Change strategy for tunnel keys.

2015-08-03 Thread Alex Wang
sorry for the confusion, my comments is for reminding myself, rather than wanting to hold off the commit~ Still a lot to learn related to this patch~ Thanks, Alex Wang, On Mon, Aug 3, 2015 at 1:25 AM, Justin Pettit wrote: > > > On Aug 2, 2015, at 10:03 PM, Alex Wang wrote: > > > > Wow, this

Re: [ovs-dev] [PATCH v2 2/2] datapath-windows: Support for IRP cancelling mechanism

2015-08-03 Thread Nithin Raju
> On Jul 20, 2015, at 12:00 PM, Sorin Vinturis > wrote: > > Under certain circumstances, we might need to cancel a pending IRP > that has been submitted and not yet responded. This might occur when > the request takes too long to complete or when the process which > initiated the request termina

Re: [ovs-dev] [PATCH v2 1/2] datapath-windows: Process tunnel filter requests iteratively

2015-08-03 Thread Nithin Raju
> On Jul 20, 2015, at 12:00 PM, Sorin Vinturis > wrote: > > In order to support IRP cancelling mechanism for pending IRPs, all > tunnel filter requests, VXLAN create/delete tunnel, need to be > processed iteratively. > > Signed-off-by: Sorin Vinturis I reviewed the v1 of this patch. I’ll wait

Re: [ovs-dev] [PATCH] datapath-windows: Enable failure after restarting extension

2015-08-03 Thread Nithin Raju
> On Jul 15, 2015, at 7:50 AM, Sorin Vinturis > wrote: > > If the extension was previously enabled and running, after issuing a > restart, stop+start, the extension fails to be enabled. This happens > because the extension's DeviceObject is not yet initialized before the > FilterAttach routine i

Re: [ovs-dev] OVS 2.3.2 bug fixes

2015-08-03 Thread Justin Pettit
It contains every change to the code. At this point, we really only put bug fixes into 2.3. The commit messages should be pretty clear about what's changing. --Justin > On Aug 3, 2015, at 9:58 AM, Karnataki, Gururaj wrote: > > Okay. Thanks a lot for the below information. > > I have a quer

Re: [ovs-dev] [PATCH v2] openvswitch: Fix L4 checksum handling when dealing with IP fragments

2015-08-03 Thread Pravin Shelar
On Mon, Aug 3, 2015 at 9:56 AM, Glenn Griffin wrote: > openvswitch modifies the L4 checksum of a packet when modifying > the ip address. When an IP packet is fragmented only the first > fragment contains an L4 header and checksum. Prior to this change > openvswitch would modify all fragments, modi

Re: [ovs-dev] [PATCH 2/2] netdev-dpdk: Retry tx/rx queue setup until we don't get any failure.

2015-08-03 Thread Ben Pfaff
If that's an accurate description of the problem then that seems fine to me. We could add a note to INSTALL.DPDK.md describing the issue I suppose, if someone wants to write one up. On Sat, Aug 01, 2015 at 02:40:16PM -0700, Ethan Jackson wrote: > I personally am fine with waiting on this being fi

Re: [ovs-dev] OVS 2.3.2 bug fixes

2015-08-03 Thread Karnataki, Gururaj
Okay. Thanks a lot for the below information. I have a query here so does that mean each single commit id corresponds to every single bug fix? Regards, Guru On Mon, Aug 03, 2015 at 10:21 pm, Joe Stringer mailto:joestrin...@nicira.com>> wrote: Github also allows you to browse commits by tag,

Re: [ovs-dev] [Patch v1 0/3]Implementation of OpenFlow 1.4 Vacancy Events

2015-08-03 Thread Ben Pfaff
Hi Saloni. I'll be out of the office, traveling, from Aug. 4 to 18. If you want a review of your code before then, you'll have to ask someone else. Otherwise, I recommend rebasing and reposting your code around Aug. 18. Thanks, Ben. ___ dev mailing li

[ovs-dev] [PATCH v2] openvswitch: Fix L4 checksum handling when dealing with IP fragments

2015-08-03 Thread Glenn Griffin
openvswitch modifies the L4 checksum of a packet when modifying the ip address. When an IP packet is fragmented only the first fragment contains an L4 header and checksum. Prior to this change openvswitch would modify all fragments, modifying application data in non-first fragments, causing checksu

Re: [ovs-dev] [PATCH 2/2] datapath-windows: Support for IRP cancelling mechanism

2015-08-03 Thread Nithin Raju
hi Sorin, Thanks for this patch. This is a functionality that is needed to complete the tunnel filter async request story. I have a few comments that are inlined. How did you test this patch, BTW? > On Jul 15, 2015, at 1:55 AM, Sorin Vinturis > wrote: > > Under certain circumstances, we migh

Re: [ovs-dev] [PATCH] openvswitch: Fix L4 checksum handling when dealing with IP fragments

2015-08-03 Thread Glenn Griffin
On Mon, Aug 03, 2015 at 09:25:53AM -0700, Pravin Shelar wrote: > On Sat, Aug 1, 2015 at 6:31 PM, Glenn Griffin > wrote: > > openvswitch modifies the L4 checksum of a packet when modifying > > the ip address. When an IP packet is fragmented only the first > > fragment contains an L4 header and che

Re: [ovs-dev] OVS 2.3.2 bug fixes

2015-08-03 Thread Joe Stringer
Github also allows you to browse commits by tag, eg: https://github.com/openvswitch/ovs/commits/v2.3.2 On 3 August 2015 at 09:38, Justin Pettit wrote: > The best way to see what was fixed is to look at the commit history. Here's > the github history for branch-2.3: > > https://github.c

Re: [ovs-dev] OVS 2.3.2 bug fixes

2015-08-03 Thread Justin Pettit
The best way to see what was fixed is to look at the commit history. Here's the github history for branch-2.3: https://github.com/openvswitch/ovs/commits/branch-2.3 We tag every release, and you can see the commit id on this page: https://github.com/openvswitch/ovs/tags If you

Re: [ovs-dev] [PATCH v2] Make 100 percents packets sampled when sampling rate is 1.

2015-08-03 Thread Ben Pfaff
On Sun, Aug 02, 2015 at 11:54:09PM -0700, Wenyu Zhang wrote: > When sampling rate is 1, the sampling probability is UINT32_MAX. The packet > should be sampled even the prandom32() generate the number of UINT32_MAX. > And none packet need be sampled when the probability is 0. If we have code that g

Re: [ovs-dev] [PATCH] openvswitch: Fix L4 checksum handling when dealing with IP fragments

2015-08-03 Thread Pravin Shelar
On Sat, Aug 1, 2015 at 6:31 PM, Glenn Griffin wrote: > openvswitch modifies the L4 checksum of a packet when modifying > the ip address. When an IP packet is fragmented only the first > fragment contains an L4 header and checksum. Prior to this change > openvswitch would modify all fragments, modi

Re: [ovs-dev] [PATCH 1/2] datapath-windows: Process tunnel filter requests iteratively

2015-08-03 Thread Nithin Raju
> On Jul 15, 2015, at 1:55 AM, Sorin Vinturis > wrote: > > In order to support IRP cancelling mechanism for pending IRPs, all > tunnel filter requests, VXLAN tunnel create/delete, need to be > processed iteratively. > > Signed-off-by: Sorin Vinturis > --- > datapath-windows/ovsext/TunnelFilte

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

2015-08-03 Thread Nithin Raju
> On Jul 3, 2015, at 8:36 AM, Sorin Vinturis > wrote: > > > +__inline BOOLEAN OvsBufferIsEmpty(char *buf, size_t size) > +{ > +return (buf[0] == 0 && !memcmp(buf, buf + 1, size - 1)); > +} > + The reason 'instance->dumpState.ovsMsg’ was a pointer and not a structure originally was to sav

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

2015-08-03 Thread Nithin Raju
> On Jul 2, 2015, at 4:39 AM, Sorin Vinturis > wrote: > > This BSOD occurred in the context of a packet (NBL) with multiple > NET_BUFFER(s) (NBs). The reason for the BSOD is due to the marking > of NBLs created by OVS as being external and wrongly completing them. > > Signed-off-by: Sorin Vintu

Re: [ovs-dev] [PATCH] datapath-windows: Solved BSOD when handling flows

2015-08-03 Thread Nithin Raju
> On Jul 1, 2015, at 10:28 AM, Sorin Vinturis > wrote: > > OvsPrepareFlow() returns an error only when the new flow allocation > fails. In this case HandleFlowPut() should return error without trying > to free the flow, thus avoiding the BSOD. > > Signed-off-by: Sorin Vinturis > Reported-by: S

Re: [ovs-dev] OVN - L3 Gap between NB schema and Neutron

2015-08-03 Thread Russell Bryant
On 08/03/2015 03:36 AM, Amitabha Biswas wrote: > Hi, > > I think Gal is saying the following - ml2 allows the following: > > VM (10.0.0.2) --- Logical_Switch (10.0.0.2) LogicalRouter > | | > | | > VM

Re: [ovs-dev] [PATCH v5 2/6] ovn: Add bridge mappings to ovn-controller.

2015-08-03 Thread Russell Bryant
On 07/31/2015 10:09 PM, Russell Bryant wrote: > On 07/31/2015 07:07 PM, Ben Pfaff wrote: >> I think that the code is intended to remove the patch ports when they >> are not longer needed, but when I followed up with: >> >> ovs-vsctl remove open . external-ids ovn-bridge-mappings >> ovs-vsct

Re: [ovs-dev] [PATCH v5 2/6] ovn: Add bridge mappings to ovn-controller.

2015-08-03 Thread Russell Bryant
On 08/03/2015 02:00 AM, Alex Wang wrote: > Could we also add the explanation of "ovn-bridge-mappings" in ovn-controller > manpage? Sure, that's a good idea. Thanks. -- Russell Bryant ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mail

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

2015-08-03 Thread Nithin Raju
> On Aug 2, 2015, at 9:33 PM, Sorin Vinturis > wrote: > > Hi Nithin, > > Yes, the second check, from the 564 line, is caught by the case when the > OvsInitExternalNBLContext() function is called with the NBL created by > OvsPartialCopyNBL(). Right, so, do we still need your patch since L564

Re: [ovs-dev] OVS 2.3.2 bug fixes

2015-08-03 Thread Karnataki, Gururaj
Hello Team, Requesting you to please let me know for the confirmed list of bug fixes for OVS 2.3.2 within earliest possible timeframe. Thanking you all in advance !!! Warm Regards, Gururaj Karnataki Product Engineer, Systems Integrator NTT Communications powered by Virtela Desk +1-720-475-92

Re: [ovs-dev] [PATCH 22/22] ovn: Change strategy for tunnel keys.

2015-08-03 Thread Justin Pettit
> On Aug 2, 2015, at 10:03 PM, Alex Wang wrote: > > Wow, this is really a big patch~ deserves multiple reviews~ I think I'll > re- > review it later~ Hi, Alex. I've got the patch mostly reviewed and will finish the final part in the morning. It would be great to have another set of eyes re

Re: [ovs-dev] [PATCH v2 21/21] ovn: Change strategy for tunnel keys.

2015-08-03 Thread Justin Pettit
> On Jul 28, 2015, at 8:44 AM, Ben Pfaff wrote: > Thanks, Ben. This is a great patch. I still owe you a review on the function physical_run(), but it's fairly complicated, and my reviewing powers are rapidly weakening. I'll finish the review in the morning, but wanted to give you some ear

Re: [ovs-dev] [Patch v1 0/3]Implementation of OpenFlow 1.4 Vacancy Events

2015-08-03 Thread Saloni Jain
Hi Ben, Greetings! This is in reference to the patch series "Implementation of OpenFlow 1.4 Vacancy Events" which is under review. 1. [PATCH v1 1/3] : Implement Openflow 1.4 Vacancy Events for OFPT_TABLE_MOD. 2. [PATCH v1 2/3] : Implement Vacancy Events for OFPMP_TABLE_DESC. 3. [PATCH v1 3/3]

Re: [ovs-dev] OVN - L3 Gap between NB schema and Neutron

2015-08-03 Thread Amitabha Biswas
Hi, I think Gal is saying the following - ml2 allows the following: VM (10.0.0.2) --- Logical_Switch (10.0.0.2) LogicalRouter | | | | VM (10.0.1.2) ++-(10.0.1.2) LogicalRouter

[ovs-dev] [PATCH v1] netdev: Make 100 percents packets sampled when sampling rate is 1.

2015-08-03 Thread Wenyu Zhang
When sampling rate is 1, the sampling probability is UINT32_MAX. The packet should be sampled even the prandom32() generate the number of UINT32_MAX. And none packet need be sampled when the probability is 0. Signed-off-by: Wenyu Zhang --- net/openvswitch/actions.c |4 +++- 1 file changed, 3