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

Shaokun Zhang zhangshaokun at hisilicon.com
Wed Aug 7 08:55:13 UTC 2019


Hi Jose,

Thanks your quick reply.

On 2019/8/7 16:24, Jose Abreu wrote:
> From: Shaokun Zhang <zhangshaokun at hisilicon.com>
> Date: Aug/07/2019, 09:17:29 (UTC+00:00)
> 
>> From: yuqi jin <jinyuqi at huawei.com>
>>
>> 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 [1]
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/co
> mmit/drivers/net/ethernet/stmicro/stmmac?id=e8df7e8c233a18d2704e37ecff475
> 83b494789d3
> 
> ---
> Thanks,
> Jose Miguel Abreu
> 
> 




More information about the Linux-stm32 mailing list