aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <[email protected]>2025-06-19 07:07:24 +0000
committerJakub Kicinski <[email protected]>2025-06-19 15:41:58 +0000
commitedf8afeecfbb0b8c1a2edb8c8892d2f759d35321 (patch)
treec432bffcd915aa38b8a65ed95db4b9c691525596 /net/unix/af_unix.c
parentMerge tag 'wireless-2025-06-18' of https://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-edf8afeecfbb0b8c1a2edb8c8892d2f759d35321.tar.gz
kernel-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 <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions