summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2016-01-25 18:00:41 +0300
committerDavid S. Miller <davem@davemloft.net>2016-01-25 21:51:53 +0300
commit757647e10e55c01fb7a9c4356529442e316a7c72 (patch)
tree301b90371e403baf51efa162078be19e074f300c /tools/perf/scripts/python/call-graph-from-postgresql.py
parent87e57399e9d3606b08b0e1b2dd0f4aaa1d8ba365 (diff)
downloadlinux-757647e10e55c01fb7a9c4356529442e316a7c72.tar.xz
hv_netvsc: use skb_get_hash() instead of a homegrown implementation
Recent changes to 'struct flow_keys' (e.g commit d34af823ff40 ("net: Add VLAN ID to flow_keys")) introduced a performance regression in netvsc driver. Is problem is, however, not the above mentioned commit but the fact that netvsc_set_hash() function did some assumptions on the struct flow_keys data layout and this is wrong. Get rid of netvsc_set_hash() by switching to skb_get_hash(). This change will also imply switching to Jenkins hash from the currently used Toeplitz but it seems there is no good excuse for Toeplitz to stay. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions