diff options
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | 2019-11-01 22:23:46 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-03 17:18:03 -0800 |
commit | 4bc63b1b531df518576a97d17bf5939fdbc33ccb (patch) | |
tree | 70129ddfe828b658bf1eb05d1e5c26632a94ecfa /net/openvswitch/vport-netdev.h | |
parent | 04b7d136d015f220b1003e6c573834658d507a31 (diff) | |
download | lwn-4bc63b1b531df518576a97d17bf5939fdbc33ccb.tar.gz lwn-4bc63b1b531df518576a97d17bf5939fdbc33ccb.zip |
net: openvswitch: convert mask list in mask array
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@gmail.com>
Tested-by: Greg Rose <gvrose8192@gmail.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport-netdev.h')
0 files changed, 0 insertions, 0 deletions