[ovs-dev] [PATCH] netdev-linux: Report netdev change events when mac changed.

2018-02-04 Thread Tonghao Zhang
When mac addr of ports on bridge has been changed, for example, we should reconfigure the datapath id and mac addr of local port. But now openvswitch dont do that as expected. A simple example of how to reproduce it: then repeat: This patch reports the mac changed event when ports changed,

[ovs-dev] [patch v5 00/11] Userspace datapath: Add fragmentation support.

2018-02-04 Thread Darrell Ball
Fragmentation support for userspace datapath conntrack is added; both v4 and v6 are supported. See the patches for additional details. v4->v5: Added a sub-feature to optionally dump fragmentation lists. This is useful for DOS forensics and debugging. The testing coverage was

[ovs-dev] [patch v5 02/11] flow: Enhance parse_ipv6_ext_hdrs.

2018-02-04 Thread Darrell Ball
Enhance the api parse_ipv6_ext_hdrs to return the fragmentation header to be used in later patches. Signed-off-by: Darrell Ball --- lib/conntrack.c | 5 +++-- lib/flow.c | 23 ++- lib/flow.h | 3 ++- 3 files changed, 19 insertions(+), 12

[ovs-dev] [patch v5 01/11] dp-packet: Add const qualifiers for checksum apis.

2018-02-04 Thread Darrell Ball
Signed-off-by: Darrell Ball --- lib/dp-packet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dp-packet.h b/lib/dp-packet.h index b4b721c..61d4cd4 100644 --- a/lib/dp-packet.h +++ b/lib/dp-packet.h @@ -637,7 +637,7 @@ dp_packet_mbuf_init(struct

[ovs-dev] [PATCH] netdev-linux: Report netdev change events when mac changed.

2018-02-04 Thread Tonghao Zhang
When mac addr of ports on bridge has been changed, for example, $ ip link set dev eth0 address 00:11:22:33:44:55 we should reconfigure the datapath id and mac addr of local port. But now openvswitch dont do that as expected. A simple example of how to reproduce it: $ ovs-vsctl add-br br0 $

[ovs-dev] [patch v5 03/11] Userspace datapath: Add fragmentation handling.

2018-02-04 Thread Darrell Ball
Fragmentation handling is added for supporting conntrack. Fragmentation handling is disabled by default and enabled via a user commands implemented in a subsequent patch. Both v4 and v6 are supported. Signed-off-by: Darrell Ball --- include/sparse/netinet/ip6.h |1 +

[ovs-dev] [patch v5 06/11] ipf: Add set minimum fragment size command.

2018-02-04 Thread Darrell Ball
A new command "ovs-appctl dpctl/ipf-set-minfrag" is added for userspace datapath conntrack fragmentation support. Signed-off-by: Darrell Ball --- NEWS| 2 ++ lib/ct-dpif.c | 8 lib/ct-dpif.h | 1 + lib/dpctl.c | 40

[ovs-dev] [patch v5 05/11] ipf: Add command to enable fragmentation handling.

2018-02-04 Thread Darrell Ball
A new command "ovs-appctl dpctl/ipf-set-enabled" is added to enable/disable userspace datapath conntrack fragmentation support. Signed-off-by: Darrell Ball --- NEWS| 2 ++ lib/ct-dpif.c | 8 lib/ct-dpif.h | 1 + lib/dpctl.c | 40

[ovs-dev] [patch v5 04/11] conntrack: Support fragmentation.

2018-02-04 Thread Darrell Ball
The conntrack module now calls fragmentation support apis. Signed-off-by: Darrell Ball --- NEWS| 2 ++ lib/conntrack.c | 7 +++ 2 files changed, 9 insertions(+) diff --git a/NEWS b/NEWS index 8c360ba..ee1f272 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,8 @@

[ovs-dev] [patch v5 10/11] tests: Add missed local stack checks.

2018-02-04 Thread Darrell Ball
Signed-off-by: Darrell Ball --- tests/system-traffic.at | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index dbd5640..5b59392 100644 --- a/tests/system-traffic.at +++ b/tests/system-traffic.at @@ -2093,6 +2093,7 @@

[ovs-dev] [patch v5 11/11] tests: Enable fragmentation for userspace datapath.

2018-02-04 Thread Darrell Ball
Signed-off-by: Darrell Ball --- tests/system-kmod-macros.at | 30 -- tests/system-traffic.at | 43 ++ tests/system-userspace-macros.at | 125 --- 3 files changed, 173 insertions(+), 25 deletions(-) diff

[ovs-dev] [patch v5 07/11] ipf: Add set maximum fragments supported command.

2018-02-04 Thread Darrell Ball
A new command "ovs-appctl dpctl/ipf-set-maxfrags" is added for userspace datapath conntrack fragmentation support. Signed-off-by: Darrell Ball --- NEWS| 2 ++ lib/ct-dpif.c | 8 lib/ct-dpif.h | 1 + lib/dpctl.c | 31

Re: [ovs-dev] [PATCH V3] rhel: Fix support for root user using DPDK

2018-02-04 Thread Marcos Felipe Schwarz
Does it make sense to drop priviledges from root:root? If yes, how can it be decide which are the unneeded capabilities? To fix UIO support, the minimal change required would be to keep CAP_SYS_ADMIN when --user=root:root. Is this strategy preferable? On Fri, Feb 2, 2018 at 9:22 PM, Ben Pfaff

[ovs-dev] [patch v5 09/11] ipf: Enhance ipf_get_status.

2018-02-04 Thread Darrell Ball
A verbose option is added to dump the frag lists. Signed-off-by: Darrell Ball --- lib/ct-dpif.c | 24 + lib/ct-dpif.h | 4 +++ lib/dpctl.c | 37 -- lib/dpctl.man | 5 ++-- lib/dpif-netdev.c | 25

[ovs-dev] [patch v5 08/11] ipf: Add command to get fragmentation handling status.

2018-02-04 Thread Darrell Ball
A new command "ovs-appctl dpctl/ipf-get-status" is added for userspace datapath conntrack fragmentation support. The command shows the configuration status as well as fragment counters. Signed-off-by: Darrell Ball --- NEWS| 2 ++ lib/ct-dpif.c | 21

[ovs-dev] business order

2018-02-04 Thread thousif
Salutations d...@openvswitch.org, Before visiting your exhibition stand, I have written severally without getting any response. Please provide quotation for attached request and reply ASAP since its urgent. Let us have your best offer for the attached Inquiry. You are requested to submit your

Re: [ovs-dev] [PATCH] memory: kill ovs-vswitchd under super

2018-02-04 Thread 王志克
Hi William/Ben, I am working on how to reproduce it, but not yet have clue. Some finding when the memory usage is large: 1) Usually the flow once reached the limit, example as below # ovs-appctl upcall/show netdev@ovs-netdev: flows : (current 100) (avg 104) (max 206205) (limit

Re: [ovs-dev] deleting chassis doesn't delete the lport and lflows from northd

2018-02-04 Thread Ali Gin
Sweet. Verified and it works. Thanks Ben. On Thu, Feb 1, 2018 at 4:41 PM, Ben Pfaff wrote: > On Tue, Jan 30, 2018 at 03:12:10PM -0800, Ali Gin wrote: > > Sorry for the typo. I thought devs would catch that. So to summarize, I > was > > concerned about two issues: > > > > 1.

Re: [ovs-dev] [PATCH V2] ovn-controller: Reduce the number of flows by use conjunction action

2018-02-04 Thread Wei Li
your patch is better, pls ignore my patch, it has some bugs. and I have a question, have you considered that situasion: and(or(and(or))), it have 'or' in 2 level. I do not know how to deal with the conjunction of 'or' in level 2. 在 2018/2/3 18:12, Numan Siddique 写道: On Sat, Feb 3, 2018 at

Re: [ovs-dev] [OVN][Request] New OVS 2.8 tag

2018-02-04 Thread Numan Siddique
On Tue, Jan 2, 2018 at 5:24 PM, Daniel Alvarez Sanchez wrote: > Hi folks, > > It'd be great if we could have 2.8.2 tag so that we can benefit > from some patches that we would require in OVN and its OpenStack > integration such as: > > * OVN: Add external_ids to NAT and