Kaynağa Gözat

[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>
Malli Chilakala 20 yıl önce
ebeveyn
işleme
9c15d24f24
1 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. 5 3
      drivers/net/ixgb/ixgb_main.c

+ 5 - 3
drivers/net/ixgb/ixgb_main.c

@@ -145,10 +145,12 @@ MODULE_LICENSE("GPL");
 MODULE_VERSION(DRV_VERSION);
 
 /* some defines for controlling descriptor fetches in h/w */
-#define RXDCTL_PTHRESH_DEFAULT 128	/* chip considers prefech below this */
-#define RXDCTL_HTHRESH_DEFAULT 16	/* chip will only prefetch if tail is 
-					   pushed this many descriptors from head */
 #define RXDCTL_WTHRESH_DEFAULT 16	/* chip writes back at this many or RXT0 */
+#define RXDCTL_PTHRESH_DEFAULT 0		/* chip considers prefech below
+						 * this */
+#define RXDCTL_HTHRESH_DEFAULT 0		/* chip will only prefetch if tail
+						 * is pushed this many descriptors
+						 * from head */
 
 /**
  * ixgb_init_module - Driver Registration Routine