Re: [ovs-dev] 答复: 答复: [PATCH] netdev-linux: remove sum of vport stats and kernel netdev stats

2020-04-29 Thread Pravin Shelar
On Wed, Apr 29, 2020 at 11:07 AM William Tu wrote: > > On Tue, Apr 28, 2020 at 03:29:10AM +, 姜立东 wrote: > > Hi William, > > > > > -/* Use kernel netdev's packet and byte counts since vport's > > > counters > > > - * do not reflect packet counts on the wire when GSO, TSO or

[ovs-dev] [PATCH v3] classifier: Prevent tries vs n_tries race leading to NULL dereference.

2020-04-29 Thread Eiichi Tsukata
Currently classifier tries and n_tries can be updated not atomically, there is a race condition which can lead to NULL dereference. The race can happen when main thread updates a classifier tries and n_tries in classifier_set_prefix_fields() and at the same time revalidator or handler thread try

Re: [ovs-dev] [PATCH v2] classifier: Prevent tries vs n_tries race leading to NULL dereference.

2020-04-29 Thread Eiichi Tsukata
Thanks for comments Ilya, > On Apr 29, 2020, at 20:17, Ilya Maximets wrote: > > On 4/22/20 10:36 AM, Eiichi Tsukata wrote: >> Currently classifier tries and n_tries can be updated not atomically, >> there is a race condition which can lead to NULL dereference. >> The race can happen when main

Re: [ovs-dev] [PATCH ovn 0/2] Make ovn-northd recover from NB/SB inconsistencies.

2020-04-29 Thread Han Zhou
On Wed, Apr 29, 2020 at 4:50 PM Han Zhou wrote: > > > > On Wed, Apr 29, 2020 at 2:45 PM Dumitru Ceara wrote: > > > > On 4/29/20 9:57 PM, Han Zhou wrote: > > > > > > > > > On Wed, Apr 29, 2020 at 12:17 PM Numan Siddique > > > wrote: > > >> > > >> > > >> > > >> On Wed, Apr

Re: [ovs-dev] [PATCH v3] [python] Handle refTable values with setkey()

2020-04-29 Thread Terry Wilson
Any chance we could get this ( 9435b0b8 ) backported to 2.13 and 2.12 (it backported cleanly and passed tests on my box). Thanks! On Fri, Mar 20, 2020 at 10:48 AM Ben Pfaff wrote: > On Fri, Mar 20, 2020 at 03:22:38PM +, Terry Wilson wrote: > > For columns like QoS.queues where we have a map

Re: [ovs-dev] [PATCH] compat: Fix ipv6_dst_lookup build error

2020-04-29 Thread William Tu
On Wed, Apr 29, 2020 at 2:41 PM Yi-Hung Wei wrote: > > The geneve/vxlan compat code base invokes ipv6_dst_lookup() which is > recently replaced by ipv6_dst_lookup_flow() in the stable kernel tree. > > This causes travis build failure: > *

Re: [ovs-dev] [PATCH ovn 0/2] Make ovn-northd recover from NB/SB inconsistencies.

2020-04-29 Thread Han Zhou
On Wed, Apr 29, 2020 at 2:45 PM Dumitru Ceara wrote: > > On 4/29/20 9:57 PM, Han Zhou wrote: > > > > > > On Wed, Apr 29, 2020 at 12:17 PM Numan Siddique > > wrote: > >> > >> > >> > >> On Wed, Apr 29, 2020 at 9:57 PM Dumitru Ceara > > wrote: > >>>

[ovs-dev] 要求报价-ev1472

2020-04-29 Thread info-sinergiatrading.pw via dev
问候! 我们随附了采购订单号RFQ-ev1472-2020文件,请您根据其指示进行送达。 如有任何疑问,请联系电子邮件或致电订购单上显示的电话号码。 请确认产品样品的可用性,然后将价格表或报价与您的目录一起发送给我们。 谢谢, Jaime Horvilleur先生 经销商助理 森雅贸易有限公司 地址:浙江省义乌市城北路A98号601室 邮编:322000 电话:Jaime Horvilleur先生(0086)148 5796 6270 唐小姐(0086)137 6792 4052 网站:www.sinergiatrading.com [1] Links:

[ovs-dev] Hope you are fine?

2020-04-29 Thread PATRICIO LEONCIO OMAR
Hope you are fine? please accept my friend request,I have something to discourse with you, ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH ovn 0/2] Make ovn-northd recover from NB/SB inconsistencies.

2020-04-29 Thread Dumitru Ceara
On 4/29/20 9:57 PM, Han Zhou wrote: > > > On Wed, Apr 29, 2020 at 12:17 PM Numan Siddique > wrote: >> >> >> >> On Wed, Apr 29, 2020 at 9:57 PM Dumitru Ceara > wrote: >>> >>> In some cases, if the NB/SB databases ovn-northd connects to are >>>

[ovs-dev] [PATCH] compat: Fix ipv6_dst_lookup build error

2020-04-29 Thread Yi-Hung Wei
The geneve/vxlan compat code base invokes ipv6_dst_lookup() which is recently replaced by ipv6_dst_lookup_flow() in the stable kernel tree. This causes travis build failure: * https://travis-ci.org/github/openvswitch/ovs/builds/681084038 This patch updates the backport logic to invoke the

Re: [ovs-dev] [PATCH ovn 0/2] Make ovn-northd recover from NB/SB inconsistencies.

2020-04-29 Thread Han Zhou
On Wed, Apr 29, 2020 at 12:17 PM Numan Siddique wrote: > > > > On Wed, Apr 29, 2020 at 9:57 PM Dumitru Ceara wrote: >> >> In some cases, if the NB/SB databases ovn-northd connects to are >> inconsistent, ovn-northd might generate transactions that fail >> continuously due to failed integrity

[ovs-dev] [PATCHv5] userspace: Add conntrack timeout policy support.

2020-04-29 Thread William Tu
Commit 1f1613183733 ("ct-dpif, dpif-netlink: Add conntrack timeout policy support") adds conntrack timeout policy for kernel datapath. This patch enables support for the userspace datapath. I tested using the 'make check-system-userspace' which checks the timeout policies for ICMP and UDP cases.

Re: [ovs-dev] [PATCH ovn 0/2] Make ovn-northd recover from NB/SB inconsistencies.

2020-04-29 Thread Numan Siddique
On Wed, Apr 29, 2020 at 9:57 PM Dumitru Ceara wrote: > In some cases, if the NB/SB databases ovn-northd connects to are > inconsistent, ovn-northd might generate transactions that fail > continuously due to failed integrity checks on the SB database server. > > The first patch of the series

Re: [ovs-dev] [PATCHv4 2/2] userspace: Add conntrack timeout policy support.

2020-04-29 Thread William Tu
On Tue, Apr 28, 2020 at 11:11:00AM -0700, Yi-Hung Wei wrote: > On Mon, Apr 27, 2020 at 8:42 AM William Tu wrote: > > > > Commit 1f1613183733 ("ct-dpif, dpif-netlink: Add conntrack timeout > > policy support") adds conntrack timeout policy for kernel datapath. > > This patch enables support for

Re: [ovs-dev] [PATCH] ovs-bugtool: Add ethtool -l for combined channel.

2020-04-29 Thread Yi-Hung Wei
On Wed, Apr 29, 2020 at 10:46 AM William Tu wrote: > > Users of netdev-afxdp has to setup the combined channel > on physical NIC. This helps debugging related issues. > Example output: > $ ethtool -l enp3s0f0 > Channel parameters for enp3s0f0: > Pre-set maximums: > RX:0 > TX:

Re: [ovs-dev] [PATCH] bugtool: Add dump-tlv-map.

2020-04-29 Thread Yi-Hung Wei
On Wed, Apr 29, 2020 at 9:30 AM William Tu wrote: > > This helps debugging the tlv map issues. > > Signed-off-by: William Tu > --- > utilities/bugtool/plugins/network-status/openvswitch.xml | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [ovs-dev] 答复: 答复: [PATCH] netdev-linux: remove sum of vport stats and kernel netdev stats

2020-04-29 Thread William Tu
On Tue, Apr 28, 2020 at 03:29:10AM +, 姜立东 wrote: > Hi William, > > > -/* Use kernel netdev's packet and byte counts since vport's > > counters > > - * do not reflect packet counts on the wire when GSO, TSO or GRO > > are > > - * enabled. */ > > Actually I think it

[ovs-dev] [PATCH] ovs-bugtool: Add ethtool -l for combined channel.

2020-04-29 Thread William Tu
Users of netdev-afxdp has to setup the combined channel on physical NIC. This helps debugging related issues. Example output: $ ethtool -l enp3s0f0 Channel parameters for enp3s0f0: Pre-set maximums: RX:0 TX:0 Other: 1 Combined: 63 Current hardware settings:

[ovs-dev] [PATCH ovn v2] controller: Use OpenFlow version 1.5

2020-04-29 Thread numans
From: Numan Siddique When adding flows to the group table, we need to use OFP15_VERSION to set the selection_method. Right now ovn-controller is setting select_method=dp_hash for OVN load balancers, but when encoding the group mod, it is ignored. Signed-off-by: Numan Siddique --- v1 -> v2

[ovs-dev] [PATCH] bugtool: Add dump-tlv-map.

2020-04-29 Thread William Tu
This helps debugging the tlv map issues. Signed-off-by: William Tu --- utilities/bugtool/plugins/network-status/openvswitch.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/utilities/bugtool/plugins/network-status/openvswitch.xml

[ovs-dev] [PATCH ovn 1/2] ovn-northd: Clear SB records depending on stale datapaths.

2020-04-29 Thread Dumitru Ceara
In case ovn-northd connects to a Southbound database that is inconsistent with the current Northbound database there might be stale records in the SB Datapath_Binding table. These records should be removed from the database and all referring records from other tables should be removed too: -

[ovs-dev] [PATCH ovn 0/2] Make ovn-northd recover from NB/SB inconsistencies.

2020-04-29 Thread Dumitru Ceara
In some cases, if the NB/SB databases ovn-northd connects to are inconsistent, ovn-northd might generate transactions that fail continuously due to failed integrity checks on the SB database server. The first patch of the series addresses inconsistencies due to stale Datapath_Binding records in

[ovs-dev] [PATCH ovn 2/2] ovn-northd: Fix tunnel_key allocation for SB records.

2020-04-29 Thread Dumitru Ceara
When generating SB records that have tunnel_keys (e.g., Datapath, Port_Binding, Multicast_Group) ovn-northd tries to reuse the tunnel_key value from the original SB record, if any available. However, there's no check for tunnel_keys that would conflict with newly allocated keys for new records.

[ovs-dev] [PATCH ovn 1/2] controller: add garbage collector for ipv6_prefixd

2020-04-29 Thread Lorenzo Bianconi
Introduce a garbage collector for stale entries in ipv6_prefixd that are no longer managed by the controller (e.g. if the processing has been disabled setting ipv6_prefix_delegation to false on all logical router ports) Tested-by: Jianlin Shi Signed-off-by: Lorenzo Bianconi ---

[ovs-dev] [PATCH ovn 2/2] IPv6 PD: disable pd processing if the router port is disabled

2020-04-29 Thread Lorenzo Bianconi
Disable IPv6 processing if the logical router port is disabled Tested-by: Jianlin Shi Signed-off-by: Lorenzo Bianconi --- northd/ovn-northd.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/northd/ovn-northd.c b/northd/ovn-northd.c index 742aad85e..e31794c4b 100644 ---

[ovs-dev] [PATCH ovn 0/2] IPv6 PD: stop processing if necessary

2020-04-29 Thread Lorenzo Bianconi
Lorenzo Bianconi (2): controller: add garbage collector for ipv6_prefixd IPv6 PD: disable pd processing if the router port is disabled controller/pinctrl.c | 12 northd/ovn-northd.c | 6 ++ 2 files changed, 18 insertions(+) -- 2.25.4

Re: [ovs-dev] [PATCH] docs: Fix GTP-U release version.

2020-04-29 Thread William Tu
On Tue, Apr 28, 2020 at 10:59:31PM +0200, Ilya Maximets wrote: > On 4/27/20 5:45 PM, William Tu wrote: > > GTP-U support should be at OVS-2.14. > > > > Signed-off-by: William Tu > > --- > > Acked-by: Ilya Maximets Applied, thanks. ___ dev mailing

Re: [ovs-dev] [PATCH v2] ofp-actions: Add delete field action

2020-04-29 Thread William Tu
On Sun, Apr 19, 2020 at 07:17:57AM -0700, William Tu wrote: > On Tue, Apr 14, 2020 at 01:33:28PM -0700, Yi-Hung Wei wrote: > > This patch adds a new OpenFlow action, delete field, to delete a > > field in packets. Currently, only the tun_metadata fields are > > supported. > > > > One use case to

Re: [ovs-dev] [PATCH ovn] controller: Use OpenFlow version 1.5

2020-04-29 Thread Numan Siddique
On Wed, Apr 29, 2020 at 5:21 PM Ilya Maximets wrote: > On 4/21/20 6:04 PM, num...@ovn.org wrote: > > From: Numan Siddique > > > > When adding flows to the group table, we need to use OFP15_VERSION to > > set the selection_method. Right now ovn-controller is setting > > select_method=dp_hash for

Re: [ovs-dev] [PATCH ovn] controller: Use OpenFlow version 1.5

2020-04-29 Thread Ilya Maximets
On 4/21/20 6:04 PM, num...@ovn.org wrote: > From: Numan Siddique > > When adding flows to the group table, we need to use OFP15_VERSION to > set the selection_method. Right now ovn-controller is setting > select_method=dp_hash for OVN load balancers, but when encoding the > group mod, it is

Re: [ovs-dev] [PATCH ovn 6/6] Log missing bridge per localnet port just once

2020-04-29 Thread Maciej Jozefczyk
Hey, I applied the series and it works with the scenario that I described earlier. Tested-By: Maciej Józefczyk On Tue, Apr 28, 2020 at 10:37 PM Ihar Hrachyshka wrote: > Having some localnet ports missing a bridge device on a particular > chassis is a supported configuration (e.g. used to

[ovs-dev] Urgent Shipping Documents

2020-04-29 Thread DHL Express
Fran�ais | English Dear d...@openvswitch.org, This is an automated message by our system to let you know that your package has been delivered to your local DHL office. Problems with delivery: Our delivery courier couldn't make the delivery of parcel due to a wrong

[ovs-dev] Ich habe Spendengelder im Wert von 4.800.000,00 Euro für Sie.

2020-04-29 Thread Tom Spende
Hallo, ich habe eine Spende im Wert von 4.800.000,00 EURO für Sie. Ich habe die America-Lotterie im Wert von 40 Millionen USD gewonnen und spende einen Teil davon an eine Wohltätigkeitsorganisation in Erinnerung an meine verstorbene Frau, die an Krebs gestorben ist. Sie können mich über

Re: [ovs-dev] [PATCH v2] classifier: Prevent tries vs n_tries race leading to NULL dereference.

2020-04-29 Thread Ilya Maximets
On 4/22/20 10:36 AM, Eiichi Tsukata wrote: > Currently classifier tries and n_tries can be updated not atomically, > there is a race condition which can lead to NULL dereference. > The race can happen when main thread updates a classifier tries and > n_tries in classifier_set_prefix_fields() and

Re: [ovs-dev] [PATCH v2 ovn] Rely on unique name for ovn qos meters

2020-04-29 Thread Numan Siddique
On Wed, Apr 29, 2020 at 3:34 PM Numan Siddique wrote: > > > On Mon, Apr 27, 2020 at 9:15 PM Lorenzo Bianconi < > lorenzo.bianc...@redhat.com> wrote: > >> ovn currently identifies qos meters according to the rate and burst values >> configured. Doing so 2 meters on the same hv assigned to 2

Re: [ovs-dev] [PATCH v2 ovn] Rely on unique name for ovn qos meters

2020-04-29 Thread Numan Siddique
On Mon, Apr 27, 2020 at 9:15 PM Lorenzo Bianconi < lorenzo.bianc...@redhat.com> wrote: > ovn currently identifies qos meters according to the rate and burst values > configured. Doing so 2 meters on the same hv assigned to 2 different > logical > switch ports and configured with the same values

Re: [ovs-dev] [PATCH ovn v2] Add SCTP load balancer test.

2020-04-29 Thread Numan Siddique
On Fri, Apr 24, 2020 at 8:41 PM Mark Michelson wrote: > This is essentially a copy of existing load balancer tests that use TCP, > but with a few modifications for SCTP. > > Userspace conntrack and SCTP do not currently mix. Therefore, the test > has been added to a new kernel-only system

Re: [ovs-dev] [PATCH ovn] Fix conntrack entry leaks because of TCP RST packets not sent to conntrack.

2020-04-29 Thread Numan Siddique
On Wed, Apr 29, 2020 at 12:21 PM Han Zhou wrote: > On Mon, Apr 27, 2020 at 8:41 AM Numan Siddique wrote: > > > > On Mon, Apr 27, 2020 at 8:40 PM Lorenzo Bianconi > > wrote: > > > > > > > > > > > On 4/24/20 9:55 AM, num...@ovn.org wrote: > > > > > From: Numan Siddique > > > > > > > > > > The

Re: [ovs-dev] [PATCH ovn] Fix conntrack entry leaks because of TCP RST packets not sent to conntrack.

2020-04-29 Thread Han Zhou
On Mon, Apr 27, 2020 at 8:41 AM Numan Siddique wrote: > > On Mon, Apr 27, 2020 at 8:40 PM Lorenzo Bianconi > wrote: > > > > > > > > On 4/24/20 9:55 AM, num...@ovn.org wrote: > > > > From: Numan Siddique > > > > > > > > The commit [1] - 28097d5adb95("Fix tcp_reset action handling") fixed an

Re: [ovs-dev] [PATCH ovn] ovn-northd: Optimize flows for LB Hairpin traffic.

2020-04-29 Thread Numan Siddique
On Tue, Apr 28, 2020 at 6:10 PM Dumitru Ceara wrote: > On 4/28/20 2:19 PM, Numan Siddique wrote: > > > > > > On Tue, Apr 28, 2020 at 4:14 PM Dumitru Ceara > > wrote: > > > > In order to detect that traffic was hairpinned due to logical switch > > load > >