summaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorStephen Hemminger <sthemmin@microsoft.com>2019-11-02 00:42:38 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-05 23:01:35 +0100
commit1fac7ca4e63bf935780cc632ccb6ba8de5f22321 (patch)
tree12971992adf35d2bce8056288a871fd00aa74941 /drivers/net/hyperv/hyperv_net.h
parenthv_netvsc: flag software created hash value (diff)
downloadlinux-1fac7ca4e63bf935780cc632ccb6ba8de5f22321.tar.xz
linux-1fac7ca4e63bf935780cc632ccb6ba8de5f22321.zip
hv_netvsc: record hardware hash in skb
Since RSS hash is available from the host, record it in the skb. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r--drivers/net/hyperv/hyperv_net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index 670ef682f268..4209d1cf57f6 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -853,6 +853,7 @@ struct multi_recv_comp {
struct nvsc_rsc {
const struct ndis_pkt_8021q_info *vlan;
const struct ndis_tcp_ip_checksum_info *csum_info;
+ const u32 *hash_info;
u8 is_last; /* last RNDIS msg in a vmtransfer_page */
u32 cnt; /* #fragments in an RSC packet */
u32 pktlen; /* Full packet length */