qualcommax: enable skb_recycle for IPQ > 256M

Also set SKB_FIXED_SIZE_2K if IPQ memory profile is < 512M

Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
Sean Khan 2024-07-14 18:40:29 -04:00
parent cfd7b7ed8c
commit f9f488a83f

View File

@ -32,7 +32,7 @@ config KERNEL_IPQ_MEM_PROFILE
config KERNEL_SKB_RECYCLER
bool "Generic SKB recycling"
default y if KERNEL_IPQ_MEM_PROFILE < 1024
default y if KERNEL_IPQ_MEM_PROFILE > 256
choice KERNEL_SKB_RECYCLE_SIZE
prompt "SKB recycler size"
@ -73,6 +73,7 @@ config KERNEL_SKB_RECYCLE_MAX_PREALLOC_SKBS
config KERNEL_SKB_FIXED_SIZE_2K
bool "SKB size fixed at 2K"
default n
default y if KERNEL_IPQ_MEM_PROFILE < 512
help
SKB size fixed at 2K.