Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datapath: Optimize updating for OvS flow_stats.
Upstream commit: commit c57c054eb5b1ccf230c49f736f7a018fcbc3e952 Author: Tonghao Zhang <[email protected]> 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 <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Tonghao Zhang <[email protected]> Signed-off-by: Andy Zhou <[email protected]>
- Loading branch information