android_kernel_samsung_univ.../drivers/net/hyperv
Vitaly Kuznetsov 6cc5b73d79 hv_netvsc: use skb_get_hash() instead of a homegrown implementation
commit 757647e10e55c01fb7a9c4356529442e316a7c72 upstream.

Recent changes to 'struct flow_keys' (e.g commit d34af823ff ("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>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-26 12:13:18 +02:00
..
hyperv_net.h hv_netvsc: Set vRSS with num_chn in RNDIS filter 2015-08-12 14:45:38 -07:00
Kconfig
Makefile
netvsc_drv.c hv_netvsc: use skb_get_hash() instead of a homegrown implementation 2017-03-26 12:13:18 +02:00
netvsc.c hv_netvsc: Add structs and handlers for VF messages 2015-07-27 01:12:26 -07:00
rndis_filter.c hv_netvsc: Set vRSS with num_chn in RNDIS filter 2015-08-12 14:45:38 -07:00