mirror of
https://github.com/breeze303/nss-packages.git
synced 2025-12-16 08:44:52 +00:00
This script is meant to set various skb_recycler settings. There is a similar version in QSDK, but it's packaged in the main repo, rather than an external package like 'qca-nss-drv'. To avoid making too many changes in the main repo, introduce this script in `qca-nss-drv`. This script will read the following config: /etc/config/skb_recycler ``` config skb_recycler 'opt' option max_skbs '1024' option max_spare_skbs '256' option enable '1' ``` Users are encouraged to experiment disabling `skb_recycler` to see if memory leaks are still occuring, especially on 512M boards. There are issues currently where skb_recycler corrupts skbs during times of high traffic, but there wasn't a way to completely disable it. Signed-off-by: Sean Khan <datapronix@protonmail.com>
7 lines
100 B
Plaintext
7 lines
100 B
Plaintext
|
|
config skb_recycler 'opt'
|
|
option max_skbs '1024'
|
|
option max_spare_skbs '512'
|
|
option enable '0'
|
|
|