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

Joe Stringer joe at ovn.org
Wed Aug 23 23:24:33 UTC 2017


On 23 August 2017 at 11:21, Greg Rose <gvrose8192 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: Greg Rose <gvrose8192 at gmail.com>
> ---

Thanks for the backports, the rest of this series LGTM. I'm running a
quick build check on Travis in the mean time, but once we have an
answer on patch #1 I'd be happy to apply this series.

Cheers,
Joe


More information about the dev mailing list