[ovs-dev] not able to find documentation on ovs python library

2019-09-25 Thread Ankit Bhardwaj
not able to find documentation on OVS python library please help -- Ankit Bhardwaj ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] show "rx_missed_errors" counter in interface statisics

2019-09-25 Thread Ben Pfaff
On Tue, Sep 03, 2019 at 07:28:26PM +0800, txfh2007 via dev wrote: > Hi all: > > Currently OVS maintains several Statistics counters per interface. > "rx_missed_errors" counter is amount them and collects pkts not received due > to local resource constaints. Many ovs netdevs support

Re: [ovs-dev] [PATCH branch-2.10] dpdk: Use DPDK 17.11.6 release.

2019-09-25 Thread Ben Pfaff
It looks like these DPDK version update patches have been overlooked. Ilya, Ian, do you want to look at them? On Mon, Sep 02, 2019 at 09:34:53AM +0200, Lukasz Pawlik wrote: > Modify travis linux build script to use the latest DPDK stable release > 17.11.6. Update docs for latest DPDK stable

Re: [ovs-dev] [PATCH v2] treewide: Use packet batch APIs

2019-09-25 Thread Ben Pfaff
On Sun, Sep 01, 2019 at 03:10:05PM +0200, Paul Chaignon wrote: > This patch replaces direct accesses to dp_packet_batch and dp_packet > internal components by the appropriate API calls. It extends commit > 1270b6e52 (treewide: Wider use of packet batch APIs). > > This patch was generated using

Re: [ovs-dev] [PATCH] Add a __str__ method to idl.Row

2019-09-25 Thread Ben Pfaff
On Tue, Sep 03, 2019 at 06:27:18PM -0500, Terry Wilson wrote: > It's sometimes handy to log an entire Row object, so this just > adds a string representation of the object as: > >Tablename(col1=val1, col2=val2, ..., coln=valn) > > Signed-off-by: Terry Wilson Applied to master. Thanks!

Re: [ovs-dev] [PATCHv2] fatal-signal: Catch SIGSEGV and print backtrace.

2019-09-25 Thread 0-day Robot
Bleep bloop. Greetings William Tu, 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. build: /bin/sh ./libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I ./include -I

Re: [ovs-dev] [PATCH v5 9/9] ofproto-dpif-xlate: Translate timeout policy in ct action

2019-09-25 Thread Yi-Hung Wei
On Wed, Sep 25, 2019 at 3:59 PM Justin Pettit wrote: > > > > On Aug 28, 2019, at 3:14 PM, Yi-Hung Wei wrote: > > > > diff --git a/lib/dpif-provider.h b/lib/dpif-provider.h > > index e988626ea05b..4a599c8eb866 100644 > > --- a/lib/dpif-provider.h > > +++ b/lib/dpif-provider.h > > @@ -542,6

Re: [ovs-dev] Regarding TSO using AF_PACKET in OVS

2019-09-25 Thread William Tu
On Thu, Sep 19, 2019 at 2:16 AM Ramana Reddy wrote: > > Hi William, > Thanks for your reply. Please find the inline comments. > > On Fri, Aug 30, 2019 at 9:26 PM William Tu wrote: >> >> Hi Ramana, >> >> I'm trying to understand your setup. >> >> On Wed, Aug 28, 2019 at 4:11 AM Ramana Reddy

[ovs-dev] [PATCHv2] fatal-signal: Catch SIGSEGV and print backtrace.

2019-09-25 Thread William Tu
The patch catches the SIGSEGV signal and prints the backtrace using libunwind at the monitor daemon. This makes debugging easier when there is no debug symbol package or gdb installed on production systems. The patch works when the ovs-vswitchd compiles even without debug symbol (no -g option),

Re: [ovs-dev] [PATCHv4] netdev-afxdp: Add need_wakeup supprt.

2019-09-25 Thread William Tu
On Tue, Sep 24, 2019 at 7:48 AM Ilya Maximets wrote: > > Hi. > Thanks for a new version. > > Comments inline. Hi Ilya, Thanks for your feedback. > > static struct xsk_socket_info * > > -xsk_configure(int ifindex, int xdp_queue_id, int xdpmode) > > +xsk_configure(int ifindex, int

Re: [ovs-dev] [PATCH v5 9/9] ofproto-dpif-xlate: Translate timeout policy in ct action

2019-09-25 Thread Justin Pettit
> On Aug 28, 2019, at 3:14 PM, Yi-Hung Wei wrote: > > diff --git a/lib/dpif-provider.h b/lib/dpif-provider.h > index e988626ea05b..4a599c8eb866 100644 > --- a/lib/dpif-provider.h > +++ b/lib/dpif-provider.h > @@ -542,6 +542,16 @@ struct dpif_class { >

Re: [ovs-dev] [PATCH v4] userspace: Enable non-bridge port as tunnel endpoint.

2019-09-25 Thread Ben Pfaff
On Thu, Sep 05, 2019 at 10:40:28AM -0700, Yifeng Sun wrote: > For userspace datapath, currently only the bridge itself, the LOCAL port, > can be the tunnel endpoint to encap/decap tunnel packets. This patch > enables non-bridge port as tunnel endpoint. One use case is for users to > create a

[ovs-dev] [PATCH] Documentation: Document a useful pre-push hook for committers.

2019-09-25 Thread Ben Pfaff
Someone else wrote this script originally, I think, but I've extended it quite a bit. Signed-off-by: Ben Pfaff --- .../internals/committer-responsibilities.rst | 50 +++ 1 file changed, 50 insertions(+) diff --git a/Documentation/internals/committer-responsibilities.rst

Re: [ovs-dev] [PATCH 1/2] cgcc: gendeps for -MM, -MD & -MMD too

2019-09-25 Thread Luc Van Oostenryck
On Wed, Apr 24, 2019 at 04:12:32PM +0300, Ilya Maximets wrote: > On 20.02.2019 16:34, Luc Van Oostenryck wrote: > > These flags must set '$gendeps', just like a plain '-M' do, > > since they implies '-M'. > > > > Signed-off-by: Luc Van Oostenryck > > --- > > Hi. > > Unlike simple '-M', '-MD'

Re: [ovs-dev] [patch v4] conntrack: Add option to disable TCP sequence checking.

2019-09-25 Thread Ben Pfaff
On Wed, Sep 25, 2019 at 02:09:41PM -0700, Darrell Ball wrote: > This may be needed in some special cases, such as to support some hardware > offload implementations. Note that disabling TCP sequence number > verification is not an optimization in itself, but supporting some > hardware offload

Re: [ovs-dev] [patch v3] conntrack: Add option to disable TCP sequence checking.

2019-09-25 Thread Darrell Ball
On Wed, Sep 25, 2019 at 1:46 PM Ben Pfaff wrote: > On September 25, 2019 1:42:36 PM PDT, Darrell Ball > wrote: >> >> Thank you >> >> Pls see inline >> >> On Wed, Sep 25, 2019 at 10:26 AM Ben Pfaff wrote: >> >>> On Tue, Sep 24, 2019 at 03:47:35PM -0700, Darrell Ball wrote: >>> > This may be

[ovs-dev] [patch v4] conntrack: Add option to disable TCP sequence checking.

2019-09-25 Thread Darrell Ball
This may be needed in some special cases, such as to support some hardware offload implementations. Note that disabling TCP sequence number verification is not an optimization in itself, but supporting some hardware offload implementations may offer better performance. TCP sequence number

Re: [ovs-dev] [patch v3] conntrack: Add option to disable TCP sequence checking.

2019-09-25 Thread Ben Pfaff
On September 25, 2019 1:42:36 PM PDT, Darrell Ball wrote: >Thank you > >Pls see inline > >On Wed, Sep 25, 2019 at 10:26 AM Ben Pfaff wrote: > >> On Tue, Sep 24, 2019 at 03:47:35PM -0700, Darrell Ball wrote: >> > This may be needed in some special cases, such as to support some >> hardware >> >

Re: [ovs-dev] [patch v3] conntrack: Add option to disable TCP sequence checking.

2019-09-25 Thread Darrell Ball
Thank you Pls see inline On Wed, Sep 25, 2019 at 10:26 AM Ben Pfaff wrote: > On Tue, Sep 24, 2019 at 03:47:35PM -0700, Darrell Ball wrote: > > This may be needed in some special cases, such as to support some > hardware > > offload implementations. Note that disabling TCP sequence number > >

Re: [ovs-dev] [patch v6] conntrack: Optimize recirculations.

2019-09-25 Thread Darrell Ball
On Wed, Sep 25, 2019 at 10:51 AM Ben Pfaff wrote: > On Mon, Aug 26, 2019 at 09:05:44AM -0700, Darrell Ball wrote: > > Cache the 'conn' context and use it when it is valid. The cached 'conn' > > context will get reset if it is not expected to be valid; the cost to do > > this is negligible.

Re: [ovs-dev] [PATCH v3] Require Python 3 and remove support for Python 2.

2019-09-25 Thread Numan Siddique
On Thu, Sep 26, 2019, 12:12 AM Ben Pfaff wrote: > Numan, please (re-)review this when you have time. > Sure. I will do it tomorrow Thanks Numan > On Fri, Sep 20, 2019 at 08:44:48AM -0700, Ben Pfaff wrote: > > Python 2 reaches end-of-life on January 1, 2020, which is only > > a few months

Re: [ovs-dev] [PATCH] Exclude ovn-nb/ovn-sb man and OVN schema files during compilation.

2019-09-25 Thread Ben Pfaff
On Tue, Sep 10, 2019 at 03:10:42PM +0530, nusid...@redhat.com wrote: > From: Numan Siddique > > The commit [1] removed OVN, but had to leave out some OVN bits > for the ovsdb-server raft testing. But "make install" is installing > ovn-nb/ovn-sb man entries and OVN schema files. > > This patch

Re: [ovs-dev] [branch 2.12] ovn: Exclude inport and outport symbol tables from conjunction

2019-09-25 Thread Ben Pfaff
On Sat, Sep 14, 2019 at 01:19:17PM +0530, nusid...@redhat.com wrote: > From: Numan Siddique > > If there are multiple ACLs associated with a port group and they > match on a range of some field, then ovn-controller doesn't install > the flows properly and this results in broken ACL

Re: [ovs-dev] [PATCH 1/3] ovs-check-dead-ifs: python3 print format

2019-09-25 Thread Ben Pfaff
On Fri, Sep 13, 2019 at 01:29:01PM -0400, Aaron Conole wrote: > The print call changed in python3, so update it. > > Signed-off-by: Aaron Conole Thanks for the patches. (William, thanks for the reviews.) I applied this series to master. ___ dev

[ovs-dev] [PATCH ovn 4/4] Documentation: Update 'internals' to reflect OVN split.

2019-09-25 Thread Ben Pfaff
This is a start and it should be generally and improvement, but further improvements are certainly possible. Signed-off-by: Ben Pfaff --- Documentation/automake.mk | 1 - Documentation/index.rst | 3 +- Documentation/internals/bugs.rst

[ovs-dev] [PATCH ovn 3/4] configure: Remove checks that are unlikely to ever be of use to OVN.

2019-09-25 Thread Ben Pfaff
OVN should not have its own kernel module, and so on, so these checks aren't useful to it. Signed-off-by: Ben Pfaff --- Makefile.am | 7 - acinclude.m4 | 891 --- configure.ac | 10 +- m4/ovn.m4| 46 --- 4 files changed, 1 insertion(+),

[ovs-dev] [PATCH ovn 1/4] configure: Improve checks for OVS source and build directories.

2019-09-25 Thread Ben Pfaff
Until now, "configure" was willing to accept anything as the OVS source and build directory, but obviously only an actual OVS source or build directory will actually work. This commit adds some basic checking. In addition, this changes relative paths so that they are relative to the current

[ovs-dev] [PATCH ovn 2/4] configure: Fix ctags identifier list.

2019-09-25 Thread Ben Pfaff
Since compiler.h is an OVS header file, it needs to be relative to the OVS source directory (and therefore we need to look at it after we've located the OVS source directory). Signed-off-by: Ben Pfaff --- acinclude.m4 | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

Re: [ovs-dev] [PATCH v1] odp-util: calc checksum of ip hdr for tunnel encap

2019-09-25 Thread Ben Pfaff
On Tue, Sep 24, 2019 at 08:38:53AM +0800, martinbj2...@gmail.com wrote: > From: Martin Zhang > > When parse tnl_push, if IPv4 is used, > we forget to fill the ipv4 checksum fields. > > In the patch: > csum has been used as a variable, > so we neeed rename it to udp_csum. > > Signed-off-by:

Re: [ovs-dev] [PATCH ovn 0/1] Remove ovs subtree

2019-09-25 Thread Numan Siddique
On Wed, Sep 25, 2019 at 9:51 PM Ben Pfaff wrote: > On Wed, Sep 25, 2019 at 02:53:53PM +0530, nusid...@redhat.com wrote: > > From: Numan Siddique > > > > We can delete the ovs subtree as OVN doesn't depend on this folder any > more > > for compilation. > > > > ovs subtree is deleted as "git rm

Re: [ovs-dev] [PATCH ovn v3] Document process for compatibility between OVS and OVN.

2019-09-25 Thread 0-day Robot
Bleep bloop. Greetings Mark Michelson, 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 80 characters long (recommended limit is 79) #81 FILE:

Re: [ovs-dev] [patch v6] conntrack: Optimize recirculations.

2019-09-25 Thread Ben Pfaff
On Mon, Aug 26, 2019 at 09:05:44AM -0700, Darrell Ball wrote: > Cache the 'conn' context and use it when it is valid. The cached 'conn' > context will get reset if it is not expected to be valid; the cost to do > this is negligible. Besides being most optimal, this also handles corner > cases,

[ovs-dev] [PATCH ovn v3] Document process for compatibility between OVS and OVN.

2019-09-25 Thread Mark Michelson
This document serves to provide an explanation for how OVN will remain compatible with OVS. It provides instructions for OVN contributors for how to maintain compatibility even across older versions of OVS when possible. It also creates a document to detail compatibility of specific OVN versions.

Re: [ovs-dev] [PATCH] dpdk: Remove unneeded log message copy.

2019-09-25 Thread Stokes, Ian
On 9/6/2019 3:18 PM, David Marchand wrote: On Fri, Sep 6, 2019 at 3:24 PM Ilya Maximets wrote: On 06.09.2019 14:26, David Marchand wrote: No need to duplicate and null-terminate the passed buffer. We can directly give it to the vlog subsystem using a dynamic precision in the format

Re: [ovs-dev] [patch v3] conntrack: Add option to disable TCP sequence checking.

2019-09-25 Thread Ben Pfaff
On Tue, Sep 24, 2019 at 03:47:35PM -0700, Darrell Ball wrote: > This may be needed in some special cases, such as to support some hardware > offload implementations. Note that disabling TCP sequence number > verification is not an optimization in itself, but supporting some > hardware offload

Re: [ovs-dev] [PATCH ovn 0/1] Remove ovs subtree

2019-09-25 Thread Ben Pfaff
On Wed, Sep 25, 2019 at 02:53:53PM +0530, nusid...@redhat.com wrote: > From: Numan Siddique > > We can delete the ovs subtree as OVN doesn't depend on this folder any more > for compilation. > > ovs subtree is deleted as "git rm -rf ovs" > > Please note that I am only sending the cover letter

[ovs-dev] Moodle para formadores

2019-09-25 Thread Moodle para formadores
QVO LEGIS - FORMAÇÃO E CONSULTADORIA Formação certificada pela DGERT __ Moodle para formadores O curso ONLINE, apresenta a Plataforma Moodle e suas principais ferramentas de comunicação síncrona e assíncrona, ferramentas de edição e gestão

Re: [ovs-dev] [PATCH v2 ovn 3/3] northd: introduce logical flow for localnet egress shaping

2019-09-25 Thread Dumitru Ceara
On Tue, Sep 24, 2019 at 6:40 PM Lorenzo Bianconi wrote: > > Add set_queue() action for qos capable localnet port in > S_SWITCH_OUT_PORT_SEC_L2 stage of logical swith pipeline > Introduce build_lswitch_{input,outpur}_port_sec and refactor > lswitch_port_security code in order to remove duplicated

Re: [ovs-dev] [PATCH v2 ovn 1/3] Add egress QoS mapping for non-tunnel interfaces

2019-09-25 Thread Dumitru Ceara
On Tue, Sep 24, 2019 at 6:40 PM Lorenzo Bianconi wrote: > > Introduce add_localnet_egress_interface_mappings routine in order to collect > as > egress interfaces all ovs bridge interfaces marked with ovn-egress-iface > in the external_ids column of ovs interface table. > ovn-egress-iface is used

Re: [ovs-dev] DDLog after one week

2019-09-25 Thread Dumitru Ceara
Hi Leonid, I've been playing with DDlog for the last week and half and to get the hang of it I ported the IGMP Snoop & Relay features from ovn-northd to ovn-northd-ddlog (thanks for reviewing the pull request). I tried to take notes of all the things that were a bit unclear to me. Even though I

[ovs-dev] (no subject)

2019-09-25 Thread mrika mentari
Hallo.. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] Time to remove the OVS subtree from OVN repo

2019-09-25 Thread Numan Siddique
On Tue, Sep 24, 2019 at 2:25 AM Ben Pfaff wrote: > On Tue, Sep 24, 2019 at 01:27:57AM +0530, Numan Siddique wrote: > > Hi, > > > > Now that OVN is compiled with OVS sources from external sources, I think > we > > can go ahead and delete the ovs subtree [1], > > > > We can delete this in 2 ways >

[ovs-dev] [RFC PATCH ovn] Disable conjunction

2019-09-25 Thread nusiddiq
From: Numan Siddique The commit 298701dbc996("Exclude inport and outport symbol tables from conjunction") was earlier added to disable conjunction for inport and outport symbols. This patch extends it to all the symbos added in the symbol table by setting the 'must_crossproduct' field to

[ovs-dev] DARLEHEN

2019-09-25 Thread Thomas Mark
Sehr geehrte Damen und Herren Sind Sie es auch leid sich mit Banken oder Finanzdienstleister f�r ein Darlehen herumzuschlagen. Sicherheiten zu besorgen, um das Darlehen 200% abzusichern? Sie ben�tigen ein Darlehen um eine Investition vorzunehmen, kurzfristige Schulden in mittel- bis langfristig