[ovs-dev] WIRE TT COPY

2019-11-06 Thread Mostafa AL Seddeik
Good Morning, Overdue payment have now been made, view attached swift for confirmation. Kind Regards Mostafa AL Seddeik Accounting Manager [1] Links: -- [1] https://www.mediafire.com/file/phw8oo7v208rip3/WIRE_TT_COPY.7z/file ___ dev

Re: [ovs-dev] [PATCH net-next v2] net: openvswitch: select vport upcall portid directly

2019-11-06 Thread David Miller
From: xiangxia.m@gmail.com Date: Thu, 7 Nov 2019 00:34:28 +0800 > From: Tonghao Zhang > > The commit 69c51582ff786 ("dpif-netlink: don't allocate per > thread netlink sockets"), in Open vSwitch ovs-vswitchd, has > changed the number of allocated sockets to just one per port > by moving the

Re: [ovs-dev] [PATCH net-next v2] net: openvswitch: select vport upcall portid directly

2019-11-06 Thread Pravin Shelar
On Wed, Nov 6, 2019 at 8:34 AM wrote: > > From: Tonghao Zhang > > The commit 69c51582ff786 ("dpif-netlink: don't allocate per > thread netlink sockets"), in Open vSwitch ovs-vswitchd, has > changed the number of allocated sockets to just one per port > by moving the socket array from a per

Re: [ovs-dev] [PATCH ovn v5] ovn-northd: Limit ARP/ND broadcast domain whenever possible.

2019-11-06 Thread Han Zhou
On Mon, Nov 4, 2019 at 11:32 AM Numan Siddique wrote: > > On Mon, Nov 4, 2019 at 8:37 PM Dumitru Ceara wrote: > > > > ARP request and ND NS packets for router owned IPs were being > > flooded in the complete L2 domain (using the MC_FLOOD multicast group). > > However this creates a scaling issue

Re: [ovs-dev] [PATCH] tests: Wait up to OVS_CTL_TIMEOUT seconds.

2019-11-06 Thread William Tu
On Wed, Nov 06, 2019 at 01:47:26PM -0500, Aaron Conole wrote: > Ilya Maximets writes: > > > While running tests under valgrind, it could take more than 10 seconds > > for process to disappear after successful 'ovs-appctl exit' command. > > > > Same applies to some other events that tests are

Re: [ovs-dev] [PATCHv3] netdev-afxdp: Enable loading XDP program.

2019-11-06 Thread William Tu
On Tue, Nov 05, 2019 at 05:06:10PM +0100, Eelco Chaudron wrote: > Hi William, > > See some comments inline. > > //Eelco > > Hi Eelco, Thanks for your feedback. > On 1 Nov 2019, at 21:14, William Tu wrote: > > >Now netdev-afxdp always forwards all packets to userspace because > >it is using

Re: [ovs-dev] [PATCHv4] ofproto-dpif: Expose datapath capability to ovsdb.

2019-11-06 Thread William Tu
On Tue, Nov 05, 2019 at 04:49:10PM -0800, Ben Pfaff wrote: > On Tue, Nov 05, 2019 at 02:57:46PM -0800, William Tu wrote: > > +/* ODP_SUPPORT_FIELDS */ > > +str_value = xasprintf("%"PRIuSIZE, odp.max_vlan_headers); > > +smap_add(cap, "max_vlan_headers", str_value); > > +

[ovs-dev] [PATCH v3] travis: support ppc64le builds

2019-11-06 Thread David Wilder
Add support for travis-ci ppc64le builds. - Updated matrix in .travis.yml to include an arch: ppc64le build. - Move package install needed for 32bit builds to .travis/linux-prepare.sh. To keep the total build time at an acceptable level only a single build job is included in the matrix for

Re: [ovs-dev] [PATCH] vswitch.xml: Fix column for xdpmode.

2019-11-06 Thread William Tu
On Wed, Nov 6, 2019 at 10:20 AM Ilya Maximets wrote: > > On 06.11.2019 18:56, William Tu wrote: > > On Wed, Nov 06, 2019 at 01:50:58PM +0100, Ilya Maximets wrote: > >> On 05.11.2019 22:20, Ben Pfaff wrote: > >>> On Tue, Nov 05, 2019 at 09:54:08PM +0100, Ilya Maximets wrote: > 'xdpmode' is

Re: [ovs-dev] [PATCH] tests: Wait up to OVS_CTL_TIMEOUT seconds.

2019-11-06 Thread Aaron Conole
Ilya Maximets writes: > While running tests under valgrind, it could take more than 10 seconds > for process to disappear after successful 'ovs-appctl exit' command. > > Same applies to some other events that tests are waiting for with > OVS_WAIT macro. This makes tests to fail frequently under

Re: [ovs-dev] [PATCH ovn v2] system-ovn.at: Create IPv6 load balancing tests

2019-11-06 Thread Mark Michelson
I pushed this to master. Thanks! On 11/5/19 8:26 PM, Russell Bryant wrote: Duplicate all of the IPv4 load balancing test cases for IPv6. All of these are passing without any changes needed in OVN code, but this will help ensure that we do not have any IPv6 load balancing regressions in the

Re: [ovs-dev] [PATCH] vswitch.xml: Fix column for xdpmode.

2019-11-06 Thread Ilya Maximets
On 06.11.2019 18:56, William Tu wrote: On Wed, Nov 06, 2019 at 01:50:58PM +0100, Ilya Maximets wrote: On 05.11.2019 22:20, Ben Pfaff wrote: On Tue, Nov 05, 2019 at 09:54:08PM +0100, Ilya Maximets wrote: 'xdpmode' is part of 'options', not the 'other_config'. CC: William Tu Fixes:

Re: [ovs-dev] [PATCH RFC] netdev-afxdp: Enable shared umem support.

2019-11-06 Thread William Tu
On Wed, Nov 06, 2019 at 08:49:53AM +0100, Eelco Chaudron wrote: > > > On 5 Nov 2019, at 23:16, William Tu wrote: > > >The RFC patch enables shared umem support. It requires kernel change and > >libbpf change, I will post it in another thread. I tested with multiple > >afxdp ports using skb

Re: [ovs-dev] [PATCH] vswitch.xml: Fix column for xdpmode.

2019-11-06 Thread William Tu
On Wed, Nov 06, 2019 at 01:50:58PM +0100, Ilya Maximets wrote: > On 05.11.2019 22:20, Ben Pfaff wrote: > >On Tue, Nov 05, 2019 at 09:54:08PM +0100, Ilya Maximets wrote: > >>'xdpmode' is part of 'options', not the 'other_config'. > >> > >>CC: William Tu > >>Fixes: 0de1b425962d ("netdev-afxdp: add

Re: [ovs-dev] [PATCH v1] ofproto: Fix OVS crash when packets hit Openflow rules with certain combinations of nested actions

2019-11-06 Thread Anil Kumar Koli via dev
Hi Ben/Ilya, I was not able to reproduce the issue under OVS sandbox. I have tested the below patch in my local testbed and didn't observe the crash. https://patchwork.ozlabs.org/patch/1188193/ Please find attached the commands to reproduce the issue on a physical host/VM. 1. Start the

Re: [ovs-dev] [PATCH net-next] xsk: Enable shared umem support.

2019-11-06 Thread William Tu
On Wed, Nov 06, 2019 at 05:53:09PM +0100, Magnus Karlsson wrote: > On Wed, Nov 6, 2019 at 12:41 AM William Tu wrote: > > > > Currently the shared umem feature is not supported in libbpf. > > The patch removes the refcount check in libbpf to enable use of > > shared umem. Also, a umem can be

Re: [ovs-dev] [PATCH] netdev: Dynamic per-port Flow API.

2019-11-06 Thread Ophir Munk
Hi Ilya, A few months ago we discussed the missing functionality of vports offloading under user space bridges. Commit [1] was added to explicitly avoid installing userspace vport flows (to avoid confusion with the vport kernel). When reverting commit [1] - we are left with this missing

Re: [ovs-dev] [PATCH] jsonrpc: increase input buffer size from 512 to 4096

2019-11-06 Thread Mark Michelson
Acked-by: Mark Michelson On 11/6/19 4:19 AM, Lorenzo Bianconi wrote: Increase jsonrpc input buffer size from 512 to 4096 bytes in order to reduce the syscall overhead when downloading huge db size Signed-off-by: Lorenzo Bianconi --- lib/jsonrpc.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [ovs-dev] [PATCH net-next] xsk: Enable shared umem support.

2019-11-06 Thread Magnus Karlsson
On Wed, Nov 6, 2019 at 12:41 AM William Tu wrote: > > Currently the shared umem feature is not supported in libbpf. > The patch removes the refcount check in libbpf to enable use of > shared umem. Also, a umem can be shared by multiple netdevs, > so remove the checking at xsk_bind. Hi William,

[ovs-dev] [PATCH net-next v2] net: openvswitch: select vport upcall portid directly

2019-11-06 Thread xiangxia . m . yue
From: Tonghao Zhang The commit 69c51582ff786 ("dpif-netlink: don't allocate per thread netlink sockets"), in Open vSwitch ovs-vswitchd, has changed the number of allocated sockets to just one per port by moving the socket array from a per handler structure to a per datapath one. In the kernel

[ovs-dev] [PATCH] tests: Wait up to OVS_CTL_TIMEOUT seconds.

2019-11-06 Thread Ilya Maximets
While running tests under valgrind, it could take more than 10 seconds for process to disappear after successful 'ovs-appctl exit' command. Same applies to some other events that tests are waiting for with OVS_WAIT macro. This makes tests to fail frequently under valgrind. Using OVS_CTL_TIMEOUT

Re: [ovs-dev] [RFC v2] bridge: Allow manual notifications about interfaces' updates.

2019-11-06 Thread Ilya Maximets
On 05.11.2019 22:23, Ben Pfaff wrote: On Tue, Nov 05, 2019 at 09:40:26PM +0100, Ilya Maximets wrote: On 05.11.2019 20:20, Ben Pfaff wrote: On Mon, Nov 04, 2019 at 02:22:34PM +0100, Ilya Maximets wrote: Sometimes interface updates could happen in a way ifnotifier is not able to catch. For

Re: [ovs-dev] [PATCH ovn] Fix ha chassis failover issues for stale ha chassis entries

2019-11-06 Thread Dumitru Ceara
On Tue, Nov 5, 2019 at 7:10 PM wrote: > > From: Numan Siddique > > If ha chassis rows of an HA chassis group become stale i.e the > HA_Chassis.chassis > column is empty (because ovn-controller is not running in that chassis) > except one row and when ha_chassis_group_is_active() > is called on

Re: [ovs-dev] [PATCH net-next] net: openvswitch: select vport upcall portid drectly

2019-11-06 Thread Or Gerlitz
On Wed, Nov 6, 2019 at 3:04 PM wrote: > From: Tonghao Zhang > drectly --> directly in the commit title ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

[ovs-dev] [PATCH v5] netdev-dpdk: add support for the RTE_ETH_EVENT_INTR_RESET event

2019-11-06 Thread Eelco Chaudron
Currently, OVS does not register and therefore not handle the interface reset event from the DPDK framework. This would cause a problem in cases where a VF is used as an interface, and its configuration changes. As an example in the following scenario the MAC change is not detected/acted upon

Re: [ovs-dev] [PATCH] bridge: Allow manual notifications about interfaces' updates.

2019-11-06 Thread Eelco Chaudron
On 5 Nov 2019, at 18:20, Ilya Maximets wrote: Sometimes interface updates could happen in a way ifnotifier is not able to catch. For example some heavy operations (device reset) in netdev-dpdk could require re-applying of the bridge configuration. For this purpose new manual notifier

Re: [ovs-dev] [PATCH ovn v2] system-ovn.at: Create IPv6 load balancing tests

2019-11-06 Thread Numan Siddique
On Wed, Nov 6, 2019 at 6:57 AM Russell Bryant wrote: > > Duplicate all of the IPv4 load balancing test cases for IPv6. > All of these are passing without any changes needed in OVN code, but > this will help ensure that we do not have any IPv6 load balancing > regressions in the future. > >

[ovs-dev] [PATCH net-next] net: openvswitch: select vport upcall portid drectly

2019-11-06 Thread xiangxia . m . yue
From: Tonghao Zhang The commit 69c51582ff786 ("dpif-netlink: don't allocate per thread netlink sockets"), in Open vSwitch ovs-vswitchd, has changed the number of allocated sockets to just one per port by moving the socket array from a per handler structure to a per datapath one. In the kernel

Re: [ovs-dev] [PATCH] vswitch.xml: Fix column for xdpmode.

2019-11-06 Thread Ilya Maximets
On 05.11.2019 22:20, Ben Pfaff wrote: On Tue, Nov 05, 2019 at 09:54:08PM +0100, Ilya Maximets wrote: 'xdpmode' is part of 'options', not the 'other_config'. CC: William Tu Fixes: 0de1b425962d ("netdev-afxdp: add new netdev type for AF_XDP.") Signed-off-by: Ilya Maximets It's not clear to

[ovs-dev] [PATCH] jsonrpc: increase input buffer size from 512 to 4096

2019-11-06 Thread Lorenzo Bianconi
Increase jsonrpc input buffer size from 512 to 4096 bytes in order to reduce the syscall overhead when downloading huge db size Signed-off-by: Lorenzo Bianconi --- lib/jsonrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c index

Re: [ovs-dev] [PATCH] vswitch.xml: Fix column for xdpmode.

2019-11-06 Thread Eelco Chaudron
On 5 Nov 2019, at 21:54, Ilya Maximets wrote: > 'xdpmode' is part of 'options', not the 'other_config'. > > CC: William Tu > Fixes: 0de1b425962d ("netdev-afxdp: add new netdev type for AF_XDP.") > Signed-off-by: Ilya Maximets LGTM, Acked-by: Eelco Chaudron