[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALDO+SYs-iWumfh7tZOECCjfxD1GqRSvaYrjmP8TG_wZHHO4UQ@mail.gmail.com>
Date: Fri, 18 Oct 2019 16:29:54 -0700
From: William Tu <u9012063@...il.com>
To: xiangxia.m.yue@...il.com
Cc: Greg Rose <gvrose8192@...il.com>, pravin shelar <pshelar@....org>,
"<dev@...nvswitch.org>" <dev@...nvswitch.org>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [ovs-dev] [PATCH net-next v4 01/10] net: openvswitch: add
flow-mask cache for performance
On Wed, Oct 16, 2019 at 5:51 AM <xiangxia.m.yue@...il.com> wrote:
>
> From: Tonghao Zhang <xiangxia.m.yue@...il.com>
>
> The idea of this optimization comes from a patch which
> is committed in 2014, openvswitch community. The author
> is Pravin B Shelar. In order to get high performance, I
> implement it again. Later patches will use it.
>
> Pravin B Shelar, says:
> | On every packet OVS needs to lookup flow-table with every
> | mask until it finds a match. The packet flow-key is first
> | masked with mask in the list and then the masked key is
> | looked up in flow-table. Therefore number of masks can
> | affect packet processing performance.
>
> Link: https://github.com/openvswitch/ovs/commit/5604935e4e1cbc16611d2d97f50b717aa31e8ec5
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@...il.com>
> Tested-by: Greg Rose <gvrose8192@...il.com>
> ---
LGTM
Acked-by: William Tu <u9012063@...il.com>
Powered by blists - more mailing lists