Re: [PATCH] ftgmac100: Implement variable descriptor size

2020-06-04 Thread Cédric Le Goater
On 6/4/20 12:54 PM, Erik Smit wrote: > On Wed, 3 Jun 2020 at 10:16, Cédric Le Goater wrote: >> >> On 6/2/20 6:47 PM, Erik Smit wrote: >>> The hardware supports variable descriptor sizes, configured with the DBLAC >>> register. >> >> yes. >> >> The DBLAC default value is 0x00022F00 on AST2400 and 0

Re: [PATCH] ftgmac100: Implement variable descriptor size

2020-06-04 Thread Erik Smit
On Wed, 3 Jun 2020 at 10:16, Cédric Le Goater wrote: > > On 6/2/20 6:47 PM, Erik Smit wrote: > > The hardware supports variable descriptor sizes, configured with the DBLAC > > register. > > yes. > > The DBLAC default value is 0x00022F00 on AST2400 and 0x00022500 on AST2500 > and AST2600. The curre

Re: [PATCH] ftgmac100: Implement variable descriptor size

2020-06-03 Thread Cédric Le Goater
On 6/3/20 9:08 AM, Philippe Mathieu-Daudé wrote: > On 6/2/20 6:47 PM, Erik Smit wrote: >> The hardware supports variable descriptor sizes, configured with the DBLAC >> register. >> >> Most drivers use the default 2*8, which is currently hardcoded in qemu, but >> the implementation of the driver in

Re: [PATCH] ftgmac100: Implement variable descriptor size

2020-06-03 Thread Cédric Le Goater
On 6/2/20 6:47 PM, Erik Smit wrote: > The hardware supports variable descriptor sizes, configured with the DBLAC > register. yes. The DBLAC default value is 0x00022F00 on AST2400 and 0x00022500 on AST2500 and AST2600. The current reset handler needs a little fix btw. This sets the TX and RX des

Re: [PATCH] ftgmac100: Implement variable descriptor size

2020-06-03 Thread Philippe Mathieu-Daudé
On 6/2/20 6:47 PM, Erik Smit wrote: > The hardware supports variable descriptor sizes, configured with the DBLAC > register. > > Most drivers use the default 2*8, which is currently hardcoded in qemu, but > the implementation of the driver in Supermicro BMC SMT_X11_158 uses 4*8. > > -- > The impl

[PATCH] ftgmac100: Implement variable descriptor size

2020-06-02 Thread Erik Smit
The hardware supports variable descriptor sizes, configured with the DBLAC register. Most drivers use the default 2*8, which is currently hardcoded in qemu, but the implementation of the driver in Supermicro BMC SMT_X11_158 uses 4*8. -- The implementation of the driver in Supermicro BMC SMT_X11_1