Re: [ovs-dev] [PATCH OVS 2/4] dpif-netdev: Add burst size to buckets

2020-05-08 Thread Tonghao Zhang
On Sat, May 9, 2020 at 7:23 AM William Tu wrote: > > On Thu, Apr 30, 2020 at 07:00:37PM +0800, xiangxia.m@gmail.com wrote: > > From: Tonghao Zhang > > > > For now, the meter of the userspace datapath, don't include > > the bucket burst size to buckets. This patch includes it now. > > > > Cc:

Re: [ovs-dev] [PATCH OVS 3/4] dpif-netdev: Use the u32 instead of u64 for buckets

2020-05-08 Thread Tonghao Zhang
On Sat, May 9, 2020 at 7:12 AM William Tu wrote: > > On Thu, Apr 30, 2020 at 07:00:38PM +0800, xiangxia.m@gmail.com wrote: > > From: Tonghao Zhang > > > > When setting the meter rate to 4+Gbps, there is an overflow, the > > meters don't work as expected. > > > > Cc: Ilya Maximets > > Cc:

Re: [ovs-dev] [PATCH OVS 2/4] dpif-netdev: Add burst size to buckets

2020-05-08 Thread William Tu
On Thu, Apr 30, 2020 at 07:00:37PM +0800, xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > For now, the meter of the userspace datapath, don't include > the bucket burst size to buckets. This patch includes it now. > > Cc: Ilya Maximets > Cc: William Tu > Cc: Jarno Rajahalme > Cc:

Re: [ovs-dev] [PATCH OVS 3/4] dpif-netdev: Use the u32 instead of u64 for buckets

2020-05-08 Thread William Tu
On Thu, Apr 30, 2020 at 07:00:38PM +0800, xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > When setting the meter rate to 4+Gbps, there is an overflow, the > meters don't work as expected. > > Cc: Ilya Maximets > Cc: William Tu > Cc: Jarno Rajahalme > Cc: Ben Pfaff > Cc: Andy Zhou

[ovs-dev] [PATCH] RAFT: Add clarifying note for cluster/leave operation.

2020-05-08 Thread Mark Michelson
We had a user express confusion about the state of a cluster after using cluster/leave. The user had a three server cluster and used cluster/leave to remove two servers from the cluster. The user expected that the single server left would not function since the quorum of two servers for a three

[ovs-dev] Clasificación de Riesgo de los Trabajadores

2020-05-08 Thread Guía - Secretaría de trabajo y previsión social
Ante la situación de emergencia ocasionada por la pandemia del COVID-19, la STPS ha publicado una Guía de Acción en los Centros de Trabajo con una serie de recomendaciones prácticas para la planeación, capacitación, implementación, protección y monitoreo de las medidas adoptadas para la

[ovs-dev] [PATCH ovn] Don't use strcmp for MAC addresses

2020-05-08 Thread Mark Michelson
strcmp() for MAC addresses will detect that MAC addresses are different if they use different capitalization. This fixes the issue by converting MAC strings to struct eth_addr and comparing those instead. This specifically is done when MAC addresses are provided via user-input. For cases where

Re: [ovs-dev] [PATCH ovn] docs: update various OVS references to OVN

2020-05-08 Thread Dan Williams
On Fri, 2020-05-08 at 12:46 +0530, Numan Siddique wrote: > On Fri, May 8, 2020 at 12:29 PM wrote: > > > From: Dan Williams > > > > Submitted-at: https://github.com/ovn-org/ovn/pull/40 > > Signed-off-by: Dan Williams > > Signed-off-by: Numan Siddique > > > > Thanks Dan for improving the OVN

Re: [ovs-dev] OVN 20.06 Soft Freeze Today

2020-05-08 Thread Numan Siddique
On Fri, May 8, 2020 at 9:58 PM Ihar Hrachyshka wrote: > Hi all, > > I would like the series to support multiple localnet ports per switch > ("routed provider networks for OpenStack") considered for inclusion. > > The series is here: >

Re: [ovs-dev] [PATCH ovn 5/6 v3] Support logical switches with multiple localnet ports

2020-05-08 Thread Ihar Hrachyshka
On 5/8/20 11:44 AM, Ihar Hrachyshka wrote: Assuming only a single localnet port is actually plugged mapped on each chassis, this allows to maintain disjoint networks plugged to the same switch. This is useful to simplify resource management for OpenStack "routed provider networks" feature [1]

Re: [ovs-dev] [PATCH OVS 4/4] revert: dpif-netdev: includes microsecond delta in meter bucket calculation

2020-05-08 Thread William Tu
On Fri, May 8, 2020 at 1:11 AM 姜立东 wrote: > > Oh, this is due to patch porting from 2.10. > Between latest and 2.10, commit 42697ca77 is introduced to fix millisecond > token insertion rate as below. > /* All packets will hit the meter at the same time. */ > -long_delta_t = (now -

Re: [ovs-dev] OVN 20.06 Soft Freeze Today

2020-05-08 Thread Ihar Hrachyshka
Hi all, I would like the series to support multiple localnet ports per switch ("routed provider networks for OpenStack") considered for inclusion. The series is here: https://patchwork.ozlabs.org/project/openvswitch/list/?series=173328 There's an updated (v3) version of 5/6 patch from the

Re: [ovs-dev] [PATCH ovn 5/6 v2] Support logical switches with multiple localnet ports

2020-05-08 Thread Ihar Hrachyshka
Hi Han, thanks a lot for your comments. I've just sent v3 of the patch that should cover issues you mentioned. More comments inline below. Thanks! Ihar On 5/5/20 2:31 AM, Han Zhou wrote: On Mon, May 4, 2020 at 9:52 AM Ihar Hrachyshka > wrote: > > On Fri, May

[ovs-dev] [PATCH ovn 5/6 v3] Support logical switches with multiple localnet ports

2020-05-08 Thread Ihar Hrachyshka
Assuming only a single localnet port is actually plugged mapped on each chassis, this allows to maintain disjoint networks plugged to the same switch. This is useful to simplify resource management for OpenStack "routed provider networks" feature [1] where a single "network" (which traditionally

Re: [ovs-dev] OVS Userspace: Usecase with multiple vxlan tunnels

2020-05-08 Thread William Tu
On Wed, May 6, 2020 at 1:41 PM Vasu Dasari wrote: > > Thanks William. Does your statement mean, by network design, vxlan tunnel > ports and underlay bridge ports should not be part of a single bridge domain? > I saw your second email is using two bridges and usually that's how people use it.

Re: [ovs-dev] [RFC v2 PATCH 4/4] bpf: Add reference XDP program implementation for netdev-offload-xdp

2020-05-08 Thread William Tu
On Thu, May 7, 2020 at 7:56 AM Toshiaki Makita wrote: > > On 2020/05/06 0:18, William Tu wrote: > > On Tue, May 05, 2020 at 11:43:58AM +0900, Toshiaki Makita wrote: > >> On 2020/05/04 1:22, William Tu wrote: > >>> On Tue, Apr 21, 2020 at 11:47:04PM +0900, Toshiaki Makita wrote: > This adds a

[ovs-dev] Message From: Edward Wilson!!!

2020-05-08 Thread Edward Wilson
Attn Dear, I am contacting you in view of the fact we will be of Great assistance to each other, like developing business relationship. I am Mr. Edward Wilson the Auditor General of one of the prime banks here in Ghana, during the course of our auditing, I discovered a floating fund in an

Re: [ovs-dev] [RFC v2 PATCH 3/4] netdev-offload: Add xdp flow api provider

2020-05-08 Thread William Tu
On Thu, May 7, 2020 at 7:40 AM Toshiaki Makita wrote: > > On 2020/05/06 0:37, William Tu wrote: > > On Tue, Apr 21, 2020 at 11:47:03PM +0900, Toshiaki Makita wrote:... > >> +/* Convert odp_port to devmap_idx in output action */ > >> +static int > >> +convert_port_to_devmap_idx(struct nlattr

Re: [ovs-dev] netdev-afxdp on rhel8.0 rhel8.1 rhel8.2

2020-05-08 Thread William Tu
Hi Eelco, Thanks for your suggestion. The xdpsock on rhel8.0 works ok, so I guess there are some difference in netdev-afxdp.c. We will debug it more and find a solution. William On Thu, May 7, 2020 at 12:26 AM Eelco Chaudron wrote: > > Hi William, > > I have not tried running XDP on RHEL for a

Re: [ovs-dev] [PATCH ovn] doc: redirect-type incorrectly called out as redirect-chassis

2020-05-08 Thread Numan Siddique
On Fri, May 8, 2020 at 3:17 PM wrote: > From: Girish Moodalbail > > the redirect-type option is being incorrectly called out as > redirect-chassis so fix the references > > Submitted-at: https://github.com/ovn-org/ovn/pull/44 > Signed-off-by: Girish Moodalbail > Signed-off-by: Numan Siddique

[ovs-dev] [PATCH ovn] doc: redirect-type incorrectly called out as redirect-chassis

2020-05-08 Thread numans
From: Girish Moodalbail the redirect-type option is being incorrectly called out as redirect-chassis so fix the references Submitted-at: https://github.com/ovn-org/ovn/pull/44 Signed-off-by: Girish Moodalbail Signed-off-by: Numan Siddique --- ovn-architecture.7.xml | 6 +++--- 1 file

[ovs-dev] 答复: [PATCH OVS 4/4] revert: dpif-netdev: includes microsecond delta in meter bucket calculation

2020-05-08 Thread 姜立东 via dev
Oh, this is due to patch porting from 2.10. Between latest and 2.10, commit 42697ca77 is introduced to fix millisecond token insertion rate as below. /* All packets will hit the meter at the same time. */ -long_delta_t = (now - meter->used) / 1000; /* msec */ +long_delta_t = now /

Re: [ovs-dev] OVN 20.06 Soft Freeze Today

2020-05-08 Thread Lorenzo Bianconi
> > Hi everyone, > > As announced last week today is soft freeze for OVN. This means that any > patches for new features not already up for review will not be > considered for inclusion in 20.06. Bug fixes found between now and the > 20.06 release are of course still candidates for inclusion. > >

Re: [ovs-dev] [PATCH ovn] Fix typo for validation of logical ip in ipv6 mode.

2020-05-08 Thread Numan Siddique
On Fri, May 8, 2020 at 12:49 PM wrote: > From: Artem Teleshev > > Reported-at: https://github.com/ovn-org/ovn/issues/42 > Submitted-at: https://github.com/ovn-org/ovn/pull/43 > Signed-off-by: Artem Teleshev > Signed-off-by: Numan Siddique > --- > Thanks for the patch Artem. It was a good

[ovs-dev] [PATCH ovn] Fix typo for validation of logical ip in ipv6 mode.

2020-05-08 Thread numans
From: Artem Teleshev Reported-at: https://github.com/ovn-org/ovn/issues/42 Submitted-at: https://github.com/ovn-org/ovn/pull/43 Signed-off-by: Artem Teleshev Signed-off-by: Numan Siddique --- northd/ovn-northd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [ovs-dev] [PATCH ovn] docs: update various OVS references to OVN

2020-05-08 Thread Numan Siddique
On Fri, May 8, 2020 at 12:29 PM wrote: > From: Dan Williams > > Submitted-at: https://github.com/ovn-org/ovn/pull/40 > Signed-off-by: Dan Williams > Signed-off-by: Numan Siddique > Thanks Dan for improving the OVN documentation. I applied this patch to master. Thanks Numan > --- >

Re: [ovs-dev] [PATCH ovn] Fix small wording error in README

2020-05-08 Thread 0-day Robot
Bleep bloop. Greetings Numan Siddique, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: WARNING: Line is 81 characters long (recommended limit is 79) #157 FILE:

Re: [ovs-dev] [PATCH ovn 1/7] Remove XenServer Code

2020-05-08 Thread 0-day Robot
Bleep bloop. Greetings Numan Siddique, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. git-am: error: Failed to merge in the changes. hint: Use 'git am --show-current-patch' to see the failed

[ovs-dev] [PATCH ovn] docs: update various OVS references to OVN

2020-05-08 Thread numans
From: Dan Williams Submitted-at: https://github.com/ovn-org/ovn/pull/40 Signed-off-by: Dan Williams Signed-off-by: Numan Siddique --- CONTRIBUTING.rst | 8 Documentation/conf.py | 10 +- Documentation/contents.rst

Re: [ovs-dev] [PATCH ovn] Fix small wording error in README

2020-05-08 Thread Numan Siddique
On Fri, May 8, 2020 at 11:59 AM wrote: > From: Ryan Goulding > > Fixes a small wording error in README.rst, and reformats following lines to > adhere to a max length of 80 characters in the given context. > > Submitted-at: https://github.com/ovn-org/ovn/pull/41 > Signed-off-by: Ryan Goulding >

[ovs-dev] [PATCH ovn] Fix small wording error in README

2020-05-08 Thread numans
From: Ryan Goulding Fixes a small wording error in README.rst, and reformats following lines to adhere to a max length of 80 characters in the given context. Submitted-at: https://github.com/ovn-org/ovn/pull/41 Signed-off-by: Ryan Goulding Signed-off-by: Numan Siddique --- AUTHORS.rst | 1 +

Re: [ovs-dev] [PATCH] datapath: Add hash info to upcall.

2020-05-08 Thread Tonghao Zhang
On Mon, May 4, 2020 at 9:02 AM Han Zhou wrote: > > This patch backports below upstream patches, and add __skb_set_hash > to compat for older kernels. > > commit b5ab1f1be6180a2e975eede18731804b5164a05d > Author: Jakub Kicinski > Date: Mon Mar 2 21:05:18 2020 -0800 > > openvswitch: add

Re: [ovs-dev] [PATCH ovn 0/7] Remove unused OVS code from tree

2020-05-08 Thread Numan Siddique
On Fri, May 8, 2020 at 11:34 AM wrote: > From: Numan Siddique > > Dave Tucker proposed these patches to remove the unused OVS code > from the OVN tree as PR here - https://github.com/ovn-org/ovn/pull/38. > > This PR was unattended for a long time. It was last updated on 24th > March. Submitting

[ovs-dev] [PATCH ovn 6/7] Remove unused selinux directory

2020-05-08 Thread numans
From: Dave Tucker Submitted-at: https://github.com/ovn-org/ovn/pull/38 Signed-off-by: Dave Tucker Signed-off-by: Numan Siddique --- .travis/linux-build.sh | 2 - Makefile.am | 1 - selinux/.gitignore | 5 -- selinux/automake.mk |

[ovs-dev] [PATCH ovn 4/7] documentation: Remove unused ovsdb manpages

2020-05-08 Thread numans
From: Dave Tucker Submitted-at: https://github.com/ovn-org/ovn/pull/38 Signed-off-by: Dave Tucker Signed-off-by: Numan Siddique --- Documentation/automake.mk | 5 +- Documentation/conf.py | 6 - .../contributing/documentation-style.rst |

[ovs-dev] [PATCH ovn 7/7] Remove unused poc directory

2020-05-08 Thread numans
From: Dave Tucker Submitted-at: https://github.com/ovn-org/ovn/pull/38 Signed-off-by: Dave Tucker Signed-off-by: Numan Siddique --- Makefile.am | 4 - poc/builders/Vagrantfile| 45 --- poc/playbook-centos-builder.yml | 108 ---

[ovs-dev] [PATCH ovn 5/7] Remove Unused Third-Party Folder

2020-05-08 Thread numans
From: Dave Tucker Submitted-at: https://github.com/ovn-org/ovn/pull/38 Signed-off-by: Dave Tucker Signed-off-by: Numan Siddique --- Makefile.am | 7 +- third-party/.gitignore| 2 - third-party/README.rst| 66 - third-party/automake.mk

[ovs-dev] [PATCH ovn 3/7] Remove Appveyor

2020-05-08 Thread numans
From: Dave Tucker AppVeyor is not used for testing OVN Submitted-at: https://github.com/ovn-org/ovn/pull/38 Signed-off-by: Dave Tucker Signed-off-by: Numan Siddique --- Makefile.am | 1 - appveyor.yml | 46 -- 2 files changed, 47 deletions(-)

[ovs-dev] [PATCH ovn 2/7] Remove IPSEC

2020-05-08 Thread numans
From: Dave Tucker This code is used from the OVS tree and is not required for compilation. It should be removed so that no-one attempts to modify it. Submitted-at: https://github.com/ovn-org/ovn/pull/38 Signed-off-by: Dave Tucker Signed-off-by: Numan Siddique --- Makefile.am|

[ovs-dev] [PATCH ovn 0/7] Remove unused OVS code from tree

2020-05-08 Thread numans
From: Numan Siddique Dave Tucker proposed these patches to remove the unused OVS code from the OVN tree as PR here - https://github.com/ovn-org/ovn/pull/38. This PR was unattended for a long time. It was last updated on 24th March. Submitting here for wider audience. I think this PR can be

[ovs-dev] Loan

2020-05-08 Thread Alfred Shock via dev
Hello, Here comes an affordable loan that will change your life forever: my name is Alfred Shock, a certified lender and owner of (SA Financial Solutions), we offer all kind of loans to individual and public sector that are in need of financial assistance in a low interest rate of 2%. Do you