[PATCH 1/2] openvswitch: Optimize updating for OvS flow_stats.

2017-07-16 Thread Tonghao Zhang
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 --- net/openvswitch/flow.c | 3 +-

Re: [PATCH 1/2] openvswitch: Optimize updating for OvS flow_stats.

2017-07-11 Thread David Miller
net-next is closed, please submit these two patches when it is open again: http://vger.kernel.org/~davem/net-next.html Thank you.

[PATCH 1/2] openvswitch: Optimize updating for OvS flow_stats.

2017-07-10 Thread Tonghao Zhang
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 --- net/openvswitch/flow.c | 3 +-