Message ID | 1231951397.11301.133.camel@lb-tlvb-eliezer |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: "Eilon Greenstein" <eilong@broadcom.com> Date: Wed, 14 Jan 2009 18:43:17 +0200 > The size of the doorbell is 4KB, this bug become visible when using > more than 8 queues > > Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index a6c9d23..c1ba541 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h @@ -735,7 +735,7 @@ struct bnx2x { struct bnx2x_fastpath fp[MAX_CONTEXT]; void __iomem *regview; void __iomem *doorbells; -#define BNX2X_DB_SIZE (16*2048) +#define BNX2X_DB_SIZE (16*BCM_PAGE_SIZE) struct net_device *dev; struct pci_dev *pdev;
The size of the doorbell is 4KB, this bug become visible when using more than 8 queues Signed-off-by: Eilon Greenstein <eilong@broadcom.com> --- drivers/net/bnx2x.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)