diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-02-12 15:47:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-13 02:05:51 +0100 |
commit | e4af1af900328e4aa71cd5df75bb22669ab11522 (patch) | |
tree | 53e299387fd52fbb372eb9886a118747c4ee397c /drivers/net/tg3.h | |
parent | igb: support for VF configuration tools (diff) | |
download | linux-e4af1af900328e4aa71cd5df75bb22669ab11522.tar.xz linux-e4af1af900328e4aa71cd5df75bb22669ab11522.zip |
tg3: Give MSI-X vec 1 rx backlog space
RSS ring 1 is responsible for submitting new rx buffers to the
hardware on behalf of all the other RSS rx return rings. Up until now
this ring submitted its new rx buffers to the producer ring directly.
The following patch will require that this ring have a place to put
backlogged rx packets. As a consequence, it can no longer submit new
buffers to the producer ring.
This patch adds code to allocate an extra shadow producer ring for this
RSS ring and adds RSS ring 1 to the list of rings needing buffer
transfers.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index e7f6214a1680..88a87bb618c0 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h @@ -2717,7 +2717,7 @@ struct tg3 { struct vlan_group *vlgrp; #endif - struct tg3_rx_prodring_set prodring[TG3_IRQ_MAX_VECS - 1]; + struct tg3_rx_prodring_set prodring[TG3_IRQ_MAX_VECS]; /* begin "everything else" cacheline(s) section */ |