Re: [ovs-dev] [PATCH] vhost: return -EAGAIN during unregistering vhost if it is busy.

2020-04-27 Thread Maxime Coquelin
On 3/18/20 4:31 AM, 王志克 wrote: > Involve openvswitch group since this fix is highly coupled with OVS. > welcome comment. > At 2020-03-12 17:57:19, "Zhike Wang" wrote: >> The vhost_user_read_cb() and rte_vhost_driver_unregister() >> can be called at the same time by 2 threads, and may lead to dea

Re: [ovs-dev] [PATCH ovn v1] tests: Fix failures in 4 HV, 1 LS, 1 LR, packet test with HA dist rtr gw prt

2020-04-27 Thread Numan Siddique
On Thu, Apr 23, 2020 at 6:06 PM Flavio Fernandes wrote: > > The test case "76: ovn -- 4 HV, 1 LS, 1 LR, packet test with HA > distributed router gateway port" fails sometimes. This patch fixes > this by leveraging the command ovn-nbctl sync. It also adds a > delay before sending a packet between f

Re: [ovs-dev] [PATCH ovn v1] NAT: port range cannot be stateless

2020-04-27 Thread Numan Siddique
On Thu, Apr 23, 2020 at 12:55 AM Ankur Sharma wrote: > > Hi Flavio, > > Changes look fine to me. > > Acked-by: Ankur Sharma > > Regards, > Ankur > > From: dev on behalf of Flavio Fernandes > > Sent: Wednesday, April 22, 2020 3:07 AM > To: d...@openvswitch.org >

Re: [ovs-dev] [PATCH ovn v4] tests: Fix failures in 1 LR with distributed router gateway port

2020-04-27 Thread Numan Siddique
On Thu, Apr 23, 2020 at 7:16 PM Numan Siddique wrote: > > On Thu, Apr 23, 2020 at 6:35 PM Numan Siddique wrote: > > > > On Thu, Apr 23, 2020 at 12:55 AM Dumitru Ceara wrote: > > > > > > On 4/22/20 9:05 PM, Flavio Fernandes wrote: > > > > The test case "78: ovn -- 1 LR with distributed router gat

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

2020-04-27 Thread Dumitru Ceara
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 issue > with tcp_reset OVN action. In order to fix that issue, this commit added > logical flows to skip all the TCP RST packets from conntrack. > Ideally i

[ovs-dev] [PATCH dpdk-latest 1/3] travis: Remove explicit DPDK kmods configuration.

2020-04-27 Thread David Marchand
DPDK disabled kmods compilation in 20.02 [1]. Nothing left to be done on OVS side. 1: https://git.dpdk.org/dpdk/commit/?id=91a861e54164 Signed-off-by: David Marchand --- .travis/linux-build.sh | 4 1 file changed, 4 deletions(-) diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh

[ovs-dev] [PATCH dpdk-latest 2/3] sparse: Fix build with 20.05 DPDK tracepoints.

2020-04-27 Thread David Marchand
When building against 20.05-rc1 which introduced a tracing framework, mempool header now triggers an error with sparse. .../dpdk-dir/build/include/rte_mempool_trace_fp.h:96:1: error: undefined identifier '__atomic_load_n' .../dpdk-dir/build/include/rte_mempool_trace_fp.h:57:1: error: undefined i

[ovs-dev] [PATCH dpdk-latest 3/3] netdev-dpdk: Remove experimental API flag.

2020-04-27 Thread David Marchand
rfc4115 meter APIs are now part of 20.02 stable ABI so we can remove the forced ALLOW_EXPERIMENTAL_API define. Still, compiling against DPDK experimental API could bite us when we need one of them, add dedicated jobs in Travis. Signed-off-by: David Marchand --- .travis.yml| 4 .

Re: [ovs-dev] [PATCH ovn] IPv6 PD: time parameter checks

2020-04-27 Thread Numan Siddique
On Thu, Apr 23, 2020 at 9:55 PM Lorenzo Bianconi wrote: > > RFC3633 imposes the following constraints for IPv6 pd time parameters: > > Identity Association for Prefix Delegation Option: > -- > t1 must not be greater than t2 if both of them are greate

Re: [ovs-dev] [PATCH ovn] IPv6 PD: assume status to be Success if not present

2020-04-27 Thread Numan Siddique
On Sat, Apr 25, 2020 at 3:48 PM Lorenzo Bianconi wrote: > > According to the RFC3315 (section 22.13. Status Code Option), > if status code option is not present in the delegation server > reply, it will be assumed to be Success. In this particular case, > do not stop IPv6 PD state machine > > Sign

Re: [ovs-dev] [PATCH ovn] Disable IPv6 prefix reporting if IPv6 PD is disabled

2020-04-27 Thread Numan Siddique
On Wed, Apr 22, 2020 at 7:43 PM Lorenzo Bianconi wrote: > > Disable IPv6 prefix delegation reporting in Logical_Router_Port table if > IPv6 prefix delegation state machine has been disabled for the related > logical router port > > Signed-off-by: Lorenzo Bianconi Thanks Lorenzo. I applied this p

Re: [ovs-dev] [PATCH ovn v2] Add support for DHCP options 35 and 38

2020-04-27 Thread Numan Siddique
On Thu, Apr 23, 2020 at 9:08 PM wrote: > > From: Lucas Alvares Gomes > > This patch is adding support for two new DHCP options: > > * Option 35, ARP timeout: > http://www.networksorcery.com/enp/protocol/bootp/option035.htm > * Option 38, TCP Keepalive interval: > http://www.networksorcery.com

[ovs-dev] (no subject)

2020-04-27 Thread Vanessa Rich
-- Ich bin Maureen Hinckley aus Sterling Massachusetts. Meine Stiftung spendet fünfhundertfünfzigtausend Dollar an Sie ... Kontaktieren Sie uns für weitere Informationen E-Mail: maureenhinckle...@aol.com ___ dev mailing list d...@openvswitch.org https://

[ovs-dev] Windows OVS issue

2020-04-27 Thread Wenying Dong
Hi, I am using OVS on Windows Server 2019 to provide container networking. OpenFlow is used to support both container and host networking, and OVS conntrack feature is also used on my setup. I find a lot of error or warning in ovs-vswitchd log, are there any thoughts about the errors? e.g., 20

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

2020-04-27 Thread Lorenzo Bianconi
> > 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 > > issue > > with tcp_reset OVN action. In order to fix that issue, this commit added > > logical flows to skip all the TCP RST packets from conn

Re: [ovs-dev] [PATCH] Switch ovsdb log fsync to data only

2020-04-27 Thread William Tu
On Tue, Apr 21, 2020 at 05:24:01PM +0100, Anton Ivanov wrote: > > On 21/04/2020 17:04, William Tu wrote: > >On Tue, Apr 21, 2020 at 09:23:57AM +0100, anton.iva...@cambridgegreys.com > >wrote: > >>From: Anton Ivanov > >> > >>We do not check metadata - mtime, atime, anywhere, so we > >>do not need

Re: [ovs-dev] [PATCH] Fast path in vlog

2020-04-27 Thread William Tu
On Tue, Apr 21, 2020 at 08:57:04AM -0700, William Tu wrote: > On Tue, Apr 21, 2020 at 09:24:38AM +0100, anton.iva...@cambridgegreys.com > wrote: > > From: Anton Ivanov > > > > Avoid grabbing any mutexes if the log levels specify that > > no logging is to take place. > > > > Signed-off-by: Anton

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

2020-04-27 Thread Numan Siddique
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 > > > issue > > > with tcp_reset OVN action. In order to fix that issue, this

Re: [ovs-dev] [PATCH] ovsdb: Remove duplicated function defintions

2020-04-27 Thread William Tu
On Tue, Apr 21, 2020 at 03:09:05PM -0700, Yi-Hung Wei wrote: > ovsdb_function_from_string() and ovsdb_function_to_string() are defined > both in ovsdb/condition.c and lib/ovsdb-condidtion.c with the same function > definition. Remove the one in ovsdb/condition.c to avoid duplication. > > This als

[ovs-dev] [PATCHv4 1/2] conntrack: Fix icmp conntrack state.

2020-04-27 Thread William Tu
ICMP conntrack state should be ICMPS_REPLY after seeing both side of ICMP traffic. Signed-off-by: William Tu --- lib/conntrack-icmp.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/conntrack-icmp.c b/lib/conntrack-icmp.c index 63246f0124d0..6cbf9656dd93 100644 ---

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

2020-04-27 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.

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

2020-04-27 Thread Lorenzo Bianconi
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 for rate and burst will be mapped to the same ovs kernel mater and will share the bandwidth. Fix t

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

2020-04-27 Thread William Tu
GTP-U support should be at OVS-2.14. Signed-off-by: William Tu --- Documentation/faq/releases.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst index b3507bd1c7fa..f170ebd3ff22 100644 --- a/Documentation/faq/re

Re: [ovs-dev] [PATCH dpdk-latest 3/3] netdev-dpdk: Remove experimental API flag.

2020-04-27 Thread Ilya Maximets
On 4/27/20 12:25 PM, David Marchand wrote: > rfc4115 meter APIs are now part of 20.02 stable ABI so we can remove the > forced ALLOW_EXPERIMENTAL_API define. > Still, compiling against DPDK experimental API could bite us when we need > one of them, add dedicated jobs in Travis. Hi, David. I didn'

[ovs-dev] [PATCH] AUTHORS: Add Anton Ivanov.

2020-04-27 Thread William Tu
Signed-off-by: William Tu --- AUTHORS.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS.rst b/AUTHORS.rst index 61a3f6117900..5d83d309ccd5 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -60,6 +60,7 @@ Andy Zhou az...@ovn.org Ankur Sharma

Re: [ovs-dev] [PATCHv5] netdev-afxdp: Add interrupt mode netdev class.

2020-04-27 Thread William Tu
On Tue, Apr 14, 2020 at 6:23 AM William Tu wrote: > > The patch adds a new netdev class 'afxdp-nonpmd' to enable afxdp > interrupt mode. This is similar to 'type=afxdp', except that the > is_pmd field is set to false. As a result, the packet processing > is handled by main thread, not pmd thread.

Re: [ovs-dev] [PATCHv9 1/2] userspace: Enable TSO support for non-DPDK.

2020-04-27 Thread William Tu
On Tue, Mar 24, 2020 at 3:11 PM William Tu wrote: > > This patch enables TSO support for non-DPDK use cases, and > also add check-system-tso testsuite. Before TSO, we have to > disable checksum offload, allowing the kernel to calculate the > TCP/UDP packet checsum. With TSO, we can skip the checks

Re: [ovs-dev] [PATCHv5] netdev-afxdp: Add interrupt mode netdev class.

2020-04-27 Thread Ilya Maximets
On 4/27/20 5:54 PM, William Tu wrote: > On Tue, Apr 14, 2020 at 6:23 AM William Tu wrote: >> >> The patch adds a new netdev class 'afxdp-nonpmd' to enable afxdp >> interrupt mode. This is similar to 'type=afxdp', except that the >> is_pmd field is set to false. As a result, the packet processing >

[ovs-dev] Invitation to Bid

2020-04-27 Thread RFQ
Good day, The municipality would like to extend an invitation to your company to supply the attached product(s). Some of the product(s) that we may request may fall out of your scope of work, Therefore we would like you to outsource for the product(s) and supply the Municipality as we are ur

[ovs-dev] Product Inquiry

2020-04-27 Thread Mr. Okrapah Adjei
Dear Sir, We got your company information through an exhaustive search. Our scope is basically to search for foreign companies to bid for contract supply on commission basis. We are interested in buying your products in a larger quantity if only you can supply and open for business. Best Rega

[ovs-dev] Failed to execute unit test: system-traffic.at: conntrack - floating IP

2020-04-27 Thread Vasu Dasari
Hi, I am running into an error when I try to run the system-traffic test case - "conntrack - floating IP". Actually, any test case which is using this in the testsuite is failing: ADD_VETH(p0, at_ns0, br0, "10.1.1.1/24", "f0:00:00:01:01:01") Command used to run the test: sudo make -C _build-gcc/

[ovs-dev] [PATCH] rhel: Support RHEL8.0 build and packaging

2020-04-27 Thread Yifeng Sun
This patch provides essential fixes for OVS to build and package on RHEL8.0. The required package python3-sphinx can be installed by: $ ARCH=$( /bin/arch ) $ subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms" $ yum install python3-sphinx Signed-off-by: Yifeng Sun --

Re: [ovs-dev] Failed to execute unit test: system-traffic.at: conntrack - floating IP

2020-04-27 Thread William Tu
On Mon, Apr 27, 2020 at 11:54 AM Vasu Dasari wrote: > > Hi, > > I am running into an error when I try to run the system-traffic test case - > "conntrack - floating IP". Actually, any test case which is using this in > the testsuite is failing: > ADD_VETH(p0, at_ns0, br0, "10.1.1.1/24", "f0:00:00:0

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

2020-04-27 Thread 姜立东 via dev
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 should be moved to netdev_stats_from_ovs_vport_stats :), that explains what n

[ovs-dev] Regards,

2020-04-27 Thread Reneta Williams
Greetings Dearest One, How are you today, together with your family?Hope fine.I would like to use this opportunity to introduce myself to you. I am Miss Reneta Williams, From Benin Republic, West Africa. And my late parents are Mr. and Mrs. Dikko Williams; my father was a highly reputable business