]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH net-next] tg3: Set real_num_rx_queues for non-multiq devs
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 6 Oct 2010 20:40:58 +0000 (13:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2010 20:40:58 +0000 (13:40 -0700)
commit58762279a87c1491c1a03a55eca3a7e78ad4089e
treeb659c423ff9226f777dab833431c864a188b3ad9
parent0dd33f7fc412f717db56bd9c0c0705f8681ae4da
[PATCH net-next] tg3: Set real_num_rx_queues for non-multiq devs

Commit d648cd6732c380d0042a572bf4d477569b9f1f38 entitled "tg3: Use
netif_set_real_num_{rx,tx}_queues()" added a new call to
netif_set_real_num_rx_queues in tg3_enable_msix().  This call also needs
to be added to the legacy path to correctly reflect the actual number of
rx queues.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c