Re: [PATCH] net: stmmac: Fix the miscalculation of mapping from rxq to dma channel

2019-08-07 Thread Shaokun Zhang
Hi Jose, Thanks your quick reply. On 2019/8/7 16:24, Jose Abreu wrote: > From: Shaokun Zhang > Date: Aug/07/2019, 09:17:29 (UTC+00:00) > >> From: yuqi jin >> >> XGMAC_MTL_RXQ_DMA_MAP1 will be configured if the number of queues is >> greater than 3, but local variable chan will shift left more

RE: [PATCH] net: stmmac: Fix the miscalculation of mapping from rxq to dma channel

2019-08-07 Thread Jose Abreu
From: Shaokun Zhang Date: Aug/07/2019, 09:17:29 (UTC+00:00) > From: yuqi jin > > XGMAC_MTL_RXQ_DMA_MAP1 will be configured if the number of queues is > greater than 3, but local variable chan will shift left more than 32-bits. > Let's fix this issue. This was already fixed in -net. Please see

[PATCH] net: stmmac: Fix the miscalculation of mapping from rxq to dma channel

2019-08-07 Thread Shaokun Zhang
From: yuqi jin XGMAC_MTL_RXQ_DMA_MAP1 will be configured if the number of queues is greater than 3, but local variable chan will shift left more than 32-bits. Let's fix this issue. Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Signed-of