, and route_table_valid is inited as false (we will call
the route_table_reset in this case). So it’s also unnecessary to
immediately reset route table in the route_table_init().
On Fri, Aug 4, 2017 at 2:00 AM, Ben Pfaff <b...@ovn.org> wrote:
> On Tue, Jul 18, 2017 at 08:44:15PM -0700, Tonghao Zhang wrot
Hi Ben, this patch is ok ?
On Fri, Aug 4, 2017 at 10:45 AM, Tonghao Zhang <xiangxia.m@gmail.com> wrote:
> We can avoid the deadlock via removing the route_table_reset() from
> the route_table_init()
>
> the call trace is below
> dp_initialize (ovsthread_once)
&
This should
> not have changed the behavior at all.
>
> I wonder whether we should change the behavior of netdev_open() with a
> NULL type, so that it somehow searches for the proper type.
>
> Thank you for your work making OVS better.
>
> On Fri, Aug 11, 2017 at 06:02:06PM +0
check all possible cpu when getting,
>> cleaning, and updating the flow_stats. Adding the cpu_used_mask to
>> sw_flow struct does’t increase the cacheline number.
>>
>> Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
>
> Patch look
all possible cpu when getting,
cleaning, and updating the flow_stats. Adding the cpu_used_mask to
sw_flow struct does’t increase the cacheline number.
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
Acked-by: Pravin B Shelar <pshe...@ovn.org>
---
net/openvswitch/flow.c | 7
In the ovs_flow_stats_update(), we only use the node
var to alloc flow_stats struct. But this is not a
common case, it is unnecessary to call the numa_node_id()
everytime. This patch is not a bugfix, but there maybe
a small increase.
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.
all possible cpu when getting,
cleaning, and updating the flow_stats. Adding the cpu_used_mask to
sw_flow struct does’t increase the cacheline number.
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
net/openvswitch/flow.c | 7 ---
net/openvswitch/flow.h | 2 +
In the ovs_flow_stats_update(), we only use the node
var to alloc flow_stats struct. But this is not a
common case, it is unnecessary to call the numa_node_id()
everytime. This patch is not a bugfix, but there maybe
a small increase.
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
lib/ovs-router.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/ovs-router.c b/lib/ovs-router.c
index b387657..ce2f80b 100644
--- a/lib/ovs-router.c
+++ b/lib/ovs-router.c
@@ -44,8 +44,6 @@
#include "unixctl.h
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
AUTHORS.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/AUTHORS.rst b/AUTHORS.rst
index 10c84c1..177cef8 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -312,6 +312,7 @@ Tsvi Slonim
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
AUTHORS.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/AUTHORS.rst b/AUTHORS.rst
index 10c84c1..177cef8 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -312,6 +312,7 @@ Tsvi Slonim
35560.html
But without it, the patch I support also avoid the problem.
However we should check the type in the ovs-router module, this
patch works well with the patch Eelco support.
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
lib/ov
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
lib/ovs-router.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/ovs-router.c b/lib/ovs-router.c
index b387657..ce2f80b 100644
--- a/lib/ovs-router.c
+++ b/lib/ovs-router.c
@@ -44,8 +44,6 @@
#include "unixctl.h
The version of ip-route may not support udp6zerocsum for
vxlan6 or geneve6. If we run the kernel check, there may
be always error message. Before running the test units,
we check the ip command.
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
tests/system-common-macros.a
% performance improve, but it is hard to tell exactly
due to variance in the test results).
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
lib/dpif-netdev.c | 17 ++---
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
Upstream commit:
commit 9cc9a5cb176ccb4f2cda5ac34da5a659926f125f
Author: Tonghao Zhang <xiangxia.m@gmail.com>
Date: Thu Jun 29 17:27:44 2017 -0700
datapath: Avoid using stack larger than 1024.
When compiling OvS-master on 4.4.0-81 kernel,
there is a w
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
AUTHORS.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/AUTHORS.rst b/AUTHORS.rst
index 5fbb9b6..ada3fe7 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -310,6 +310,7 @@ Tsvi Slonim
why not remove the function of route_table_link_del to name_table_change() ?
On Wed, Aug 9, 2017 at 3:41 PM, fukaige wrote:
> From: Kaige Fu
>
> Start a virtual machine with its backend tap device attached to a brought up
> linux bridge.
> If we delete
Thanks for your work.
Tested-by: Tonghao Zhang <xiangxia.m@gmail.com>
On Wed, Sep 13, 2017 at 4:46 PM, Ilya Maximets <i.maxim...@samsung.com> wrote:
> This change fixes constant test failure on RHEL 7 system with
> CFL
Haha, I'm fine. We just make the ovs better.
On Sat, Sep 16, 2017 at 1:45 AM, Greg Rose <gvrose8...@gmail.com> wrote:
> On 09/10/2017 06:00 PM, Tonghao Zhang wrote:
>>
>> The linux kernel 4.13 has been released. I backport the patches of
>> openvswitch h
Upstream commit:
commit c57c054eb5b1ccf230c49f736f7a018fcbc3e952
Author: Tonghao Zhang <xiangxia.m@gmail.com>
Date: Mon Jul 17 23:28:05 2017 -0700
openvswitch: Optimize updating for OvS flow_stats.
In the ovs_flow_stats_update(), we only use th
Upstream commit:
commit c4b2bf6b4a35348fe6d1eb06928eb68d7b9d99a9
Author: Tonghao Zhang <xiangxia.m@gmail.com>
Date: Mon Jul 17 23:28:06 2017 -0700
openvswitch: Optimize operations for OvS flow_stats.
When calling the flow_free() to free the fl
The linux kernel 4.13 has been released. I backport the patches of
openvswitch here.
Tonghao Zhang (2):
datapath: Optimize updating for OvS flow_stats.
datapath: Optimize operations for OvS flow_stats.
datapath/flow.c | 10 +-
datapath/flow.h | 2 ++
datapath
en_vSwitch . other_config:backend-prefix="dp1"
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
ofproto/ofproto-dpif.c | 29 ++---
ofproto/ofproto-provider.h | 2 +-
ofproto/ofproto.c | 8 ++--
ofproto/ofproto.h | 3 ++-
vswitchd/bridge.c
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
vswitchd/vswitch.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index f899a19..e73fdca 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -2100,7 +
hi,
I tested the vhost-user, but i dont get a better performance.
The test case is VM2VM which are in the same host.
if we use the vhost-net in kernel, we get a 20 Gbits/sec throughput,
but vhost-user is only 5Gits/sec.
vhost-net:
qemu-system-x86_64 -enable-kvm -m 1G -smp 4 \
-cpu host \
-netdev
, then
openvswitch will reconfigure the datapath id and mac addr of local
port.
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
lib/netdev-linux.c | 3 +++
lib/netlink-notifier.c | 4 +---
lib/netlink-notifier.h | 1 +
lib/rtnetlink.c| 9 +
lib/rtnetlink.h
will be c6:c6:d7:46:b4:4b
This patch reports the mac changed event when ports changed, then
openvswitch will reconfigure the datapath id and mac addr of local
port.
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
lib/netdev-linux.c | 3 +++
lib/netlink-notifier.c | 4 +---
lib/n
On Thu, Apr 12, 2018 at 10:18 PM, Jan Scheurich
wrote:
>> > The bond of openvswitch has not good performance.
>>
>> Any examples?
>
> For example, balance-tcp bond mode for L34 load sharing still requires a
> recirculation after dp_hash.
Yes, we need more bond modes
On Sat, Apr 14, 2018 at 2:16 AM, Ben Pfaff <b...@ovn.org> wrote:
> On Thu, Apr 12, 2018 at 05:52:46AM -0700, xiangxia.m@gmail.com wrote:
>> From: Tonghao Zhang <xiangxia.m@gmail.com>
>>
>> The bond of openvswitch has not good performance.
>
>
One question, why now ovs can only set the mac of internal interface,
for example:
ovs-vsctl set Interface p1 type=internal mac=\"00:11:22:33:44:55\"
ovs-vsctl get Interface p1 mac_in_use
And the doc about 'mac' is not explained, why we cannot set it for
other type interface. So it's a bug?
On Sat, Apr 14, 2018 at 2:15 AM, Ben Pfaff wrote:
> Why is this series tagged "net-next"? It doesn't appear to have
> anything to do with the kernel.
sorry about that.
___
dev mailing list
d...@openvswitch.org
g>
Signed-off-by: Tonghao Zhang <xiangxia.m@gmail.com>
---
utilities/ovs-ofctl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c
index 386e4f0..c637649 100644
--- a/utilities/ovs-ofctl.c
+++ b/utilities/ovs-ofctl.c
@@ -514,
On Mon, Mar 25, 2019 at 9:24 AM wenxu wrote:
>
> On 2019/3/25 上午2:46, Pravin Shelar wrote:
> > On Sun, Mar 24, 2019 at 12:03 AM wenxu wrote:
> >> On 2019/3/24 上午5:39, Pravin Shelar wrote:
> >>> On Sat, Mar 23, 2019 at 2:18 AM wenxu wrote:
> On 2019/3/23 下午3:50, Pravin Shelar wrote:
>
On Sat, Mar 23, 2019 at 5:28 PM wenxu wrote:
>
> On 2019/3/23 下午3:50, Pravin Shelar wrote:
> > On Thu, Mar 21, 2019 at 3:34 AM wrote:
> >> From: wenxu
> >>
> >> There is currently no support for the multicasti/broadcst aspects
> >> of VXLAN in ovs. In the datapath flow the tun_dst must
should apply the http://patchwork.ozlabs.org/patch/1081918/ and then
test this patch
On Wed, Apr 10, 2019 at 2:12 AM 0-day Robot wrote:
>
> Bleep bloop. Greetings Tonghao Zhang, I am a robot and I have tried out your
> patch.
> Thanks for your contribution.
>
> I encountered
On Tue, Apr 9, 2019 at 4:21 AM Ben Pfaff wrote:
>
> On Fri, Apr 05, 2019 at 12:53:39AM -0400, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > In some case, we may not use the openvswitch tc to limit the ingress
> > police rate. And before we add the
In some case, we may not use the openvswitch tc to limit the ingress
police rate. And before we add the port to openvswitch bridge, we may
set the ingress policer, so don't remove the ingress when we not configured
it in openvswitch.
Signed-off-by: Tonghao Zhang
---
lib/netdev-linux.c | 21
When enable tc-offload, we should add coverage counters for netdev_set_policing.
Fixes: e7f6ba220e10 ("lib/tc: add ingress ratelimiting support for tc-offload")
Cc: Pieter Jansen van Vuuren
Signed-off-by: Tonghao Zhang
---
lib/netdev-linux.c | 3 ++-
1 file changed, 2 insertions(+),
When enable tc-offload, we should add coverage counters for netdev_set_policing.
Fixes: e7f6ba220e10 ("lib/tc: add ingress ratelimiting support for tc-offload")
Cc: Pieter Jansen van Vuuren
Signed-off-by: Tonghao Zhang
Reviewed-by: Pieter Jansen van Vuuren
---
lib/netdev-linux.c
In some case, we may not use the openvswitch tc to limit the ingress
police rate. And before we add the port to openvswitch bridge, we may
set the ingress policer, so don't remove the ingress when we not configured
it in openvswitch.
Signed-off-by: Tonghao Zhang
---
lib/netdev-linux.c | 23
When enable tc-offload, we should add coverage counters for netdev_set_policing.
Fixes: e7f6ba220e10 ("lib/tc: add ingress ratelimiting support for tc-offload")
Cc: Pieter Jansen van Vuuren
Signed-off-by: Tonghao Zhang
Reviewed-by: Pieter Jansen van Vuuren
---
lib/netdev-li
On Sat, Apr 13, 2019 at 1:56 AM Ben Pfaff wrote:
>
> On Wed, Apr 10, 2019 at 01:10:44PM -0700, Tonghao Zhang wrote:
> > When enable tc-offload, we should add coverage counters for
> > netdev_set_policing.
> >
> > Fixes: e7f6ba220e10 ("lib/tc: add ingress ratel
On Sat, Nov 2, 2019 at 7:40 AM William Tu wrote:
>
> On Fri, Nov 1, 2019 at 7:25 AM wrote:
> >
> > From: Tonghao Zhang
> >
> > The idea of this optimization comes from a patch which
> > is committed in 2014, openvswitch community. The author
> >
On Mon, Nov 4, 2019 at 7:44 PM ychen wrote:
>
>
>
> we can easily reproduce this phenomenon by using tcp socket stream sending
> from ovs internal port.
>
>
>
>
> At 2019-10-30 19:49:16, "ychen" wrote:
>
> Hi,
>when we use docker to establish tcp session, we found that the packet
> which
On Mon, Nov 11, 2019 at 9:07 PM Simon Horman wrote:
>
> On Sun, Nov 10, 2019 at 07:44:18PM +0800, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > When using the kernel datapath, the upcall don't
> > add skb hash info relatived. That will intro
ping
On Fri, Nov 15, 2019 at 10:59 AM wrote:
>
> From: Tonghao Zhang
>
> The kernel datapath may sent upcall with hash info,
> ovs-vswitchd should get it from upcall and then send
> it back.
>
> The reason is that:
> | When using the kernel datapath, the upcall don'
On Wed, Nov 13, 2019 at 2:06 AM Gregory Rose wrote:
>
>
> On 11/12/2019 7:08 AM, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > When using the kernel datapath, the upcall don't
> > include skb hash info relatived. That will introduce
> >
On Fri, Nov 22, 2019 at 2:15 AM Gregory Rose wrote:
>
>
> On 11/21/2019 7:49 AM, Martin Varghese wrote:
> > From: Martin Varghese
> >
> > The openvswitch kernel module was supporting a MPLS label depth of 1
> > in the ingress direction though the userspace OVS supports a max depth
> > of 3
On Thu, Oct 24, 2019 at 3:14 PM Pravin Shelar wrote:
>
> On Tue, Oct 22, 2019 at 7:35 PM Tonghao Zhang
> wrote:
> >
> > On Tue, Oct 22, 2019 at 2:58 PM Pravin Shelar wrote:
> > >
> ...
>
> > > > >
> > > Sure, I can review it, Can you
On Fri, Oct 18, 2019 at 6:38 AM Pravin Shelar wrote:
>
> On Wed, Oct 16, 2019 at 5:50 AM wrote:
> >
> > From: Tonghao Zhang
> >
> > When we destroy the flow tables which may contain the flow_mask,
> > so release the flow mask struct.
> >
> > S
On Sat, Oct 19, 2019 at 7:27 AM William Tu wrote:
>
> On Wed, Oct 16, 2019 at 5:54 AM wrote:
> >
> > From: Tonghao Zhang
> >
> > The full looking up on flow table traverses all mask array.
> > If mask-array is too large, the number of invalid flow-mask
&g
On Sat, Oct 19, 2019 at 2:12 AM Pravin Shelar wrote:
>
> On Thu, Oct 17, 2019 at 8:16 PM Tonghao Zhang
> wrote:
> >
> > On Fri, Oct 18, 2019 at 6:38 AM Pravin Shelar wrote:
> > >
> > > On Wed, Oct 16, 2019 at 5:50 AM wrote:
> > > >
> >
On Tue, Oct 29, 2019 at 3:38 PM Pravin Shelar wrote:
>
> On Sun, Oct 27, 2019 at 11:49 PM Tonghao Zhang
> wrote:
> >
> > On Thu, Oct 24, 2019 at 3:14 PM Pravin Shelar wrote:
> > >
> > > On Tue, Oct 22, 2019 at 7:35 PM Tonghao Zhang
> > > wrote:
On Tue, Oct 22, 2019 at 2:58 PM Pravin Shelar wrote:
>
> On Sun, Oct 20, 2019 at 10:02 PM Tonghao Zhang
> wrote:
> >
> > On Sat, Oct 19, 2019 at 2:12 AM Pravin Shelar wrote:
> > >
> > > On Thu, Oct 17, 2019 at 8:16 PM Tonghao Zhang
> > > wrote:
On Tue, Oct 22, 2019 at 1:14 AM William Tu wrote:
>
> On Wed, Oct 16, 2019 at 5:50 AM wrote:
> >
> > From: Tonghao Zhang
> >
> > This series patch optimize openvswitch for performance or simplify
> > codes.
> >
> > Patch 1, 2, 4: Port Pravin B
On Wed, Nov 13, 2019 at 12:54 PM Pravin Shelar wrote:
>
> On Tue, Nov 12, 2019 at 7:09 AM wrote:
> >
> > From: Tonghao Zhang
> >
> > When using the kernel datapath, the upcall don't
> > include skb hash info relatived. That will introduce
> > some pro
> On Nov 12, 2019, at 12:35 PM, Pravin Shelar wrote:
>
>> On Sun, Nov 10, 2019 at 3:44 AM wrote:
>>
>> From: Tonghao Zhang
>>
>> When using the kernel datapath, the upcall don't
>> add skb hash info relatived. That will introduce
>&g
On Fri, Oct 4, 2019 at 1:09 AM William Tu wrote:
>
> Hi Tonghao,
>
> Thanks for the patch.
>
> > On 29 Sep 2019, at 19:09, xiangxia.m@gmail.com wrote:
> >
> > > From: Tonghao Zhang
> > >
> > > This series patch optimize openvswitch.
&
On Sat, Jan 11, 2020 at 12:44 AM Ilya Maximets wrote:
>
> On 10.01.2020 03:16, Tonghao Zhang wrote:
> > On Fri, Jan 10, 2020 at 2:04 AM Ben Pfaff wrote:
> >>
> >> On Thu, Jan 09, 2020 at 04:14:10PM +0100, Ilya Maximets wrote:
> >>> On 09.01.2020 08:36, x
On Mon, Jan 13, 2020 at 6:03 PM Simon Horman wrote:
>
> Hi,
>
> On Mon, Jan 13, 2020 at 05:28:04PM +0800, Tonghao Zhang wrote:
> > On Fri, Jan 10, 2020 at 7:06 PM Simon Horman
> > wrote:
> > >
> > > From: John Hurley
> > >
>
On Fri, Jan 10, 2020 at 7:06 PM Simon Horman wrote:
>
> From: John Hurley
>
> Openstack may set an skb mark of 0 in tunnel rules. This is considered to
> be an unused/unset value. However, it prevents the rule from being
> offloaded.
>
> Check if the key value of the skb mark is 0 when it is in
On Sat, Jan 11, 2020 at 12:37 AM Kevin Traynor wrote:
>
> Next meeting Jan 22nd 1700 UTC
> (Ian will run meeting - may be cancelled if no agenda)
>
> January 8th minutes
>
> Attendees: David, Flavio, Ilya, Johann, Malvika, Aaron, Simon, Ian, Kevin.
>
> - OVS 2.13 Release
> -- Feature Freeze is
On Mon, Jan 20, 2020 at 4:59 PM Ilya Maximets wrote:
>
> On 19.01.2020 12:40, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > netdev_assign_flow_api will try to init the netdev,
> > if success, the netdev will use the offload api.
> > If we in
On Thu, Jan 9, 2020 at 11:14 PM Ilya Maximets wrote:
>
> On 09.01.2020 08:36, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > For installing more than MAX_FLOWS (65536) flows to netdev datapath.
> > Add the ovs-appctl subcommand "dpif-netdev/pmd
On Fri, Jan 10, 2020 at 2:04 AM Ben Pfaff wrote:
>
> On Thu, Jan 09, 2020 at 04:14:10PM +0100, Ilya Maximets wrote:
> > On 09.01.2020 08:36, xiangxia.m@gmail.com wrote:
> > > From: Tonghao Zhang
> > >
> > > For installing more than MAX_FLOWS (655
On Sat, Jan 4, 2020 at 7:50 AM Ilya Maximets wrote:
>
> Most of callers doesn't initialize dpif_execute.hash leaving random
> value from the stack. And this random value used later while encoding
> netlink message and might produce unwanted kernel behavior.
>
> Fix that by fully initializing
all->hash);
> }
>
> error = upcall_receive(upcall, udpif->backer, >packet,
> @@ -830,6 +831,7 @@ recv_upcalls(struct handler *handler)
> upcall->key = dupcall->key;
> upcall->key_len = dupcall->key_len;
> upca
Hi Matteo,
Did you have plan to implement the TTL decrement action in userspace
datapath(with dpdk),
I am doing some research offloading about TTL decrement action, and
may sent patch TTL decrement offload action,
using dpdk rte_flow.
On Fri, Dec 20, 2019 at 8:37 PM Matteo Croce wrote:
>
> On
On Wed, Dec 25, 2019 at 7:16 AM bindiya Kurle wrote:
>
> Hi Tonghao,
> Once this kernel patch is integrated . I will be submitting patch to ovs-dpdk
> for implementing dec_ttl action on dpdk datapath.
Good, thanks
> Regards,
> Bindiya
>
> On Tue, Dec 24, 2019 at 2:12 PM
On Wed, Jan 8, 2020 at 6:34 AM Ben Pfaff wrote:
>
> On Mon, Dec 23, 2019 at 07:17:34PM +0800, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > There may be too many flows (> MAX_FLOWS 65536) on
> > dpif-netdev at same time. For this case, we s
On Sat, Mar 14, 2020 at 7:01 PM 0-day Robot wrote:
>
> Bleep bloop. Greetings Tonghao Zhang, 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:
&g
On Wed, Apr 8, 2020 at 11:09 PM William Tu wrote:
>
> On Wed, Apr 01, 2020 at 06:50:09PM +0800, Tonghao Zhang wrote:
> > On Tue, Mar 31, 2020 at 11:57 AM Pravin Shelar wrote:
> > >
> > > On Sun, Mar 29, 2020 at 5:35 PM Tonghao Zhang
> > > wrote:
> >
On Wed, Apr 8, 2020 at 11:59 PM Tonghao Zhang wrote:
>
> On Wed, Apr 8, 2020 at 11:09 PM William Tu wrote:
> >
> > On Wed, Apr 01, 2020 at 06:50:09PM +0800, Tonghao Zhang wrote:
> > > On Tue, Mar 31, 2020 at 11:57 AM Pravin Shelar wrote:
> > > >
> >
On Fri, Apr 10, 2020 at 5:41 AM William Tu wrote:
>
> On Wed, Apr 08, 2020 at 11:59:25PM +0800, Tonghao Zhang wrote:
> > On Wed, Apr 8, 2020 at 11:09 PM William Tu wrote:
> > >
> > > On Wed, Apr 01, 2020 at 06:50:09PM +0800, Tonghao Zhang wrote:
> > > &g
On Mon, Apr 13, 2020 at 11:26 PM Ravi Kerur wrote:
>
>
>
> On Sun, Apr 12, 2020 at 5:05 AM Tonghao Zhang
> wrote:
>>
>> On Sun, Apr 12, 2020 at 7:57 AM Ravi Kerur wrote:
>> >
>> > Hello OvS DPDK team,
>> >
>> > I am using
On Sat, Apr 11, 2020 at 11:48 PM William Tu wrote:
>
> On Fri, Apr 10, 2020 at 06:02:47PM +0800, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > When offloading the flows which matching the vlan feild,
> > there is an error[1]. Then we can't offl
On Sun, Apr 12, 2020 at 7:57 AM Ravi Kerur wrote:
>
> Hello OvS DPDK team,
>
> I am using OvS 2.13.90 and DPDK 19.11 and wanted to use HPET timer instead
> of invariant TSC.
>
> Enabled CONFIG_RTE_LIBEAL_USE_HPET=y in DPDK
>
> Kernel has
> CONFIG_HPET_TIMER=y
> CONFIG_HPET_EMULATE_RTC=y
>
On Mon, Apr 20, 2020 at 1:29 AM Pravin Shelar wrote:
>
> On Sat, Apr 18, 2020 at 10:25 AM wrote:
> >
> > From: Tonghao Zhang
> >
> > In kernel datapath of Open vSwitch, there are only 1024
> > buckets of meter in one dp. If installing more than 1024
On Mon, Apr 20, 2020 at 1:31 AM Pravin Shelar wrote:
>
> On Sat, Apr 18, 2020 at 10:25 AM wrote:
> >
> > From: Tonghao Zhang
> >
> > Don't allow user to create meter unlimitedly,
> > which may cause to consume a large amount of kernel memory.
> > The
t; > Cc: Ilya Maximets
> > Subject: [ovs-dev] [PATCH v2 1/2] dpif-netdev: Expand the meter capacity
> > using cmap
> >
> > From: Tonghao Zhang
> >
> > For now, ovs-vswitchd use the array of the dp_meter struct to store meter's
> > data, and at most, th
On Sun, Mar 15, 2020 at 5:49 PM Noa Levy wrote:
>
> ping
>
> > -Original Message-
> > From: Noa Ezra
> > Sent: Thursday, March 5, 2020 4:15 PM
> > To: ovs-dev@openvswitch.org
> > Cc: i.maxim...@ovn.org; Ameer Mahagneh ; Noa
> > Levy ; Roni Bar Yanai ;
> > e...@labmailer.mlnx; Majd
On Sun, Mar 15, 2020 at 5:49 PM Noa Levy wrote:
>
> ping
>
> > -Original Message-
> > From: Noa Ezra
> > Sent: Thursday, March 5, 2020 4:15 PM
> > To: ovs-dev@openvswitch.org
> > Cc: i.maxim...@ovn.org; Ameer Mahagneh ; Noa
> > Levy ; Roni Bar Yanai ;
> > e...@labmailer.mlnx; Majd
On Fri, Mar 27, 2020 at 3:58 AM Yifeng Sun wrote:
>
> Tun_metadata can be referened by flow and frozen_state at the same
> time. When ovs-vswitchd handles TLV table mod message, the involved
> tun_metadata gets freed. The call trace to free tun_metadata is
> shown as below:
>
> ofproto_run
> -
On Tue, Mar 24, 2020 at 8:40 PM Tonghao Zhang wrote:
>
> On Tue, Mar 24, 2020 at 1:11 PM Ben Pfaff wrote:
> >
> > On Tue, Mar 24, 2020 at 09:25:41AM +0800, Tonghao Zhang wrote:
> > > On Mon, Mar 16, 2020 at 12:06 PM Tonghao Zhang
> > > wrote:
> > &g
On Tue, Mar 31, 2020 at 11:57 AM Pravin Shelar wrote:
>
> On Sun, Mar 29, 2020 at 5:35 PM Tonghao Zhang
> wrote:
> >
> > On Mon, Mar 30, 2020 at 12:46 AM Pravin Shelar wrote:
> > >
> > > On Sat, Mar 28, 2020 at 8:46 AM wrote:
> > > >
>
On Mon, Mar 30, 2020 at 12:46 AM Pravin Shelar wrote:
>
> On Sat, Mar 28, 2020 at 8:46 AM wrote:
> >
> > From: Tonghao Zhang
> >
> > In kernel datapath of Open vSwitch, there are only 1024
> > buckets of meter in one dp. If installing more than 1024
On Sat, Apr 25, 2020 at 1:54 AM Geert Uytterhoeven wrote:
>
> Hi Toke,
>
> On Fri, Apr 24, 2020 at 6:45 PM Toke Høiland-Jørgensen
> wrote:
> > Geert Uytterhoeven writes:
> > > On Fri, Apr 24, 2020 at 5:05 PM Eric Dumazet
> > > wrote:
> > >> On 4/24/20 5:10 AM, Geert Uytterhoeven wrote:
> >
On Fri, Apr 24, 2020 at 3:49 AM David Miller wrote:
>
> From: David Miller
> Date: Thu, 23 Apr 2020 12:45:29 -0700 (PDT)
>
> > From: xiangxia.m@gmail.com
> > Date: Thu, 23 Apr 2020 01:08:55 +0800
> >
> >> From: Tonghao Zhang
> >>
> >
On Sat, May 16, 2020 at 1:14 AM Ilya Maximets wrote:
>
> On 5/13/20 3:31 PM, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > The patch set expand or shrink the meter table when necessary.
> > and other patches fix bug or improve codes.
> >
>
On Sat, May 16, 2020 at 1:09 AM Ilya Maximets wrote:
>
> On 5/13/20 3:31 PM, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > For now, ovs-vswitchd use the array of the dp_meter struct
> > to store meter's data, and at most, there are only 65536
>
On Sat, May 9, 2020 at 11:26 PM William Tu wrote:
>
> On Sat, May 09, 2020 at 09:54:10AM +0800, Tonghao Zhang wrote:
> > On Sat, May 9, 2020 at 7:23 AM William Tu wrote:
> > >
> > > On Thu, Apr 30, 2020 at 07:00:37PM +0800, xiangxia.m@gmail.com wrot
On Sun, May 10, 2020 at 12:19 AM William Tu wrote:
>
> On Thu, Apr 30, 2020 at 07:00:36PM +0800, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > For now, ovs-vswitchd use the array of the dp_meter struct
> > to store meter's data, and at most, the
On Tue, Apr 21, 2020 at 10:48 PM Toshiaki Makita
wrote:
>
> This adds a reference program, flowtable_afxdp.o, which can be used to
> offload flows to XDP through netdev-offload-xdp.
> The program will be compiled when using --enable-bpf switch.
Hi Toshiaki
Good! One question, did we test the
On Mon, Mar 16, 2020 at 12:06 PM Tonghao Zhang wrote:
>
> On Mon, Mar 16, 2020 at 11:07 AM Yanqin Wei wrote:
> >
> > Hi Xiangxia,
> >
> > The meter id is allocated by id_pool, which can always return the lowest
> > available id.
> Yes, I
On Tue, Mar 24, 2020 at 1:11 PM Ben Pfaff wrote:
>
> On Tue, Mar 24, 2020 at 09:25:41AM +0800, Tonghao Zhang wrote:
> > On Mon, Mar 16, 2020 at 12:06 PM Tonghao Zhang
> > wrote:
> > >
> > > On Mon, Mar 16, 2020 at 11:07 AM Yanqin Wei
On Sat, May 9, 2020 at 7:12 AM William Tu wrote:
>
> On Thu, Apr 30, 2020 at 07:00:38PM +0800, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > When setting the meter rate to 4+Gbps, there is an overflow, the
> > meters don't work as expected.
>
On Sat, May 9, 2020 at 7:23 AM William Tu wrote:
>
> On Thu, Apr 30, 2020 at 07:00:37PM +0800, xiangxia.m@gmail.com wrote:
> > From: Tonghao Zhang
> >
> > For now, the meter of the userspace datapath, don't include
> > the bucket burst size to buckets. This pat
; Reviewed-by: Greg Rose
> Signed-off-by: David S. Miller
>
> commit bd1903b7c4596ba6f7677d0dfefd05ba5876707d
> Author: Tonghao Zhang
> Date: Wed Nov 13 23:04:49 2019 +0800
>
> net: openvswitch: add hash info to upcall
>
> When using the kernel
On Sun, May 24, 2020 at 3:38 PM Sriharsha Basavapatna via dev
wrote:
>
> Parse VLAN PUSH/POP OVS datapath actions and add respective RTE actions.
One question, if pop vlan in the hw, then process it in userspace
datapath, the metadata of vlan should restore it.
I guess pop_vlan/pop_vxlan are same
1 - 100 of 223 matches
Mail list logo