Re: [PATCH 1/1] net: macb: fix the RX queue reset in macb_rx()

2016-11-28 Thread Cyrille Pitchen
Hi David, Le 28/11/2016 à 02:25, David Miller a écrit : > From: Cyrille Pitchen > Date: Fri, 25 Nov 2016 09:49:32 +0100 > >> On macb only (not gem), when a RX queue corruption was detected from >> macb_rx(), the RX queue was reset: during this process the RX ring >> buffer descriptor was initial

Re: [PATCH 1/1] net: macb: fix the RX queue reset in macb_rx()

2016-11-27 Thread David Miller
From: Cyrille Pitchen Date: Fri, 25 Nov 2016 09:49:32 +0100 > On macb only (not gem), when a RX queue corruption was detected from > macb_rx(), the RX queue was reset: during this process the RX ring > buffer descriptor was initialized by macb_init_rx_ring() but we forgot > to also set bp->rx_tai

Re: [PATCH 1/1] net: macb: fix the RX queue reset in macb_rx()

2016-11-25 Thread Nicolas Ferre
Le 25/11/2016 à 09:49, Cyrille Pitchen a écrit : > On macb only (not gem), when a RX queue corruption was detected from > macb_rx(), the RX queue was reset: during this process the RX ring > buffer descriptor was initialized by macb_init_rx_ring() but we forgot > to also set bp->rx_tail to 0. > >

[PATCH 1/1] net: macb: fix the RX queue reset in macb_rx()

2016-11-25 Thread Cyrille Pitchen
On macb only (not gem), when a RX queue corruption was detected from macb_rx(), the RX queue was reset: during this process the RX ring buffer descriptor was initialized by macb_init_rx_ring() but we forgot to also set bp->rx_tail to 0. Indeed, when processing the received frames, bp->rx_tail prov