Re: [PATCH] netronome: don't access real_num_rx_queues directly

2016-11-16 Thread David Miller
From: Arnd Bergmann Date: Wed, 16 Nov 2016 15:10:49 +0100 > The netdev->real_num_rx_queues setting is only available if CONFIG_SYSFS > is enabled, so we now get a build failure when that is turned off: > > netronome/nfp/nfp_net_common.c: In function 'nfp_net_ring_swap_enable': > netronome/nfp/nf

Re: [PATCH] netronome: don't access real_num_rx_queues directly

2016-11-16 Thread Jakub Kicinski
On Wed, Nov 16, 2016 at 6:10 AM, Arnd Bergmann wrote: > The netdev->real_num_rx_queues setting is only available if CONFIG_SYSFS > is enabled, so we now get a build failure when that is turned off: > > netronome/nfp/nfp_net_common.c: In function 'nfp_net_ring_swap_enable': > netronome/nfp/nfp_net_

[PATCH] netronome: don't access real_num_rx_queues directly

2016-11-16 Thread Arnd Bergmann
The netdev->real_num_rx_queues setting is only available if CONFIG_SYSFS is enabled, so we now get a build failure when that is turned off: netronome/nfp/nfp_net_common.c: In function 'nfp_net_ring_swap_enable': netronome/nfp/nfp_net_common.c:2489:18: error: 'struct net_device' has no member name