[ovs-dev] SHIPMENT

2020-07-24 Thread MR DAVID MORRIS via dev
>From the office of MR DAVID MORRIS Administration Officer United Nations Inspection Services Atlanta, Georgia USA Hello; Our agency has in possession a parcel shipped from a government agency of the United Kingdom. During transport the package was damaged and the label became

[ovs-dev] [PATCH] ovsdb: raft: introduce cluster/connected and cluster/role commands

2020-07-24 Thread Lorenzo Bianconi
Introduce the following commands for a cluster db running raft in order to dump the connection status and the db role in the cluster: $ovs-appctl -t /var/run/ovn/ovnnb_db.ctl cluster/connected OVN_Northbound connected $ovs-appctl -t /var/run/ovn/ovnnb_db.ctl cluster/role OVN_Northbound leader

Re: [ovs-dev] [PATCH ovn v2 2/3] Use nested actions in ct_commit.

2020-07-24 Thread Numan Siddique
On Fri, Jul 24, 2020 at 1:07 AM Mark Michelson wrote: > ct_commit allow for ct_label and ct_mark to be set within. However, > there are some restrictions with the current implementation: > > * It is not possible to address the indiviual bits within the ct_mark or > ct_label. > * It is not

Re: [ovs-dev] [PATCH ovn v2 2/3] Use nested actions in ct_commit.

2020-07-24 Thread Mark Michelson
On 7/24/20 4:56 AM, Numan Siddique wrote: On Fri, Jul 24, 2020 at 1:07 AM Mark Michelson > wrote: ct_commit allow for ct_label and ct_mark to be set within. However, there are some restrictions with the current implementation: * It is not possible to

[ovs-dev] [RFC] Virtio Port Mirroring

2020-07-24 Thread Emma Finn
From: Liang-min Wang The existing port mirroring uses packet copy to replicate the traffic from the mirror target site. This patch replaces the packet copy with hardware (NIC) device mirroring which is available in many NICs. Our benchmark shows (detail test setup can be found in a paper that

Re: [ovs-dev] [PATCH ovn v2 3/3] Add ECMP symmetric replies.

2020-07-24 Thread Mark Michelson
On 7/24/20 8:40 AM, Numan Siddique wrote: On Fri, Jul 24, 2020 at 1:07 AM Mark Michelson > wrote: When traffic arrives over an ECMP route, there is no guarantee that the reply traffic will egress over the same route. Sometimes, the nature of the

Re: [ovs-dev] [PATCH ovn v2 3/3] Add ECMP symmetric replies.

2020-07-24 Thread Numan Siddique
On Fri, Jul 24, 2020 at 1:07 AM Mark Michelson wrote: > When traffic arrives over an ECMP route, there is no guarantee that the > reply traffic will egress over the same route. Sometimes, the nature of > the traffic (or the intervening equipment) means that it is important > for reply traffic to

[ovs-dev] [RFC] Add support for Virtio Port Mirroring

2020-07-24 Thread Emma Finn
From: Liang-min Wang Extends the existing mirror configuration parameters The following parameters are added: - mirror-offload: to turn on/off mirror offloading. - output-port-name: specify a port, using name string, that is on a different bridge - bond-port-other: to choose default

Re: [ovs-dev] [PATCHv2] python: fixed package dependency

2020-07-24 Thread Gregory Rose
On 7/23/2020 11:24 AM, Ilya Maximets wrote: On 7/23/20 6:40 PM, Gregory Rose wrote: On 7/23/2020 7:36 AM, William Tu wrote: On Wed, Jul 22, 2020 at 3:22 PM Gregory Rose wrote: On 7/22/2020 2:25 PM, Toms Atteka wrote: Python3 does not have python3-twisted-web. Required codebase is

Re: [ovs-dev] [PATCH] tests: Refactor the iptables accept rule.

2020-07-24 Thread Gregory Rose
On 7/23/2020 9:35 AM, William Tu wrote: Certain Linux distributions, like CentOS, have default iptable rules to reject input traffic from br-underlay. Refactor by creating a macro 'IPTABLES_ACCEPT([bridge])' for adding the accept rule to the iptable input chain. Signed-off-by: William Tu

Re: [ovs-dev] [PATCH ovn v2 2/3] Use nested actions in ct_commit.

2020-07-24 Thread Numan Siddique
On Sat, Jul 25, 2020 at 12:25 AM Mark Michelson wrote: > On 7/24/20 9:46 AM, Mark Michelson wrote: > > On 7/24/20 4:56 AM, Numan Siddique wrote: > >> > >> > >> On Fri, Jul 24, 2020 at 1:07 AM Mark Michelson >> > wrote: > >> > >> ct_commit allow for ct_label and

Re: [ovs-dev] [PATCH ovn v2 2/3] Use nested actions in ct_commit.

2020-07-24 Thread Mark Michelson
On 7/24/20 9:46 AM, Mark Michelson wrote: On 7/24/20 4:56 AM, Numan Siddique wrote: On Fri, Jul 24, 2020 at 1:07 AM Mark Michelson mailto:mmich...@redhat.com>> wrote: ct_commit allow for ct_label and ct_mark to be set within. However, there are some restrictions with the current

[ovs-dev] [PATCH ovn] ovn-controller: Fix the missing flows when logical router port is added after its peer.

2020-07-24 Thread numans
From: Numan Siddique When the logical router port is created by CMS after its peer port is created like below, ovn-controller doesn't add the logical router to the local_datapaths and hence misses programming the flows for the router datapath if the logical switch has logical ports which are

[ovs-dev] [PATCH ovn v2] ovn-controller: Fix the missing flows when logical router port is added after its peer.

2020-07-24 Thread numans
From: Numan Siddique When the logical router port is created by CMS after its peer port is created like below, ovn-controller doesn't add the logical router to the local_datapaths and hence misses programming the flows for the router datapath if the logical switch has logical ports which are

Re: [ovs-dev] [PATCH ovn] ovn-controller: Fix the missing flows when logical router port is added after its peer.

2020-07-24 Thread Mark Michelson
Hi Numan, just one comment down below: On 7/24/20 3:38 PM, num...@ovn.org wrote: From: Numan Siddique When the logical router port is created by CMS after its peer port is created like below, ovn-controller doesn't add the logical router to the local_datapaths and hence misses programming

[ovs-dev] Competencias laborales post Covid-19

2020-07-24 Thread Webinar Gratis
Buenos día Quise aprovechar la oportunidad de hacerte una invitación para tomar nuestro Webinar Gratis: Nombre: Competencias laborales post Covid-19 Fecha: Miércoles 29 de Julio Horario: 10:00 am a 14:00 pm Formato: En línea con interacción en vivo. Lugar: En Vivo desde su computadora

[ovs-dev] INFO: task hung in ovs_dp_cmd_del

2020-07-24 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e0145983 Merge branch 'fix-bpf_get_stack-with-PEBS' git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=16ce401f10 kernel config: https://syzkaller.appspot.com/x/.config?x=2b7b67c0c1819c87 dashboard

Re: [ovs-dev] [PATCH net-next] net: openvswitch: fixes potential deadlock in dp cleanup code

2020-07-24 Thread David Miller
From: Eelco Chaudron Date: Fri, 24 Jul 2020 10:20:59 +0200 > The previous patch introduced a deadlock, this patch fixes it by making > sure the work is canceled without holding the global ovs lock. This is > done by moving the reorder processing one layer up to the netns level. > > Fixes:

Re: [ovs-dev] [PATCH ovs v2] dpctl-netdev: Add the option "pmd" for dump-flows

2020-07-24 Thread 0-day Robot
Bleep bloop. Greetings Tonghao Zhang, 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 175 characters long (recommended limit is 79) #113 FILE: lib/dpctl.man:107:

Re: [ovs-dev] [PATCH net-next v2 2/2] net: openvswitch: make masks cache size configurable

2020-07-24 Thread Eelco Chaudron
On 23 Jul 2020, at 18:42, Jakub Kicinski wrote: On Thu, 23 Jul 2020 14:58:31 +0200 Eelco Chaudron wrote: + if ((size & (size - 1)) != 0 || is_power_of_2() ? Was not aware of this macro, will replace… + (size * sizeof(struct mask_cache_entry)) > PCPU_MIN_UNIT_SIZE) +

[ovs-dev] [PATCH net-next] net: openvswitch: fixes potential deadlock in dp cleanup code

2020-07-24 Thread Eelco Chaudron
The previous patch introduced a deadlock, this patch fixes it by making sure the work is canceled without holding the global ovs lock. This is done by moving the reorder processing one layer up to the netns level. Fixes: eac87c413bf9 ("net: openvswitch: reorder masks array based on usage")

Re: [ovs-dev] [PATCH ovs v2] dpctl-netdev: Add the option "pmd" for dump-flows

2020-07-24 Thread Tonghao Zhang
On Fri, Jul 24, 2020 at 4:01 PM 0-day Robot wrote: > > Bleep bloop. Greetings Tonghao Zhang, 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 175

Re: [ovs-dev] [PATCH ovn v2 1/3] Add IP address normalization to ovn-utils.

2020-07-24 Thread Numan Siddique
On Fri, Jul 24, 2020 at 1:07 AM Mark Michelson wrote: > This moves a couple of existing IP address normalization routines from > ovn-nbctl.c to ovn-util.c. It also adds a new normalization function for > a v46_address. This new function is not used in this commit but will be > used in a future

[ovs-dev] [PATCH ovs v2] dpctl-netdev: Add the option "pmd" for dump-flows

2020-07-24 Thread xiangxia . m . yue
From: Tonghao Zhang "ovs-appctl dpctl/dump-flows" added the option "pmd" which allow user to dump pmd specified. That option is useful to dump rules of pmd when we have a large number of rules in dp. Signed-off-by: Tonghao Zhang --- v2: * rebase the codes * add usage --- NEWS