]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
imported patch bnx2-tune-interrupt-load bnx2-1.8.0j
authort_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:58 +0000 (12:05 +0000)
committert_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:58 +0000 (12:05 +0000)
drivers/net/bnx2.c

index bf6158c3ab8ceeb14e889b80de2fec77aead22b1..bfd1370d20c5de64dcfac4c4e9bc5f1e9a77fa59 100644 (file)
@@ -8195,15 +8195,15 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev)
 
        bp->rx_csum = 1;
 
-       bp->tx_quick_cons_trip_int = 20;
-       bp->tx_quick_cons_trip = 20;
-       bp->tx_ticks_int = 80;
-       bp->tx_ticks = 80;
-
-       bp->rx_quick_cons_trip_int = 6;
-       bp->rx_quick_cons_trip = 6;
-       bp->rx_ticks_int = 18;
-       bp->rx_ticks = 18;
+       bp->tx_quick_cons_trip_int = 64;
+       bp->tx_quick_cons_trip = 64;
+       bp->tx_ticks_int = 1000;
+       bp->tx_ticks = 1000;
+
+       bp->rx_quick_cons_trip_int = 12;
+       bp->rx_quick_cons_trip = 12;
+       bp->rx_ticks_int = 150;
+       bp->rx_ticks = 150;
 
        bp->stats_ticks = USEC_PER_SEC & BNX2_HC_STATS_TICKS_HC_STAT_TICKS;