netvsc: allow more flexible setting of number of channels
authorstephen hemminger <stephen@networkplumber.org>
Tue, 24 Jan 2017 21:06:03 +0000 (13:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 21:28:58 +0000 (16:28 -0500)
commit2b01888d1b453096b5b13c0d4b73e630411198b4
treeb9db34795406617aa634321810e4e8f41ed57519
parent962f3fee83a4ef9010ae84dc43ae7aecb572e2a9
netvsc: allow more flexible setting of number of channels

This allows for number of channels to be managed in a manner similar
to existing hardware drivers. It also removes the restriction of
maximum 8 channels and allows as many as the host will allow.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c