Thread (28 messages) 28 messages, 4 authors, 2019-11-04

Re: [PATCH net-next v6 01/10] net: openvswitch: add flow-mask cache for performance

From: Pravin Shelar <hidden>
Date: 2019-11-03 06:47:22

On Fri, Nov 1, 2019 at 7:24 AM [off-list ref] wrote:
From: Tonghao Zhang <redacted>

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 <redacted>
Tested-by: Greg Rose <redacted>
Acked-by: William Tu <redacted>
---
Signed-off-by: Pravin B Shelar <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help