[ovs-dev] [PATCH 1/2] datapath: Optimize updating for OvS flow_stats.

Andy Zhou azhou at ovn.org
Fri Sep 22 19:44:12 UTC 2017


On Sun, Sep 10, 2017 at 6:00 PM, Tonghao Zhang <xiangxia.m.yue at gmail.com> wrote:
> Upstream commit:
>         commit c57c054eb5b1ccf230c49f736f7a018fcbc3e952
>         Author: Tonghao Zhang <xiangxia.m.yue at 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 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.yue at gmail.com>
>         Signed-off-by: David S. Miller <davem at davemloft.net>
>
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue at gmail.com>
Applied both patches to master. Thanks!


More information about the dev mailing list