]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
eth: nfp: Remove u64_stats_update_begin()/end() for stats fetch
authorLi RongQing <lirongqing@baidu.com>
Fri, 15 Aug 2025 01:56:19 +0000 (09:56 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Aug 2025 00:30:01 +0000 (17:30 -0700)
commit1fb39d4c23b1e2b16bfd46261f4e83d42c1ff0a4
treefc6faf385133c4e320b765be515783ef51c1703a
parent661bfb4699f8cb283014861d3fc35195df4eead0
eth: nfp: Remove u64_stats_update_begin()/end() for stats fetch

This place is fetching the stats, u64_stats_update_begin()/end()
should not be used, and the fetcher of stats is in the same
context as the updater of the stats, so don't need any protection

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Link: https://patch.msgid.link/20250815015619.2713-1-lirongqing@baidu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/netronome/nfp/nfd3/dp.c
drivers/net/ethernet/netronome/nfp/nfdk/dp.c