Re: [PATCH] netvsc: don't access netdev->num_rx_queues directly

2017-06-22 Thread David Miller
From: Arnd Bergmann Date: Thu, 22 Jun 2017 00:16:37 +0200 > This structure member is hidden behind CONFIG_SYSFS, and we > get a build error when that is disabled: > > drivers/net/hyperv/netvsc_drv.c: In function 'netvsc_set_channels': > drivers/net/hyperv/netvsc_drv.c:754:49: error: 'struct net_

Re: [PATCH] netvsc: don't access netdev->num_rx_queues directly

2017-06-21 Thread Stephen Hemminger
On Thu, 22 Jun 2017 00:16:37 +0200 Arnd Bergmann wrote: > This structure member is hidden behind CONFIG_SYSFS, and we > get a build error when that is disabled: > > drivers/net/hyperv/netvsc_drv.c: In function 'netvsc_set_channels': > drivers/net/hyperv/netvsc_drv.c:754:49: error: 'struct net_de

RE: [PATCH] netvsc: don't access netdev->num_rx_queues directly

2017-06-21 Thread Haiyang Zhang
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Wednesday, June 21, 2017 6:17 PM > To: Stephen Hemminger > Cc: Arnd Bergmann ; KY Srinivasan ; > Haiyang Zhang ; David S. Miller > ; Simon Xiao ; > de...@linuxdriverproject.org; netdev@vger.kernel.org; linux- > ker