Re: [PATCH net] net: mvneta: do not redirect frames during reconfiguration

2020-06-12 Thread Lorenzo Bianconi
> From: Lorenzo Bianconi > Date: Tue, 9 Jun 2020 00:02:39 +0200 > > > Disable frames injection in mvneta_xdp_xmit routine during hw > > re-configuration in order to avoid hardware hangs > > > > Fixes: b0a43db9087a ("net: mvneta: add XDP_TX support") > > Signed-off-by: Lorenzo Bianconi > > Loo

Re: [PATCH net] net: mvneta: do not redirect frames during reconfiguration

2020-06-09 Thread David Miller
From: Lorenzo Bianconi Date: Tue, 9 Jun 2020 00:02:39 +0200 > Disable frames injection in mvneta_xdp_xmit routine during hw > re-configuration in order to avoid hardware hangs > > Fixes: b0a43db9087a ("net: mvneta: add XDP_TX support") > Signed-off-by: Lorenzo Bianconi Looking around, I wonde

Re: [PATCH net] net: mvneta: do not redirect frames during reconfiguration

2020-06-09 Thread Lorenzo Bianconi
> On Tue, Jun 09, 2020 at 09:41:10AM +0200, Lorenzo Bianconi wrote: > > > On Tue, Jun 09, 2020 at 12:02:39AM +0200, Lorenzo Bianconi wrote: > > > > Disable frames injection in mvneta_xdp_xmit routine during hw > > > > re-configuration in order to avoid hardware hangs > > > > > > Hi Lorenzo > > >

Re: [PATCH net] net: mvneta: do not redirect frames during reconfiguration

2020-06-09 Thread Andrew Lunn
On Tue, Jun 09, 2020 at 09:41:10AM +0200, Lorenzo Bianconi wrote: > > On Tue, Jun 09, 2020 at 12:02:39AM +0200, Lorenzo Bianconi wrote: > > > Disable frames injection in mvneta_xdp_xmit routine during hw > > > re-configuration in order to avoid hardware hangs > > > > Hi Lorenzo > > > > Why does m

Re: [PATCH net] net: mvneta: do not redirect frames during reconfiguration

2020-06-09 Thread Lorenzo Bianconi
> On Tue, Jun 09, 2020 at 12:02:39AM +0200, Lorenzo Bianconi wrote: > > Disable frames injection in mvneta_xdp_xmit routine during hw > > re-configuration in order to avoid hardware hangs > > Hi Lorenzo > > Why does mvneta_tx() also not need the same protection? > > Andrew Hi Andrew, So fa

Re: [PATCH net] net: mvneta: do not redirect frames during reconfiguration

2020-06-08 Thread Andrew Lunn
On Tue, Jun 09, 2020 at 12:02:39AM +0200, Lorenzo Bianconi wrote: > Disable frames injection in mvneta_xdp_xmit routine during hw > re-configuration in order to avoid hardware hangs Hi Lorenzo Why does mvneta_tx() also not need the same protection? Andrew

[PATCH net] net: mvneta: do not redirect frames during reconfiguration

2020-06-08 Thread Lorenzo Bianconi
Disable frames injection in mvneta_xdp_xmit routine during hw re-configuration in order to avoid hardware hangs Fixes: b0a43db9087a ("net: mvneta: add XDP_TX support") Signed-off-by: Lorenzo Bianconi --- drivers/net/ethernet/marvell/mvneta.c | 13 + 1 file changed, 13 insertions(+)