mirror_ubuntu-kernels/drivers/net/ethernet
Yoshihiro Shimoda c4f922e86c net: renesas: rswitch: Add spin lock protection for irq {un}mask
Add spin lock protection for irq {un}mask registers' control.

After napi_complete_done() and this protection were applied,
a lot of redundant interrupts no longer occur.

For example: when "iperf3 -c <ipaddr> -R" on R-Car S4-8 Spider
 Before the patches are applied: about 800,000 times happened
 After the patches were applied: about 100,000 times happened

Fixes: 3590918b5d ("net: ethernet: renesas: Add support for "Ethernet Switch"")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-09-14 10:26:41 +02:00
..
3com
8390 net: ethernet: 8390: ne2k-pci: use module_pci_driver() macro 2023-08-10 19:31:57 -07:00
actions
adaptec
adi net:ethernet:adi:adin1110: Fix forwarding offload 2023-09-11 08:30:22 +01:00
aeroflex net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
agere et131x: Use pci_dev_id() to simplify the code 2023-08-13 12:30:39 +01:00
alacritech net: ethernet: slicoss: remove redundant increment of pointer data 2023-07-28 15:37:08 -07:00
allwinner
alteon
altera net: altera-tse: make ALTERA_TSE depend on HAS_IOMEM 2023-08-18 10:18:51 -07:00
amazon net: ena: Use pci_dev_id() to simplify the code 2023-08-17 19:13:09 -07:00
amd VFIO updates for v6.6-rc1 2023-08-30 20:36:01 -07:00
apm net/xgene: fix Wvoid-pointer-to-enum-cast warning 2023-08-11 09:58:45 +01:00
apple net/macmace: Replace zero-length array with DECLARE_FLEX_ARRAY() helper 2023-08-01 14:46:21 -07:00
aquantia net: atlantic: Remove unnecessary (void*) conversions 2023-07-18 19:00:47 -07:00
arc net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
asix
atheros alx: fix OOB-read compiler warning 2023-08-22 12:30:15 +02:00
broadcom net: ethernet: bcmasp: fix possible OOB write in bcmasp_netfilt_get_all_active() 2023-09-11 08:26:10 +01:00
brocade Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-07-20 15:52:55 -07:00
cadence net: macb: fix sleep inside spinlock 2023-09-12 14:58:44 +02:00
calxeda
cavium Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
chelsio - Some swap cleanups from Ma Wupeng ("fix WARN_ON in add_to_avail_list") 2023-08-29 14:25:26 -07:00
cirrus cirrus: cs89x0: fix the return value handle and remove redundant dev_warn() for platform_get_irq() 2023-08-02 12:10:39 -07:00
cisco
cortina net: gemini: Remove redundant of_match_ptr() 2023-08-16 09:59:40 +01:00
davicom net: dm9051: Use PTR_ERR_OR_ZERO() to simplify code 2023-08-23 18:57:30 -07:00
dec
dlink
emulex rtnetlink: remove redundant checks for nlattr IFLA_BRIDGE_MODE 2023-08-08 15:10:37 -07:00
engleder page_pool: split types and declarations from page_pool.h 2023-08-07 13:05:19 -07:00
ezchip net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
faraday net: ftmac100: add multicast filtering possibility 2023-08-11 06:58:31 +01:00
freescale Including fixes from netfilter and bpf. 2023-09-07 18:33:07 -07:00
fujitsu
fungible eth: add missing xdp.h includes in drivers 2023-08-03 08:38:07 -07:00
google gve: fix frag_list chaining 2023-09-04 06:52:27 +01:00
hisilicon net: hns3: remove GSO partial feature bit 2023-09-07 11:08:03 +02:00
huawei
i825xx
ibm Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-08-24 10:51:39 -07:00
intel igb: clean up in all error paths when enabling SR-IOV 2023-09-13 12:24:29 +01:00
litex net: ethernet: litex: add support for 64 bit stats 2023-06-15 22:56:46 -07:00
marvell net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc() 2023-09-11 08:26:10 +01:00
mediatek net: ethernet: mtk_eth_soc: fix pse_port configuration for MT7988 2023-09-11 10:40:49 +01:00
mellanox Including fixes from netfilter and bpf. 2023-09-07 18:33:07 -07:00
micrel
microchip net: microchip: vcap api: Fix possible memory leak for vcap_dup_rule() 2023-09-10 18:51:42 +01:00
microsoft net: mana: Add gdma stats to ethtool output for mana 2023-08-11 09:53:59 +01:00
moxa
mscc net: mscc: ocelot: Remove unused declarations 2023-08-22 10:29:15 -07:00
myricom net: move gso declarations and functions to their own files 2023-06-10 00:11:41 -07:00
natsemi
neterion ethernet: s2io: Use ether_addr_to_u64() to convert ethernet address 2023-08-09 15:26:49 -07:00
netronome rtnetlink: remove redundant checks for nlattr IFLA_BRIDGE_MODE 2023-08-08 15:10:37 -07:00
ni net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
nvidia
nxp
oki-semi net: pch_gbe: Allow build on MIPS_GENERIC kernel 2023-06-08 19:18:32 -07:00
packetengines
pasemi
pensando ionic: Remove unused declarations 2023-08-22 10:30:06 -07:00
qlogic qed/qede: Remove unused declarations 2023-08-23 08:21:37 +01:00
qualcomm net: qualcomm: Remove redundant of_match_ptr() 2023-08-16 09:59:40 +01:00
rdc
realtek r8169: fix ASPM-related issues on a number of systems with NIC version from RTL8168h 2023-08-28 10:22:57 +01:00
renesas net: renesas: rswitch: Add spin lock protection for irq {un}mask 2023-09-14 10:26:41 +02:00
rocker
samsung
seeq
sfc Including fixes from netfilter and bpf. 2023-09-07 18:33:07 -07:00
sgi
silan
sis
smsc net: smsc: Use pci_dev_id() to simplify the code 2023-08-13 12:30:39 +01:00
socionext page_pool: split types and declarations from page_pool.h 2023-08-07 13:05:19 -07:00
stmicro net: stmmac: fix handling of zero coalescing tx-usecs 2023-09-11 08:22:47 +01:00
sun ethernet: ldmvsw: mark ldmvsw_open() static 2023-08-11 18:24:02 -07:00
sunplus
synopsys
tehuti
ti net: ti: icssg-prueth: am65x SR2.0 add 10M full duplex support 2023-08-27 07:13:24 +01:00
toshiba net: tc35815: Use pci_dev_id() to simplify the code 2023-08-13 12:30:39 +01:00
tundra
vertexcom
via net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
wangxun net: ngbe: move mdio access registers to libwx 2023-08-25 07:42:59 +01:00
wiznet
xilinx Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-08-03 14:34:37 -07:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-08-03 14:34:37 -07:00
lantiq_etop.c
lantiq_xrx200.c
Makefile