mirror of
https://github.com/breeze303/openwrt-ipq.git
synced 2025-12-18 00:51:06 +00:00
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:
parent
cfd7b7ed8c
commit
f9f488a83f
@ -32,7 +32,7 @@ config KERNEL_IPQ_MEM_PROFILE
|
|||||||
|
|
||||||
config KERNEL_SKB_RECYCLER
|
config KERNEL_SKB_RECYCLER
|
||||||
bool "Generic SKB recycling"
|
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
|
choice KERNEL_SKB_RECYCLE_SIZE
|
||||||
prompt "SKB recycler size"
|
prompt "SKB recycler size"
|
||||||
@ -73,6 +73,7 @@ config KERNEL_SKB_RECYCLE_MAX_PREALLOC_SKBS
|
|||||||
config KERNEL_SKB_FIXED_SIZE_2K
|
config KERNEL_SKB_FIXED_SIZE_2K
|
||||||
bool "SKB size fixed at 2K"
|
bool "SKB size fixed at 2K"
|
||||||
default n
|
default n
|
||||||
|
default y if KERNEL_IPQ_MEM_PROFILE < 512
|
||||||
help
|
help
|
||||||
SKB size fixed at 2K.
|
SKB size fixed at 2K.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user