Re: [PATCH net 2/2] net: ethernet: mediatek: fix inconsistency of port number carried in TXD

2017-04-11 Thread David Miller
From: Date: Tue, 11 Apr 2017 15:12:34 +0800 > @@ -410,12 +410,18 @@ struct mtk_hw_stats { > struct u64_stats_sync syncp; > }; > > -/* PDMA descriptor can point at 1-2 segments. This enum allows us to track > how > - * memory was allocated so that it can be

[PATCH net 2/2] net: ethernet: mediatek: fix inconsistency of port number carried in TXD

2017-04-11 Thread sean.wang
From: Sean Wang Fix port inconsistency on TXD due to hardware BUG that would cause different port number is carried on the same TXD between tx_map() and tx_unmap() with the iperf test. It would cause confusing BQL logic which leads to kernel panic when dual GMAC runs