Increase output queue size from 64 to 255.
This commit is contained in:
parent
40370e4b9e
commit
623fa7184b
@ -1061,8 +1061,8 @@ vge_attach(device_t dev)
|
||||
ifp->if_capabilities |= IFCAP_POLLING;
|
||||
#endif
|
||||
ifp->if_init = vge_init;
|
||||
IFQ_SET_MAXLEN(&ifp->if_snd, VGE_IFQ_MAXLEN);
|
||||
ifp->if_snd.ifq_drv_maxlen = VGE_IFQ_MAXLEN;
|
||||
IFQ_SET_MAXLEN(&ifp->if_snd, VGE_TX_DESC_CNT - 1);
|
||||
ifp->if_snd.ifq_drv_maxlen = VGE_TX_DESC_CNT - 1;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/*
|
||||
|
@ -34,8 +34,6 @@
|
||||
|
||||
#define VGE_JUMBO_MTU 9000
|
||||
|
||||
#define VGE_IFQ_MAXLEN 64
|
||||
|
||||
#define VGE_TX_DESC_CNT 256
|
||||
#define VGE_RX_DESC_CNT 252 /* Must be a multiple of 4!! */
|
||||
#define VGE_TX_RING_ALIGN 64
|
||||
|
Loading…
x
Reference in New Issue
Block a user