Re: [ovs-dev] [PATCH v2 04/14] netdev-dpdk: Serialise non-pmds mbufs' alloc/free.

2018-07-05 Thread Eelco Chaudron
On 4 Jul 2018, at 20:06, Tiago Lam wrote: > A new mutex, 'nonpmd_mp_mutex', has been introduced to serialise > allocation and free operations by non-pmd threads on a given mempool. > > free_dpdk_buf() has been modified to make use of the introduced mutex. > > Signed-off-by: Tiago Lam LGTM,

Re: [ovs-dev] [PATCH v2 05/14] dp-packet: Fix data_len handling multi-seg mbufs.

2018-07-05 Thread Lam, Tiago
On 05/07/2018 09:59, Eelco Chaudron wrote: > > > On 4 Jul 2018, at 20:06, Tiago Lam wrote: > >> When a dp_packet is from a DPDK source, and it contains multi-segment >> mbufs, the data_len is not equal to the packet size, pkt_len. Instead, >> the data_len of each mbuf in the chain should be

Re: [ovs-dev] [PATCH v2 05/14] dp-packet: Fix data_len handling multi-seg mbufs.

2018-07-05 Thread Eelco Chaudron
On 4 Jul 2018, at 20:06, Tiago Lam wrote: When a dp_packet is from a DPDK source, and it contains multi-segment mbufs, the data_len is not equal to the packet size, pkt_len. Instead, the data_len of each mbuf in the chain should be considered while distributing the new (provided) size. To

Re: [ovs-dev] [PATCH v11 0/7] OVS-DPDK flow offload with rte_flow

2018-07-05 Thread Stokes, Ian
> Hi, > > Here is a joint work from Mellanox and Napatech, to enable the flow hw > offload with the DPDK generic flow interface (rte_flow). > > The basic idea is to associate the flow with a mark id (a unit32_t > number). > Later, we then get the flow directly from the mark id, which could

Re: [ovs-dev] [PATCH v2 05/14] dp-packet: Fix data_len handling multi-seg mbufs.

2018-07-05 Thread Eelco Chaudron
On 5 Jul 2018, at 11:54, Lam, Tiago wrote: > On 05/07/2018 09:59, Eelco Chaudron wrote: >> >> >> On 4 Jul 2018, at 20:06, Tiago Lam wrote: >> >>> When a dp_packet is from a DPDK source, and it contains multi-segment >>> mbufs, the data_len is not equal to the packet size, pkt_len. Instead, >>>

Re: [ovs-dev] [PATCH v2] dpif-netdev: Avoid reordering of packets in a batch with same megaflow

2018-07-05 Thread Ian Stokes
On 7/5/2018 12:06 AM, Vishal Deep Ajmera wrote: OVS reads packets in batches from a given port and packets in the batch are subjected to potentially 3 levels of lookups to identify the datapath megaflow entry (or flow) associated with the packet. Each megaflow entry has a dedicated buffer in

Re: [ovs-dev] [iovisor-dev] [RFC PATCH 00/11] OVS eBPF datapath.

2018-07-05 Thread Paul Chaignon
On Wed, Jul 04, 2018 at 07:25:50PM -0700, William Tu wrote: > On Tue, Jul 3, 2018 at 10:56 AM, Alexei Starovoitov > wrote: > > On Thu, Jun 28, 2018 at 07:19:35AM -0700, William Tu wrote: > >> Hi Alexei, > >> > >> Thanks a lot for the feedback! > >> > >> On Wed, Jun 27, 2018 at 8:00 PM, Alexei

Re: [ovs-dev] [iovisor-dev] [RFC PATCH 00/11] OVS eBPF datapath.

2018-07-05 Thread William Tu
> > d71962f ("bpf: allow map helpers access to map values directly") removes > that limitation from the verifier and should allow you to use map values > as map keys directly. 4.18-rc1 has it. > >> Thanks >> William Hi Paul, Thanks a lot! This is very helpful. I'm testing it now, works great so

[ovs-dev] [PATCH v3 05/14] dp-packet: Fix data_len handling multi-seg mbufs.

2018-07-05 Thread Tiago Lam
When a dp_packet is from a DPDK source, and it contains multi-segment mbufs, the data_len is not equal to the packet size, pkt_len. Instead, the data_len of each mbuf in the chain should be considered while distributing the new (provided) size. To account for the above dp_packet_set_size() has

[ovs-dev] [PATCH v3 06/14] dp-packet: Handle multi-seg mbufs in helper funcs.

2018-07-05 Thread Tiago Lam
Most helper functions in dp-packet assume that the data held by a dp_packet is contiguous, and perform operations such as pointer arithmetic under that assumption. However, with the introduction of multi-segment mbufs, where data is non-contiguous, such assumptions are no longer possible. Some

[ovs-dev] [PATCH v3 07/14] dp-packet: Handle multi-seg mubfs in shift() func.

2018-07-05 Thread Tiago Lam
In its current implementation dp_packet_shift() is also unaware of multi-seg mbufs (that holds data in memory non-contiguously) and assumes that data exists contiguously in memory, memmove'ing data to perform the shift. To add support for multi-seg mbuds a new set of functions was introduced,

[ovs-dev] [PATCH v3 13/14] dpdk-tests: Accept other configs in OVS_DPDK_START

2018-07-05 Thread Tiago Lam
As it stands, OVS_DPDK_START() won't allow other configs to be set before starting the ovs-vswitchd daemon. This is a problem since some configs, such as the "dpdk-multi-seg-mbufs=true" for enabling the multi-segment mbufs, need to be set prior to start OvS. To support other options,

[ovs-dev] [PATCH v3 14/14] dpdk-tests: End-to-end tests for multi-seg mbufs.

2018-07-05 Thread Tiago Lam
The following tests are added to the DPDK testsuite to add some coverage for the multi-segment mbufs: - Check that multi-segment mbufs are disabled by default; - Check that providing `other_config:dpdk-multi-seg-mbufs=true` indeed enables mbufs; - Using a DPDK port, send a random packet out and

Re: [ovs-dev] [PATCH] rconn: Suppress 'connected' log for unreliable connections.

2018-07-05 Thread Ben Pfaff
On Wed, Jun 20, 2018 at 10:44:51AM +0300, Ilya Maximets wrote: > Recent assertion failure fix changed rconn workflow for unreliable > connections (such as connections from ovs-ofctl) from > > |rconn|DBG|br-int<->unix#151: entering ACTIVE > |rconn|DBG|br-int<->unix#151: connection closed

[ovs-dev] [PATCH v3 01/14] netdev-dpdk: fix mbuf sizing

2018-07-05 Thread Tiago Lam
From: Mark Kavanagh There are numerous factors that must be considered when calculating the size of an mbuf: - the data portion of the mbuf must be sized in accordance With Rx buffer alignment (typically 1024B). So, for example, in order to successfully receive and capture a 1500B packet,

[ovs-dev] [PATCH v3 02/14] dp-packet: Init specific mbuf fields.

2018-07-05 Thread Tiago Lam
From: Mark Kavanagh dp_packets are created using xmalloc(); in the case of OvS-DPDK, it's possible the the resultant mbuf portion of the dp_packet contains random data. For some mbuf fields, specifically those related to multi-segment mbufs and/or offload features, random values may cause

[ovs-dev] [PATCH v3 11/14] netdev-dpdk: support multi-segment jumbo frames

2018-07-05 Thread Tiago Lam
From: Mark Kavanagh Currently, jumbo frame support for OvS-DPDK is implemented by increasing the size of mbufs within a mempool, such that each mbuf within the pool is large enough to contain an entire jumbo frame of a user-defined size. Typically, for each user-defined MTU, 'requested_mtu', a

[ovs-dev] [PATCH v3 12/14] dpdk-tests: Add uni-tests for multi-seg mbufs.

2018-07-05 Thread Tiago Lam
In order to create a minimal environment that allows the tests to get mbufs from an existing mempool, the following approach is taken: - EAL is initialised (by using the main dpdk_init()) and a (very) small mempool is instantiated (mimicking the logic in dpdk_mp_create()). This mempool

[ovs-dev] [PATCH v3 10/14] netdev-dpdk: copy large packet to multi-seg. mbufs

2018-07-05 Thread Tiago Lam
From: Mark Kavanagh Currently, packets are only copied to a single segment in the function dpdk_do_tx_copy(). This could be an issue in the case of jumbo frames, particularly when multi-segment mbufs are involved. This patch calculates the number of segments needed by a packet and copies the

Re: [ovs-dev] [PATCH v4 1/2] dpif-netdev: Add SMC cache after EMC cache

2018-07-05 Thread O Mahony, Billy
Hi Yipeng, Some further comments below. Mainly to do with readability and understanding of the changes. Regards, Billy. > -Original Message- > From: Wang, Yipeng1 > Sent: Friday, June 29, 2018 6:53 PM > To: d...@openvswitch.org > Cc: Wang, Yipeng1 ; jan.scheur...@ericsson.com; >

[ovs-dev] [PATCH v3 04/14] netdev-dpdk: Serialise non-pmds mbufs' alloc/free.

2018-07-05 Thread Tiago Lam
A new mutex, 'nonpmd_mp_mutex', has been introduced to serialise allocation and free operations by non-pmd threads on a given mempool. free_dpdk_buf() has been modified to make use of the introduced mutex. Signed-off-by: Tiago Lam Acked-by: Eelco Chaudron --- lib/netdev-dpdk.c | 30

[ovs-dev] [PATCH v3 03/14] dp-packet: Fix allocated size on DPDK init.

2018-07-05 Thread Tiago Lam
When enabled with DPDK OvS deals with two types of packets, the ones coming from the mempool and the ones locally created by OvS - which are copied to mempool mbufs before output. In the latter, the space is allocated from the system, while in the former the mbufs are allocated from a mempool,

Re: [ovs-dev] [PATCH] ofproto-macros: Ignore "Dropped # log messages" in check_logs.

2018-07-05 Thread Ben Pfaff
On Wed, Jul 04, 2018 at 04:00:26PM +0200, Timothy Redaelli wrote: > On Tue, 3 Jul 2018 11:32:18 -0700 > Ben Pfaff wrote: > > > check_logs ignores some log messages, but it wasn't smart enough to > > ignore the messages that said that the ignored messages had been > > rate-limited. This fixes

[ovs-dev] [PATCH v3 08/14] dp-packet: Handle multi-seg mbufs in resize__().

2018-07-05 Thread Tiago Lam
When enabled with DPDK OvS relies on mbufs allocated by mempools to receive and output data on DPDK ports. Until now, each OvS dp_packet has had only one mbuf associated, which is allocated with the maximum possible size, taking the MTU into account. This approach, however, doesn't allow us to

[ovs-dev] [PATCH v3 09/14] dp-packet: copy data from multi-seg. DPDK mbuf

2018-07-05 Thread Tiago Lam
From: Michael Qiu When doing packet clone, if packet source is from DPDK driver, multi-segment must be considered, and copy the segment's data one by one. Also, lots of DPDK mbuf's info is missed during a copy, like packet type, ol_flags, etc. That information is very important for DPDK to do

[ovs-dev] [PATCH v3 00/14] Support multi-segment mbufs

2018-07-05 Thread Tiago Lam
Overview This patchset introduces support for multi-segment mbufs to OvS-DPDK. Multi-segment mbufs are typically used when the size of an mbuf is insufficient to contain the entirety of a packet's data. Instead, the data is split across numerous mbufs, each carrying a portion, or

[ovs-dev] [PATCH] netdev-linux: Fix segfault in update_lag().

2018-07-05 Thread Tiago Lam
A bissect shows that commit d22f892 ("netdev-linux: monitor and offload LAG slaves to TC") introduced netdev_linux_update_lag(), which is now triggering a crash in the "datapath - ping over bond" test in system-userspace-testsuite: (gdb) bt #0 0x009762e7 in netdev_linux_update_lag

Re: [ovs-dev] OVS frozen for release

2018-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2018 at 11:16:08AM -0700, Han Zhou wrote: > Here are some patches related to bug fixes I have in mind that should be in > 2.10. > > Fixing port-group: > https://patchwork.ozlabs.org/patch/931913/ > > and the follow up patch of above one: >

Re: [ovs-dev] [PATCH] release-process.rst: Add "soft freeze" stage.

2018-07-05 Thread Ian Stokes
On 7/5/2018 9:21 PM, Ben Pfaff wrote: On Thu, Jul 05, 2018 at 07:33:06PM +0100, Ian Stokes wrote: On 7/2/2018 9:57 PM, Ben Pfaff wrote: +1. "Soft freeze" of the master branch. + + During the freeze, we ask committers to refrain from applying patches that + add new features unless those

[ovs-dev] [patch_v1] db-ctl-base: Use boolean variable values.

2018-07-05 Thread Darrell Ball
Traditionally, for boolean variables we use boolean values. Lets keep to that tradition. Hopefully, using false with a bool works with gcc 6.3.1; I use both recent versions of gcc (7.3) and older versions (4.x), but did not see the issue found in 165c1f0649af commit. Cc: Ian Stokes Fixes:

Re: [ovs-dev] [PATCH 0/3] IPsec support for tunneling

2018-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2018 at 09:29:12PM +0100, Ian Stokes wrote: > On 6/27/2018 6:58 PM, Qiuyu Xiao wrote: > >This patch series reintroduce IPsec support for OVS tunneling and adds new > >features to prepare for the OVN IPsec support. The new features are: > > > >1) Add CA-cert based authentication

Re: [ovs-dev] OVS frozen for release

2018-07-05 Thread Han Zhou
On Mon, Jul 2, 2018 at 9:48 AM, Ben Pfaff wrote: > > According to our release process, we should fork branch-2.10 from master > July 1 (yesterday), then release on August 15. I'm going to propose > that we modify this in the same way that has been successful in the > past, by calling for an

Re: [ovs-dev] [PATCH v3] ovn.at: Add stateful test for ACL on port groups.

2018-07-05 Thread Ben Pfaff
On Mon, Jun 25, 2018 at 10:03:02AM -0700, Han Zhou wrote: > A bug was reported on the feature of applying ACLs on port groups [1]. > This bug was not detected by the original test case, because it didn't > test the return traffic and so didn't ensure the stateful feature is > working. The fix [2]

Re: [ovs-dev] [PATCH] release-process.rst: Add "soft freeze" stage.

2018-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2018 at 07:33:06PM +0100, Ian Stokes wrote: > On 7/2/2018 9:57 PM, Ben Pfaff wrote: > >+1. "Soft freeze" of the master branch. > >+ > >+ During the freeze, we ask committers to refrain from applying patches > >that > >+ add new features unless those patches were already being

Re: [ovs-dev] [RFC PATCH] OVN: native support for tunnel encryption

2018-07-05 Thread Ben Pfaff
On Tue, Jul 03, 2018 at 01:13:05PM -0700, Ben Pfaff wrote: > On Mon, Jul 02, 2018 at 02:50:04PM -0700, Qiuyu Xiao wrote: > > This patch adds IPsec support for OVN tunnel. Basically, OVN offers a > > binary option to its user for encryption configuration. If the IPsec > > option is turned on, all

Re: [ovs-dev] [PATCH] release-process.rst: Add "soft freeze" stage.

2018-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2018 at 09:37:16PM +0100, Ian Stokes wrote: > On 7/5/2018 9:21 PM, Ben Pfaff wrote: > >On Thu, Jul 05, 2018 at 07:33:06PM +0100, Ian Stokes wrote: > >>On 7/2/2018 9:57 PM, Ben Pfaff wrote: > >>>+1. "Soft freeze" of the master branch. > >>>+ > >>>+ During the freeze, we ask

Re: [ovs-dev] [PATCH] db-ctl-base: Fix compilation warnings.

2018-07-05 Thread Ben Pfaff
On Wed, Jul 04, 2018 at 03:28:33PM +0100, Ian Stokes wrote: > This commit fixes uninitialized variable warnings in functions > cmd_create() and cmd_get() when compiling with gcc 6.3.1 and -Werror > by initializing variables 'symbol' and 'new' to NULL. > > Cc: Alex Wang > Fixes: 07ff77ccb82a

Re: [ovs-dev] [PATCH 2/2] ovndb-servers: Set connection table when using

2018-07-05 Thread Ben Pfaff
On Thu, Jun 21, 2018 at 01:29:52AM +0530, Numan Siddique wrote: > On Sat, Jun 9, 2018 at 7:03 AM, aginwala wrote: > > > load balancer to manage ovndb clusters via pacemaker. > > > > This is will allow setting inactivity probe on the master node. > > For pacemaker to manage ovndb resources via

Re: [ovs-dev] [PATCH] release-process.rst: Add "soft freeze" stage.

2018-07-05 Thread Ian Stokes
On 7/2/2018 9:57 PM, Ben Pfaff wrote: The last few OVS releases have included a "soft freeze" stage in the release process, but this stage has never been formalized in the documentation. This adds a description. Signed-off-by: Ben Pfaff --- Documentation/internals/release-process.rst | 87

Re: [ovs-dev] [PATCH v2] ovn-northd: Apply pre ACLs when using Port Groups

2018-07-05 Thread Ben Pfaff
On Wed, Jun 20, 2018 at 04:18:59AM +0200, Daniel Alvarez wrote: > When using Port Groups, the pre ACLs were not applied so the > conntrack action was not performed. This patch takes Port Groups > into account when processing the pre ACLs. > > As a follow up, we could enhance this patch by

Re: [ovs-dev] [RFC PATCH] OVN: native support for tunnel encryption

2018-07-05 Thread Qiuyu Xiao
Sure. I will document this. "ip xfrm state" also shows whether encryption is taking effect in the kernel. -Qiuyu On Thu, Jul 5, 2018 at 11:11 AM, Ben Pfaff wrote: > On Tue, Jul 03, 2018 at 01:13:05PM -0700, Ben Pfaff wrote: >> On Mon, Jul 02, 2018 at 02:50:04PM -0700, Qiuyu Xiao wrote: >> >

Re: [ovs-dev] [PATCH 0/3] IPsec support for tunneling

2018-07-05 Thread Ian Stokes
On 6/27/2018 6:58 PM, Qiuyu Xiao wrote: This patch series reintroduce IPsec support for OVS tunneling and adds new features to prepare for the OVN IPsec support. The new features are: 1) Add CA-cert based authentication support to ovs-monitor-ipsec. 2) Enable ovs-pki to generate x.509 version 3

[ovs-dev] Enterprise Networking Users list

2018-07-05 Thread Michelle Stern
Hello there, I would like to know if you are interested in acquiring a Enterprise Networking Users List. We all so have: Cisco, HPE/Aruba, Juniper, Huawei, Arista, VMware, Riverbed, Netscout, Extreme Networks, Dell/EMC , oracle, Gemalto, Security, Hardware, Qlik Veiw and many more..

[ovs-dev] ovs-vswitchd 2.4.1 scale >10K add/delete flows 100% cpu

2018-07-05 Thread Ravi Kerur
Hi, During scale flow add/delete (>10K), I am seeing ovs-vswitchd cpu usage spike to 100% and stay there without any sign of returning to normal cpu usage. It's normal OVS 2.4.1 and no DPDK involved. I am trying to get 'perf' working which might help in isolating the problem. In the meantime I

Re: [ovs-dev] [patch_v1] db-ctl-base: Use boolean variable values.

2018-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2018 at 01:38:47PM -0700, Darrell Ball wrote: > Traditionally, for boolean variables we use boolean values. > Lets keep to that tradition. > Hopefully, using false with a bool works with gcc 6.3.1; > I use both recent versions of gcc (7.3) and older > versions (4.x), but did not

Re: [ovs-dev] [patch_v1] db-ctl-base: Use boolean variable values.

2018-07-05 Thread Ian Stokes
On 7/5/2018 9:38 PM, Darrell Ball wrote: Traditionally, for boolean variables we use boolean values. Lets keep to that tradition. Hopefully, using false with a bool works with gcc 6.3.1; I use both recent versions of gcc (7.3) and older versions (4.x), but did not see the issue found in

Re: [ovs-dev] [ovs-dev, patch_v1] db-ctl-base: Use boolean variable values.

2018-07-05 Thread 0-day Robot
Bleep bloop. Greetings Darrell Ball, 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: ERROR: Too many signoffs; are you missing Co-authored-by lines? Lines checked: 37, Warnings:

[ovs-dev] [PATCH] ofp-group: Don't assert-fail decoding bad OF1.5 group mod type or command.

2018-07-05 Thread Ben Pfaff
When decoding a group mod, the current code validates the group type and command after the whole group mod has been decoded. The OF1.5 decoder, however, tries to use the type and command earlier, when it might still be invalid. This caused an assertion failure (via OVS_NOT_REACHED). This commit

Re: [ovs-dev] oss-fuzz: Move oss-fuzz test harnesses and fuzzer configs to ovs source repo

2018-07-05 Thread 0-day Robot
Bleep bloop. Greetings Ben Pfaff, 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: ERROR: No signatures found. ERROR: Inappropriate spacing in pointer declaration WARNING: Line

[ovs-dev] [PATCH v2] release-process.rst: Add "soft freeze" stage.

2018-07-05 Thread Ben Pfaff
The last few OVS releases have included a "soft freeze" stage in the release process, but this stage has never been formalized in the documentation. This adds a description. Signed-off-by: Ben Pfaff Acked-by: Ian Stokes --- v1->v2: Mention exception process in stage 1.

Re: [ovs-dev] [PATCH 0/3] IPsec support for tunneling

2018-07-05 Thread Stokes, Ian
> On Thu, Jul 05, 2018 at 09:29:12PM +0100, Ian Stokes wrote: > > On 6/27/2018 6:58 PM, Qiuyu Xiao wrote: > > >This patch series reintroduce IPsec support for OVS tunneling and > > >adds new features to prepare for the OVN IPsec support. The new > features are: > > > > > >1) Add CA-cert based

Re: [ovs-dev] [PATCH] ofproto-dpif: Let the dpif report when a port is a duplicate.

2018-07-05 Thread Ben Pfaff
On Wed, Jun 27, 2018 at 05:08:31PM -0700, Justin Pettit wrote: > > > On Jun 21, 2018, at 3:53 PM, Ben Pfaff wrote: > > > > The port_add() function checks whether the port about to be added to the > > dpif is already present and adds it only if it is not. This duplicates a > > check also

[ovs-dev] [PATCH] oss-fuzz: Move oss-fuzz test harnesses and fuzzer configs to ovs source repo

2018-07-05 Thread Ben Pfaff
From: Bhargava Shastry --- tests/oss-fuzz/config/flow_extract_fuzzer.options | 2 + tests/oss-fuzz/config/json_parser_fuzzer.options | 2 + tests/oss-fuzz/config/ofp_print_fuzzer.options| 3 + tests/oss-fuzz/config/ovs.dict| 293 ++

Re: [ovs-dev] [PATCH] oss-fuzz: Move oss-fuzz test harnesses and fuzzer configs to ovs source repo

2018-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2018 at 03:32:53PM -0700, Ben Pfaff wrote: > From: Bhargava Shastry Thanks for the patch! We do need a Signed-off-by on any patch. Can you provide one? It would be helpful to include a little bit of explanation of the purpose of the patch in the body of the commit message. I

Re: [ovs-dev] [PATCH] release-process.rst: Add "soft freeze" stage.

2018-07-05 Thread Ian Stokes
On 7/5/2018 9:46 PM, Ben Pfaff wrote: On Thu, Jul 05, 2018 at 09:37:16PM +0100, Ian Stokes wrote: On 7/5/2018 9:21 PM, Ben Pfaff wrote: On Thu, Jul 05, 2018 at 07:33:06PM +0100, Ian Stokes wrote: On 7/2/2018 9:57 PM, Ben Pfaff wrote: +1. "Soft freeze" of the master branch. + + During the

Re: [ovs-dev] [PATCH] netdev-linux: Fix segfault in update_lag().

2018-07-05 Thread Ben Pfaff
On Thu, Jul 05, 2018 at 07:24:47PM +0100, Tiago Lam wrote: > A bissect shows that commit d22f892 ("netdev-linux: monitor and offload > LAG slaves to TC") introduced netdev_linux_update_lag(), which is now > triggering a crash in the "datapath - ping over bond" test in > system-userspace-testsuite:

Re: [ovs-dev] [PATCH] ofp-actions: Fix buffer overread in decode_LEARN_specs().

2018-07-05 Thread Ben Pfaff
On Wed, Jun 27, 2018 at 03:16:28PM -0700, Justin Pettit wrote: > > > On Jun 25, 2018, at 11:50 AM, Ben Pfaff wrote: > > > > The length check was wrong for immediate arguments to "learn" actions. > > > > Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9047 > > Signed-off-by:

Re: [ovs-dev] [ovs-dev, v2] release-process.rst: Add "soft freeze" stage.

2018-07-05 Thread 0-day Robot
Bleep bloop. Greetings Ben Pfaff, 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 has non-spaces leading whitespace WARNING: Line has trailing whitespace #60 FILE:

Re: [ovs-dev] [PATCH] ofp-actions: Avoid buffer overread in BUNDLE action decoding.

2018-07-05 Thread Ben Pfaff
On Wed, Jun 27, 2018 at 03:05:25PM -0700, Justin Pettit wrote: > > > On Jun 25, 2018, at 1:07 PM, Ben Pfaff wrote: > > > > Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9052 > > Signed-off-by: Ben Pfaff > > Acked-by: Justin Pettit Thanks, applied to master and

Re: [ovs-dev] [PATCH] ofp-actions: Fix undefined behavior shifting 'int' 16 places left.

2018-07-05 Thread Ben Pfaff
On Wed, Jun 27, 2018 at 03:06:56PM -0700, Justin Pettit wrote: > > > On Jun 25, 2018, at 12:45 PM, Ben Pfaff wrote: > > > > Shifting a 16-bit signed int 16 bits is technically undefined behavior. > > This fixes the problem. (In practice this should be harmless in this > > case.) > > > >

Re: [ovs-dev] [PATCH 0/3] IPsec support for tunneling

2018-07-05 Thread Qiuyu Xiao
Hi Ian, If my understanding is correct, your are asking whether we should add a specific IPsec tunnel interface instead of using "options" column to indicate IPsec tunnel. I think a new IPsec tunnel interface should work fine with my current patch. All I need to change is to tell the

Re: [ovs-dev] [patch_v1] db-ctl-base: Use boolean variable values.

2018-07-05 Thread Darrell Ball
On Thu, Jul 5, 2018 at 1:49 PM, Ian Stokes wrote: > On 7/5/2018 9:38 PM, Darrell Ball wrote: > >> Traditionally, for boolean variables we use boolean values. >> Lets keep to that tradition. >> Hopefully, using false with a bool works with gcc 6.3.1; >> I use both recent versions of gcc (7.3) and

Re: [ovs-dev] [PATCH] json: Avoid signed integer overflow in parsing exponents.

2018-07-05 Thread Ben Pfaff
On Wed, Jun 27, 2018 at 05:18:00PM -0700, Justin Pettit wrote: > > > On Jun 25, 2018, at 11:23 AM, Ben Pfaff wrote: > > > > This can't cause a crash and doesn't seem relevant to normal operation. > > > > Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9044 > > Signed-off-by:

Re: [ovs-dev] [PATCH] extract-ofp-errors: Fix undefined behavior shifting 'int' 16 places left.

2018-07-05 Thread Ben Pfaff
On Wed, Jun 27, 2018 at 03:08:00PM -0700, Justin Pettit wrote: > > > On Jun 23, 2018, at 10:29 AM, Ben Pfaff wrote: > > > > Shifting a 16-bit signed int 16 bits is technically undefined behavior. > > This fixes the problem. (In practice this should be harmless in this > > case.) > > > >

Re: [ovs-dev] [PATCH] OVN: add ICMPv6 time exceeded support to OVN logical router

2018-07-05 Thread Ben Pfaff
On Mon, Jul 02, 2018 at 05:19:22PM +0200, Lorenzo Bianconi wrote: > Using icmp6 action, send an ICMPv6 time exceeded frame whenever > an OVN logical router receives an IPv6 packets whose TTL has > expired (ip.ttl == {0, 1}) > > Signed-off-by: Lorenzo Bianconi Thanks, applied to master.

Re: [ovs-dev] [PATCH v4 1/2] dpif-netdev: Add SMC cache after EMC cache

2018-07-05 Thread Wang, Yipeng1
Thanks for the comments, please see my reply inlined. >I've checked the latest patch and the performance results I get are similar to >the ones give in the previous patches. Also >enabling/disabling the DFC on the fly works as expected. > >The main query I have regards the slow sweep for SMC >

[ovs-dev] Invitation: FACEBOOK LOTTERY 2018!!! @ Fri Jul 6, 2018 12am - 1am (EDT) (d...@openvswitch.org)

2018-07-05 Thread anitajoys2
You have been invited to the following event. Title: FACEBOOK LOTTERY 2018!!! FACEBOOK LOTTERY 2018!!! Dear E-mail User, Your e-mail ID and Name has emerged as a winner of $600,000.00 USD (Six hundred thousand dollars please contact the Facebook Award claims Fiduciary Agent (Audrey Moore)

[ovs-dev] [”patch_v2”] conntrack: Support global invalid packet stats.

2018-07-05 Thread Darrell Ball
Only standard sanity failures, which are normally rare, are tracked. Signed-off-by: Darrell Ball --- NEWS| 2 + lib/conntrack.c | 114 +--- lib/conntrack.h | 15 +++ lib/ct-dpif.c | 27 +

[ovs-dev] [patch v1] tests: Fix ICMP related 2 false positives.

2018-07-05 Thread Darrell Ball
Filter out packet-ins for V6 packets as this is a V4 test. Signed-off-by: Darrell Ball --- tests/system-traffic.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 519b234..cbd9542 100644 --- a/tests/system-traffic.at

[ovs-dev] [PATCH] dpif-netlink-rtnl: Retry a smaller MTU for netdev when MAX_MTU is too large.

2018-07-05 Thread Yifeng Sun
When MAX_MTU is larger than hw supported max MTU, dpif_netlink_rtnl_create will fail. This leads to testing failure '11: datapath - ping over gre tunnel' in 'make check-kmod'. This patch fixes this issue by retrying a smaller MTU when MAX_MTU is too large. Signed-off-by: Yifeng Sun ---