linux/drivers/net/ethernet/marvell/mvpp2
Matteo Croce 230bd958c2 mvpp2: refactor MTU change code
The MTU change code can call napi_disable() with the device already down,
leading to a deadlock. Also, lot of code is duplicated unnecessarily.

Rework mvpp2_change_mtu() to avoid the deadlock and remove duplicated code.

Fixes: 3f518509de ("ethernet: Add new driver for Marvell Armada 375 network unit")
Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-29 10:59:46 -07:00
..
Makefile net: mvpp2: add a debugfs interface for the Header Parser 2018-07-16 00:10:00 -07:00
mvpp2_cls.c net: mvpp2: cls: Add support for ETHER_FLOW 2019-07-08 15:50:06 -07:00
mvpp2_cls.h net: mvpp2: cls: Add steering based on vlan Id and priority. 2019-06-18 22:26:05 -04:00
mvpp2_debugfs.c net: mvpp2: debugfs: Add pmap to fs dump 2019-06-19 17:19:46 -04:00
mvpp2_main.c mvpp2: refactor MTU change code 2019-07-29 10:59:46 -07:00
mvpp2_prs.c net: mvpp2: prs: Don't override the sign bit in SRAM parser shift 2019-06-28 14:44:03 -07:00
mvpp2_prs.h net: mvpp2: debugfs: add hit counter stats for Header Parser entries 2018-07-16 00:10:01 -07:00
mvpp2.h net: mvpp2: Add support for more ethtool counters 2019-06-10 09:12:52 -07:00