RE: [PATCH 2/6] net: dwc_eth_qos: Correctly wrap around TX descriptor tail pointer

2020-04-06 Thread Patrick DELAUNAY
Dear Marek, > From: Marek Vasut > Sent: lundi 23 mars 2020 02:45 > > This code programs the next descriptor in the TX descriptor ring into the > hardware > as the last valid TX descriptor. The problem is that if the currenty > descriptor is the > last one in the array, the code will not wrap a

Re: [PATCH 2/6] net: dwc_eth_qos: Correctly wrap around TX descriptor tail pointer

2020-03-23 Thread Ramon Fried
On Mon, Mar 23, 2020 at 3:45 AM Marek Vasut wrote: > > This code programs the next descriptor in the TX descriptor ring into > the hardware as the last valid TX descriptor. The problem is that if > the currenty descriptor is the last one in the array, the code will > not wrap around correctly and

[PATCH 2/6] net: dwc_eth_qos: Correctly wrap around TX descriptor tail pointer

2020-03-22 Thread Marek Vasut
This code programs the next descriptor in the TX descriptor ring into the hardware as the last valid TX descriptor. The problem is that if the currenty descriptor is the last one in the array, the code will not wrap around correctly and use TX descriptor 0 again, but instead will use TX descriptor