mirror of
https://github.com/breeze303/openwrt-ipq.git
synced 2025-12-16 16:41:07 +00:00
qualcommax: skbuff_recycle: allow specifiying max size
Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
aa89d5e95f
commit
a5c7dc2f73
@ -639,7 +639,7 @@ void skb_recycler_print_all_lists(void)
|
||||
preempt_enable();
|
||||
}
|
||||
|
||||
#ifdef SKB_FAST_RECYCLABLE_DEBUG_ENABLE
|
||||
#ifdef CONFIG_SKB_FAST_RECYCLABLE_DEBUG_ENABLE
|
||||
/**
|
||||
* consume_skb_can_fast_recycle_debug - Debug API to flag any sanity check
|
||||
* failures on a fast recycled skb
|
||||
|
||||
@ -43,7 +43,10 @@
|
||||
#include <linux/prefetch.h>
|
||||
#include <linux/if.h>
|
||||
|
||||
#define SKB_RECYCLE_SIZE 2304
|
||||
#ifndef CONFIG_SKB_RECYCLE_SIZE
|
||||
#define CONFIG_SKB_RECYCLE_SIZE 2304
|
||||
#endif
|
||||
#define SKB_RECYCLE_SIZE CONFIG_SKB_RECYCLE_SIZE
|
||||
#define SKB_RECYCLE_MIN_SIZE SKB_RECYCLE_SIZE
|
||||
#define SKB_RECYCLE_MAX_SIZE SKB_RECYCLE_SIZE
|
||||
#define SKB_RECYCLE_MAX_SKBS 1024
|
||||
|
||||
Loading…
Reference in New Issue
Block a user