bnx2x: fix swap of rx-ticks and tx-ticks parameters in interrupt coalescing flow
authorAriel Elior <ariele@broadcom.com>
Mon, 14 Mar 2011 20:43:22 +0000 (13:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2011 20:43:22 +0000 (13:43 -0700)
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_main.c

index aa032339e321b48889ae521fb198c6a590b92c58..10bc0a6a32d986eb079159f67bcc98f9453e6691 100644 (file)
@@ -4208,7 +4208,7 @@ void bnx2x_update_coalesce(struct bnx2x *bp)
 
        for_each_eth_queue(bp, i)
                bnx2x_update_coalesce_sb(bp, bp->fp[i].fw_sb_id,
-                                        bp->rx_ticks, bp->tx_ticks);
+                                        bp->tx_ticks, bp->rx_ticks);
 }
 
 static void bnx2x_init_sp_ring(struct bnx2x *bp)