summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2006-03-23 01:13:43 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-23 01:13:43 -0800
commit29b12174ac14f110225d6d9ebb66c30df5023baf (patch)
tree2c90b0bb6d3e6e4e7528cd381688b4413c77507b /drivers/net/bnx2.c
parentf2a4f05216e95f3b8c06b858abc0fe9a77500816 (diff)
[BNX2]: Separate tx producer and consumer fields
Put the tx producer and consumer fields in separate cache lines in the device structure, similar to the VJ net channel queue structure. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r--drivers/net/bnx2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 3f2eaf52d19..6ccacb5f254 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -48,6 +48,7 @@
#include <linux/workqueue.h>
#include <linux/crc32.h>
#include <linux/prefetch.h>
+#include <linux/cache.h>
#include "bnx2.h"
#include "bnx2_fw.h"