Re: [PATCH 2/3] net: stmmac: Always use the number of configured TX queues

2017-03-28 Thread Thierry Reding
On Tue, Mar 28, 2017 at 04:10:43PM +0200, Niklas Cassel wrote: > > > On 03/28/2017 03:57 PM, Thierry Reding wrote: > > From: Thierry Reding > > > > Even if hardware supports multiple queues, software can choose to only > > use a subset of them. Make sure we never try to

Re: [PATCH 2/3] net: stmmac: Always use the number of configured TX queues

2017-03-28 Thread Niklas Cassel
On 03/28/2017 03:57 PM, Thierry Reding wrote: > From: Thierry Reding > > Even if hardware supports multiple queues, software can choose to only > use a subset of them. Make sure we never try to access uninitialized > queues. > > Signed-off-by: Thierry Reding

[PATCH 2/3] net: stmmac: Always use the number of configured TX queues

2017-03-28 Thread Thierry Reding
From: Thierry Reding Even if hardware supports multiple queues, software can choose to only use a subset of them. Make sure we never try to access uninitialized queues. Signed-off-by: Thierry Reding --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c