linux-loongson/drivers/net/ethernet/meta/fbnic
Mohsin Bashir 53abd9c86f eth: fbnic: Lock the tx_dropped update
Wrap copying of drop stats on TX path from fbd->hw_stats by the
hw_stats_lock. Currently, it is being performed outside the lock and
another thread accessing fbd->hw_stats can lead to inconsistencies.

Fixes: 5f8bd2ce82 ("eth: fbnic: add support for TMI stats")
Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250802024636.679317-3-mohsin.bashr@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-05 16:01:45 -07:00
..
fbnic_csr.c eth: fbnic: Add PCIe registers dump 2025-02-25 12:56:14 +01:00
fbnic_csr.h eth: fbnic: Add mailbox support for firmware logs 2025-07-08 17:05:46 -07:00
fbnic_debugfs.c eth: fbnic: Create fw_log file in DebugFS 2025-07-08 17:05:46 -07:00
fbnic_devlink.c eth: fbnic: rename fbnic_fw_clear_cmpl to fbnic_mbx_clear_cmpl 2025-06-26 14:56:14 +02:00
fbnic_drvinfo.h
fbnic_ethtool.c net: Fix typos 2025-07-25 10:29:07 -07:00
fbnic_fw_log.c eth: fbnic: fix ubsan complaints about OOB accesses 2025-07-11 16:00:19 -07:00
fbnic_fw_log.h eth: fbnic: Enable firmware logging 2025-07-08 17:05:46 -07:00
fbnic_fw.c eth: fbnic: Add mailbox support for firmware logs 2025-07-08 17:05:46 -07:00
fbnic_fw.h eth: fbnic: Add mailbox support for firmware logs 2025-07-08 17:05:46 -07:00
fbnic_hw_stats.c eth: fbnic: add support for TTI HW stats 2025-04-15 11:23:13 +02:00
fbnic_hw_stats.h eth: fbnic: Expand coverage of mac stats 2025-06-11 16:41:53 -07:00
fbnic_hwmon.c eth: fbnic: Add hardware monitoring support via HWMON interface 2025-01-15 14:14:11 -08:00
fbnic_irq.c fbnic: Add additional handling of IRQs 2025-05-08 11:33:30 +02:00
fbnic_mac.c eth: fbnic: rename fbnic_fw_clear_cmpl to fbnic_mbx_clear_cmpl 2025-06-26 14:56:14 +02:00
fbnic_mac.h fbnic: Set correct supported modes and speeds based on FW setting 2025-06-24 09:31:46 +02:00
fbnic_netdev.c eth: fbnic: Lock the tx_dropped update 2025-08-05 16:01:45 -07:00
fbnic_netdev.h eth: fbnic: sort includes 2025-06-26 14:56:14 +02:00
fbnic_pci.c eth: fbnic: Enable firmware logging 2025-07-08 17:05:46 -07:00
fbnic_phylink.c fbnic: Add support for setting/getting pause configuration 2025-06-24 09:31:46 +02:00
fbnic_rpc.c eth: fbnic: support n-tuple filters 2025-02-10 08:26:51 -08:00
fbnic_rpc.h eth: fbnic: support n-tuple filters 2025-02-10 08:26:51 -08:00
fbnic_time.c eth: fbnic: add initial PHC support 2024-10-10 12:52:11 +02:00
fbnic_tlv.c eth: fbnic: fix memory corruption in fbnic_tlv_attr_get_string() 2025-03-10 13:17:33 -07:00
fbnic_tlv.h eth: fbnic: Replace firmware field macros 2025-03-04 17:03:26 -08:00
fbnic_txrx.c eth: fbnic: remove the debugging trick of super high page bias 2025-08-05 16:01:26 -07:00
fbnic_txrx.h eth: fbnic: remove the debugging trick of super high page bias 2025-08-05 16:01:26 -07:00
fbnic.h eth: fbnic: Create ring buffer for firmware logs 2025-07-08 17:05:46 -07:00
Makefile eth: fbnic: Create ring buffer for firmware logs 2025-07-08 17:05:46 -07:00