aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorJijie Shao <[email protected]>2025-04-10 02:13:23 +0000
committerJakub Kicinski <[email protected]>2025-04-12 03:17:36 +0000
commit4ad3df755a96012f792c7fa2aa62317db3cba82b (patch)
treebac8f72109918743f7a638edb42f0e678d574066 /drivers/fpga/tests/fpga-mgr-test.c
parentnet: hibmcge: fix incorrect multicast filtering issue (diff)
downloadkernel-4ad3df755a96012f792c7fa2aa62317db3cba82b.tar.gz
kernel-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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions