Re: net: fec: rx descriptor ring out of order

2020-11-12 Thread Fabio Estevam
On Thu, Nov 12, 2020 at 8:56 AM Kegl Rohit wrote: > Not so easily possible because there are custom drivers and some > kernel modifications in the mix. imx6 is a well supported SoC in mainline. You should try a mainline kernel, otherwise we cannot help you.

Re: net: fec: rx descriptor ring out of order

2020-11-12 Thread Eric Dumazet
On 11/12/20 12:56 PM, Kegl Rohit wrote: > Our kernel already has some patches like the wmb() for the rx path and > the rmb() for the tx path applied. Well, please do not claim you use 3.10.108 then. :/ Really, there is no point for us trying to guess if one of your local change went wrong. I

Re: net: fec: rx descriptor ring out of order

2020-11-12 Thread Kegl Rohit
On Thu, Nov 12, 2020 at 12:10 PM David Laight wrote: > > From: Eric Dumazet > > Sent: 12 November 2020 10:42 > > > > On 11/12/20 7:52 AM, Kegl Rohit wrote: > > > On Wed, Nov 11, 2020 at 11:18 PM Fabio Estevam wrote: > > >> > > >> On Wed, Nov 11, 2020 at 11:27 AM Kegl Rohit wrote: > > >>> > > >>>

RE: net: fec: rx descriptor ring out of order

2020-11-12 Thread David Laight
From: Eric Dumazet > Sent: 12 November 2020 10:42 > > On 11/12/20 7:52 AM, Kegl Rohit wrote: > > On Wed, Nov 11, 2020 at 11:18 PM Fabio Estevam wrote: > >> > >> On Wed, Nov 11, 2020 at 11:27 AM Kegl Rohit wrote: > >>> > >>> Hello! > >>> > >>> We are using a imx6q platform. > >>> The fec interfac

Re: net: fec: rx descriptor ring out of order

2020-11-12 Thread Eric Dumazet
On 11/12/20 7:52 AM, Kegl Rohit wrote: > On Wed, Nov 11, 2020 at 11:18 PM Fabio Estevam wrote: >> >> On Wed, Nov 11, 2020 at 11:27 AM Kegl Rohit wrote: >>> >>> Hello! >>> >>> We are using a imx6q platform. >>> The fec interface is used to receive a continuous stream of custom / >>> raw etherne

Re: net: fec: rx descriptor ring out of order

2020-11-11 Thread Kegl Rohit
On Wed, Nov 11, 2020 at 11:18 PM Fabio Estevam wrote: > > On Wed, Nov 11, 2020 at 11:27 AM Kegl Rohit wrote: > > > > Hello! > > > > We are using a imx6q platform. > > The fec interface is used to receive a continuous stream of custom / > > raw ethernet packets. The packet size is fixed ~132 bytes

Re: net: fec: rx descriptor ring out of order

2020-11-11 Thread Fabio Estevam
On Wed, Nov 11, 2020 at 11:27 AM Kegl Rohit wrote: > > Hello! > > We are using a imx6q platform. > The fec interface is used to receive a continuous stream of custom / > raw ethernet packets. The packet size is fixed ~132 bytes and they get > sent every 250µs. > > While testing I observed spontane