diff options
author | 2025-04-10 10:13:23 +0800 | |
---|---|---|
committer | 2025-04-11 20:17:36 -0700 | |
commit | 4ad3df755a96012f792c7fa2aa62317db3cba82b (patch) | |
tree | bac8f72109918743f7a638edb42f0e678d574066 /scripts/lib/kdoc/kdoc_output.py | |
parent | net: hibmcge: fix incorrect multicast filtering issue (diff) | |
download | wireguard-linux-4ad3df755a96012f792c7fa2aa62317db3cba82b.tar.xz wireguard-linux-4ad3df755a96012f792c7fa2aa62317db3cba82b.zip |
net: hibmcge: fix the share of irq statistics among different network ports issue
hbg_irqs is a global array which contains irq statistics.
However, the irq statistics of different network ports
point to the same global array. As a result, the statistics are incorrect.
This patch allocates a statistics array for each network port
to prevent the statistics of different network ports
from affecting each other.
irq statistics are removed from hbg_irq_info. Therefore,
all data in hbg_irq_info remains unchanged. Therefore,
the input parameter of some functions is changed to const.
Fixes: 4d089035fa19 ("net: hibmcge: Add interrupt supported in this module")
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250410021327.590362-4-shaojijie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions