Re: [PATCH net] soc: fsl: dpio: properly compute the consumer index

2020-05-07 Thread David Miller
From: Ioana Ciornei Date: Tue, 5 May 2020 23:14:29 +0300 > Mask the consumer index before using it. Without this, we would be > writing frame descriptors beyond the ring size supported by the QBMAN > block. > > Fixes: 3b2abda7d28c ("soc: fsl: dpio: Replace QMAN array mode with ring mode > enqu

RE: [PATCH net] soc: fsl: dpio: properly compute the consumer index

2020-05-05 Thread Ioana Ciornei
> Subject: RE: [PATCH net] soc: fsl: dpio: properly compute the consumer index > > > > > -Original Message- > > From: Ioana Ciornei > > Sent: Tuesday, May 5, 2020 3:14 PM > > To: da...@davemloft.net; net...@vger.kernel.org; linux- > > ker...@

RE: [PATCH net] soc: fsl: dpio: properly compute the consumer index

2020-05-05 Thread Leo Li
> -Original Message- > From: Ioana Ciornei > Sent: Tuesday, May 5, 2020 3:14 PM > To: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org > Cc: Youri Querry ; Leo Li ; > Ioana Ciornei > Subject: [PATCH net] soc: fsl: dpio: properly co

[PATCH net] soc: fsl: dpio: properly compute the consumer index

2020-05-05 Thread Ioana Ciornei
Mask the consumer index before using it. Without this, we would be writing frame descriptors beyond the ring size supported by the QBMAN block. Fixes: 3b2abda7d28c ("soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue") Signed-off-by: Ioana Ciornei --- I am sending this fix through t