reduce the size of the jumbo ring on i386 and disable pcpu cluster caching

This commit is contained in:
Kip Macy 2008-03-31 21:02:27 +00:00
parent ffbb71c625
commit ef9e6d4c6c
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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;