summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@linux.dev>2025-01-13 11:30:00 -0500
committerJakub Kicinski <kuba@kernel.org>2025-01-14 17:30:30 -0800
commitc17ff476f53afb30f90bb3c2af77de069c81a622 (patch)
treee04c3267bc5492b2a72e43c5e9be66dfd7a9de9d /scripts/gdb/linux/timerlist.py
parent16ebb6f5b6295c9688749862a39a4889c56227f8 (diff)
net: xilinx: axienet: Fix IRQ coalescing packet count overflow
If coalesce_count is greater than 255 it will not fit in the register and will overflow. This can be reproduced by running # ethtool -C ethX rx-frames 256 which will result in a timeout of 0us instead. Fix this by checking for invalid values and reporting an error. Fixes: 8a3b7a252dca ("drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver") Signed-off-by: Sean Anderson <sean.anderson@linux.dev> Reviewed-by: Shannon Nelson <shannon.nelson@amd.com> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> Link: https://patch.msgid.link/20250113163001.2335235-1-sean.anderson@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions