Re: [PATCH] net: mvneta: Fix the case where the last poll did not process all rx

From: David Miller
Date: Mon Mar 16 2020 - 18:07:08 EST


From: Jisheng Zhang <jszhang3@xxxxxxxxxxxxxxxx>
Date: Mon, 16 Mar 2020 22:56:36 +0800

> From: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
>
> For the case where the last mvneta_poll did not process all
> RX packets, we need to xor the pp->cause_rx_tx or port->cause_rx_tx
> before claculating the rx_queue.
>
> Fixes: 2dcf75e2793c ("net: mvneta: Associate RX queues with each CPU")
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>

Applied and queued up for -stable, thanks.