[ovs-dev] [PATCH net-next v6 02/10] net: openvswitch: convert mask list in mask array

Pravin Shelar pshelar at ovn.org
Sun Nov 3 06:47:08 UTC 2019


On Fri, Nov 1, 2019 at 7:24 AM <xiangxia.m.yue at gmail.com> wrote:
>
> From: Tonghao Zhang <xiangxia.m.yue at gmail.com>
>
> Port the codes to linux upstream and with little changes.
>
> Pravin B Shelar, says:
> | mask caches index of mask in mask_list. On packet recv OVS
> | need to traverse mask-list to get cached mask. Therefore array
> | is better for retrieving cached mask. This also allows better
> | cache replacement algorithm by directly checking mask's existence.
>
> Link: https://github.com/openvswitch/ovs/commit/d49fc3ff53c65e4eca9cabd52ac63396746a7ef5
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue at gmail.com>
> Tested-by: Greg Rose <gvrose8192 at gmail.com>
> Acked-by: William Tu <u9012063 at gmail.com>
> ---
Signed-off-by: Pravin B Shelar <pshelar at ovn.org>


More information about the dev mailing list