[PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Marek Vasut
The DWMAC4 IP has the possibility to skip up to 7 64bit words after the descriptor, use this to pad the descriptors to cacheline size. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried Cc: Stephen Warren --- drivers/net/dwc_eth_qos.c | 2

RE: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-05-13 Thread Patrick DELAUNAY
Hi Stephen and Marek > From: Stephen Warren > Sent: mercredi 29 avril 2020 23:51 > To: Marek Vasut > Cc: u-boot@lists.denx.de; Joe Hershberger ; Patrice > CHOTARD ; Patrick DELAUNAY > ; Ramon Fried ; Stephen > Warren ; Tom Warren > Subject: Re: [PATCH] net: dwc_eth

Re: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Stephen Warren
On 4/29/20 1:14 PM, Marek Vasut wrote: > The DWMAC4 IP has the possibility to skip up to 7 64bit words after > the descriptor, use this to pad the descriptors to cacheline size. > diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c > /* Descriptors */ > +/* Nit: Blank line betwee

Re: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Marek Vasut
On 4/29/20 9:51 PM, Stephen Warren wrote: > On 4/29/20 1:14 PM, Marek Vasut wrote: >> The DWMAC4 IP has the possibility to skip up to 7 64bit words after >> the descriptor, use this to pad the descriptors to cacheline size. > >> diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c >

Re: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Stephen Warren
On 4/29/20 1:56 PM, Marek Vasut wrote: > On 4/29/20 9:51 PM, Stephen Warren wrote: >> On 4/29/20 1:14 PM, Marek Vasut wrote: >>> The DWMAC4 IP has the possibility to skip up to 7 64bit words after >>> the descriptor, use this to pad the descriptors to cacheline size. >> >>> diff --git a/drivers/net

Re: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Marek Vasut
On 4/29/20 11:25 PM, Stephen Warren wrote: > On 4/29/20 1:56 PM, Marek Vasut wrote: >> On 4/29/20 9:51 PM, Stephen Warren wrote: >>> On 4/29/20 1:14 PM, Marek Vasut wrote: The DWMAC4 IP has the possibility to skip up to 7 64bit words after the descriptor, use this to pad the descriptors t

Re: [PATCH] net: dwc_eth_qos: Pad descriptors to cacheline size

2020-04-29 Thread Stephen Warren
On 4/29/20 3:41 PM, Marek Vasut wrote: > On 4/29/20 11:25 PM, Stephen Warren wrote: >> On 4/29/20 1:56 PM, Marek Vasut wrote: >>> On 4/29/20 9:51 PM, Stephen Warren wrote: On 4/29/20 1:14 PM, Marek Vasut wrote: > The DWMAC4 IP has the possibility to skip up to 7 64bit words after > the