bnx: Allow TX/RX max coalesce BDs to be 0; mainly for debugging
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 8 Aug 2012 11:11:03 +0000 (19:11 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 8 Aug 2012 11:11:03 +0000 (19:11 +0800)
sys/dev/netif/bnx/if_bnxvar.h

index 91c857f..6c09470 100644 (file)
@@ -283,12 +283,12 @@ struct bnx_softc {
 #define BNX_TX_COAL_TICKS_MAX  1023
 
 /* RX coalesce BDs */
-#define BNX_RX_COAL_BDS_MIN    1
+#define BNX_RX_COAL_BDS_MIN    0
 #define BNX_RX_COAL_BDS_DEF    80
 #define BNX_RX_COAL_BDS_MAX    255
 
 /* TX coalesce BDs */
-#define BNX_TX_COAL_BDS_MIN    1
+#define BNX_TX_COAL_BDS_MIN    0
 #define BNX_TX_COAL_BDS_DEF    128
 #define BNX_TX_COAL_BDS_MAX    255