aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2014-05-21 15:55:39 -0400
committerDavid S. Miller <davem@davemloft.net>2014-05-23 14:49:00 -0400
commit307f099520b66504cf6c5638f3f404c48b9fb45b (patch)
tree1e401d359547bb836ad7cce9214bf7fd578c5b91 /drivers/net/hyperv/hyperv_net.h
parent915f15ca52d8aefa253e0f13c7daa33b9f6ab399 (diff)
hyperv: Add hash value into RNDIS Per-packet info
It passes the hash value as the RNDIS Per-packet info to the Hyper-V host, so that the send completion notices can be spread across multiple channels. MS-TFS: 140273 Signed-off-by: Haiyang Zhang <haiyangz@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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index 4b7df5a5c966..6cc37c15e0bf 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -791,6 +791,7 @@ enum ndis_per_pkt_info_type {
791 IEEE_8021Q_INFO, 791 IEEE_8021Q_INFO,
792 ORIGINAL_PKTINFO, 792 ORIGINAL_PKTINFO,
793 PACKET_CANCEL_ID, 793 PACKET_CANCEL_ID,
794 NBL_HASH_VALUE = PACKET_CANCEL_ID,
794 ORIGINAL_NET_BUFLIST, 795 ORIGINAL_NET_BUFLIST,
795 CACHED_NET_BUFLIST, 796 CACHED_NET_BUFLIST,
796 SHORT_PKT_PADINFO, 797 SHORT_PKT_PADINFO,
@@ -937,6 +938,9 @@ struct ndis_tcp_lso_info {
937#define NDIS_LSO_PPI_SIZE (sizeof(struct rndis_per_packet_info) + \ 938#define NDIS_LSO_PPI_SIZE (sizeof(struct rndis_per_packet_info) + \
938 sizeof(struct ndis_tcp_lso_info)) 939 sizeof(struct ndis_tcp_lso_info))
939 940
941#define NDIS_HASH_PPI_SIZE (sizeof(struct rndis_per_packet_info) + \
942 sizeof(u32))
943
940/* Format of Information buffer passed in a SetRequest for the OID */ 944/* Format of Information buffer passed in a SetRequest for the OID */
941/* OID_GEN_RNDIS_CONFIG_PARAMETER. */ 945/* OID_GEN_RNDIS_CONFIG_PARAMETER. */
942struct rndis_config_parameter_info { 946struct rndis_config_parameter_info {