aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalli Chilakala <mallikarjuna.chilakala@intel.com>2005-08-11 16:58:02 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-11 17:09:19 -0400
commit9c15d24f2420c2155eccd32d7ab909a9c0e63c2b (patch)
tree3451199b0eba23a0b4687ce915fd2caa38b82b55
parent2bf69b5fe90b3246ab50064c5a690a363e8c53e2 (diff)
[PATCH] ixgb: Set RXDCTL:PTHRESH/HTHRESH to zero
Set RXDCTL:PTHRESH/HTHRESH to zero Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
-rw-r--r--drivers/net/ixgb/ixgb_main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c
index 097b90ccf575..492783be205e 100644
--- a/drivers/net/ixgb/ixgb_main.c
+++ b/drivers/net/ixgb/ixgb_main.c
@@ -145,10 +145,12 @@ MODULE_LICENSE("GPL");
145MODULE_VERSION(DRV_VERSION); 145MODULE_VERSION(DRV_VERSION);
146 146
147/* some defines for controlling descriptor fetches in h/w */ 147/* some defines for controlling descriptor fetches in h/w */
148#define RXDCTL_PTHRESH_DEFAULT 128 /* chip considers prefech below this */
149#define RXDCTL_HTHRESH_DEFAULT 16 /* chip will only prefetch if tail is
150 pushed this many descriptors from head */
151#define RXDCTL_WTHRESH_DEFAULT 16 /* chip writes back at this many or RXT0 */ 148#define RXDCTL_WTHRESH_DEFAULT 16 /* chip writes back at this many or RXT0 */
149#define RXDCTL_PTHRESH_DEFAULT 0 /* chip considers prefech below
150 * this */
151#define RXDCTL_HTHRESH_DEFAULT 0 /* chip will only prefetch if tail
152 * is pushed this many descriptors
153 * from head */
152 154
153/** 155/**
154 * ixgb_init_module - Driver Registration Routine 156 * ixgb_init_module - Driver Registration Routine