aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2025-06-19 09:07:24 +0200
committerJakub Kicinski <kuba@kernel.org>2025-06-19 08:41:58 -0700
commitedf8afeecfbb0b8c1a2edb8c8892d2f759d35321 (patch)
treec432bffcd915aa38b8a65ed95db4b9c691525596 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge tag 'wireless-2025-06-18' of https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless (diff)
downloadwireguard-linux-edf8afeecfbb0b8c1a2edb8c8892d2f759d35321.tar.xz
wireguard-linux-edf8afeecfbb0b8c1a2edb8c8892d2f759d35321.zip
net: airoha: Compute number of descriptors according to reserved memory size
In order to not exceed the reserved memory size for hwfd buffers, compute the number of hwfd buffers/descriptors according to the reserved memory size and the size of each hwfd buffer (2KB). Fixes: 3a1ce9e3d01b ("net: airoha: Add the capability to allocate hwfd buffers via reserved-memory") Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20250619-airoha-hw-num-desc-v4-1-49600a9b319a@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions