mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
reduce the size of the jumbo ring on i386 and disable pcpu cluster caching
This commit is contained in:
parent
ffbb71c625
commit
ef9e6d4c6c
2 changed files with 10 additions and 0 deletions
|
|
@ -152,7 +152,12 @@ enum { /* adapter flags */
|
|||
};
|
||||
|
||||
#define FL_Q_SIZE 4096
|
||||
|
||||
#ifdef __i386__
|
||||
#define JUMBO_Q_SIZE 256
|
||||
#else
|
||||
#define JUMBO_Q_SIZE 1024
|
||||
#endif
|
||||
#define RSPQ_Q_SIZE 1024
|
||||
#define TX_ETH_Q_SIZE 1024
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,12 @@ __FBSDID("$FreeBSD$");
|
|||
#endif
|
||||
|
||||
extern int cxgb_use_16k_clusters;
|
||||
|
||||
#ifdef _i386__
|
||||
int cxgb_pcpu_cache_enable = 0;
|
||||
#else
|
||||
int cxgb_pcpu_cache_enable = 1;
|
||||
#endif
|
||||
|
||||
struct buf_stack {
|
||||
caddr_t *bs_stack;
|
||||
|
|
|
|||
Loading…
Reference in a new issue