linux/drivers/net/ethernet/microchip
Horatiu Vultur 0dbdf819f4 net: lan966x: Add spinlock for frame transmission from CPU.
The registers used to inject a frame to one of the ports is shared
between all the net devices. Therefore, there can be race conditions for
accessing the registers when two processes send frames at the same time
on different ports.

To fix this, add a spinlock around the function
'lan966x_port_ifh_xmit()'.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-03-09 14:59:14 +00:00
..
lan966x net: lan966x: Add spinlock for frame transmission from CPU. 2022-03-09 14:59:14 +00:00
sparx5 net: sparx5: Fix initialization of variables on stack 2022-03-04 20:57:57 -08:00
enc28j60_hw.h
enc28j60.c net: ethernet: Use netif_rx(). 2022-03-04 12:02:19 +00:00
encx24j600_hw.h net: encx24j600: check error in devm_regmap_init_encx24j600 2021-10-13 15:25:25 -07:00
encx24j600-regmap.c net: encx24j600: check error in devm_regmap_init_encx24j600 2021-10-13 15:25:25 -07:00
encx24j600.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
Kconfig net: lan966x: add the basic lan966x driver 2021-11-29 12:58:38 +00:00
lan743x_ethtool.c net: use bool values to pass bool param of phy_init_eee() 2022-01-24 17:09:56 -08:00
lan743x_ethtool.h
lan743x_main.c net: lan743x: Add support for Clause-45 MDIO PHY management 2022-02-13 12:07:26 +00:00
lan743x_main.h net: lan743x: Add support for Clause-45 MDIO PHY management 2022-02-13 12:07:26 +00:00
lan743x_ptp.c net: lan743x: Add support for 4 Tx queues 2022-02-13 12:07:26 +00:00
lan743x_ptp.h Support LAN743x PTP periodic output on any GPIO 2019-11-11 12:46:56 -08:00
Makefile net: lan966x: add the basic lan966x driver 2021-11-29 12:58:38 +00:00