|
|
@@ -40,7 +40,12 @@
|
|
|
#define AG71XX_DRV_NAME "ag71xx"
|
|
|
#define AG71XX_DRV_VERSION "0.5.35"
|
|
|
|
|
|
-#define AG71XX_NAPI_WEIGHT 64
|
|
|
+/*
|
|
|
+ * For our NAPI weight bigger does *NOT* mean better - it means more
|
|
|
+ * D-cache misses and lots more wasted cycles than we'll ever
|
|
|
+ * possibly gain from saving instructions.
|
|
|
+ */
|
|
|
+#define AG71XX_NAPI_WEIGHT 32
|
|
|
#define AG71XX_OOM_REFILL (1 + HZ/10)
|
|
|
|
|
|
#define AG71XX_INT_ERR (AG71XX_INT_RX_BE | AG71XX_INT_TX_BE)
|