From: Lorenzo Bianconi <lore...@kernel.org> 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 <lore...@kernel.org> Looking around, I wonder if the fundamental difference from the normal TX path is that the XDP path doesn't use the TXQ enable/disable machinery and checks like the normal ndo_start_xmit() paths do. And that's why only the XDP path has this issue. I'll apply this, so that the bug is fixed, but note that I consider this kind of change adding a new flags mask and one state bit to solve a problem to be ultimately inelegant and ususally pointing out a more fundamental issue. Thank you.