Re: [PATCH] [net-next] stmmac: use netif_set_real_num_{rx,tx}_queues
From: David Miller
Date: Tue Mar 28 2017 - 21:01:30 EST
From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Tue, 28 Mar 2017 11:48:21 +0200
> A driver must not access the two fields directly but should instead use
> the helper functions to set the values and keep a consistent internal
> state:
>
> ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe':
> ethernet/stmicro/stmmac/stmmac_main.c:4083:8: error: 'struct net_device' has no member named 'real_num_rx_queues'; did you mean 'real_num_tx_queues'?
>
> Fixes: a8f5102af2a7 ("net: stmmac: TX and RX queue priority configuration")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Applied.