summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorManish Chopra <manishc@marvell.com>2023-02-16 14:54:47 +0300
committerDavid S. Miller <davem@davemloft.net>2023-02-20 11:25:25 +0300
commit908d4bb7c54caa58253a363d63e797a468eaf321 (patch)
tree316d7a048d51ccf7c9c57297536c78ef897d0ff7 /tools/perf/scripts/python/exported-sql-viewer.py
parent475f9ff63ee8c296aa46c6e9e9ad9bdd301c6bdf (diff)
downloadlinux-908d4bb7c54caa58253a363d63e797a468eaf321.tar.xz
qede: fix interrupt coalescing configuration
On default driver load device gets configured with unexpected higher interrupt coalescing values instead of default expected values as memory allocated from krealloc() is not supposed to be zeroed out and may contain garbage values. Fix this by allocating the memory of required size first with kcalloc() and then use krealloc() to resize and preserve the contents across down/up of the interface. Signed-off-by: Manish Chopra <manishc@marvell.com> Fixes: b0ec5489c480 ("qede: preserve per queue stats across up/down of interface") Cc: stable@vger.kernel.org Cc: Bhaskar Upadhaya <bupadhaya@marvell.com> Cc: David S. Miller <davem@davemloft.net> Link: https://bugzilla.redhat.com/show_bug.cgi?id=2160054 Signed-off-by: Alok Prasad <palok@marvell.com> Signed-off-by: Ariel Elior <aelior@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions