hv_netvsc: Define a macro RNDIS_AND_PPI_SIZE
commit721514222db13498613706709409c21c105e0f4a
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 6 Apr 2015 22:22:53 +0000 (6 15:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 22:45:33 +0000 (7 18:45 -0400)
treedfca6e70440efd1db7f40d92196fbd4924a8f4c8
parent0d158852a8089099a6959ae235b20f230871982f
hv_netvsc: Define a macro RNDIS_AND_PPI_SIZE

The sum of RNDIS msg and PPI struct sizes is used in multiple places, so we define
a macro for them.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c