]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tg3: Fix single MSI-X vector coalescing
authorMatt Carlson <mcarlson@broadcom.com>
Sun, 11 Jul 2010 09:31:41 +0000 (09:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jul 2010 00:07:41 +0000 (17:07 -0700)
commit20d7375c1fdf054ca8ab9e5b9fe7fe62b39fa218
tree3e7656c31e7086eb908d1b07b9400f320d5e8270
parent5efeeea1cf16b6382e1a9e2e389950024ba17f3e
tg3: Fix single MSI-X vector coalescing

The interrupt coalescing setup code used the TG3_FLG2_USING_MSIX flag to
determine whether or not to configure the rx coalescing parameters.
This is incorrect for the single MSI-X vector case.  This patch changes
the code to look at the TG3_FLG3_ENABLE_RSS instead.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c