From: Dhananjay Phadke <dhananjay@netxen.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net
Subject: [patch next 11/11] netxen: cache align register map table
Date: Wed, 8 Apr 2009 01:50:48 -0700 [thread overview]
Message-ID: <1239180648-29842-12-git-send-email-dhananjay@netxen.com> (raw)
In-Reply-To: <1239180648-29842-1-git-send-email-dhananjay@netxen.com>
Aligning register offset translation table imporves performance
on rx side.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
---
drivers/net/netxen/netxen_nic_hw.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/netxen/netxen_nic_hw.c b/drivers/net/netxen/netxen_nic_hw.c
index 9439f89..3bb2b8c 100644
--- a/drivers/net/netxen/netxen_nic_hw.c
+++ b/drivers/net/netxen/netxen_nic_hw.c
@@ -89,7 +89,8 @@ static void __iomem *pci_base_offset(struct netxen_adapter *adapter,
}
#define CRB_WIN_LOCK_TIMEOUT 100000000
-static crb_128M_2M_block_map_t crb_128M_2M_map[64] = {
+static crb_128M_2M_block_map_t
+crb_128M_2M_map[64] __cacheline_aligned_in_smp = {
{{{0, 0, 0, 0} } }, /* 0: PCI */
{{{1, 0x0100000, 0x0102000, 0x120000}, /* 1: PCIE */
{1, 0x0110000, 0x0120000, 0x130000},
--
1.6.0.2
next prev parent reply other threads:[~2009-04-08 8:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 8:50 [patch 00/11] netxen: cleanup and enhancements Dhananjay Phadke
2009-04-08 8:50 ` [patch next 01/11] netxen: code cleanup Dhananjay Phadke
2009-04-08 8:50 ` [patch next 02/11] netxen: refactor netxen_adapter Dhananjay Phadke
2009-04-08 8:50 ` [patch next 03/11] netxen: refactor transmit code Dhananjay Phadke
2009-04-08 8:50 ` [patch next 04/11] netxen: defer firmware handshake Dhananjay Phadke
2009-04-08 8:50 ` [patch next 05/11] netxen: async link event handling Dhananjay Phadke
2009-04-08 8:50 ` [patch next 06/11] netxen: allocate status rings dynamically Dhananjay Phadke
2009-04-08 8:50 ` [patch next 07/11] netxen: annotate register access functions Dhananjay Phadke
2009-04-08 8:50 ` [patch next 08/11] netxen: sanitize function names Dhananjay Phadke
2009-04-08 8:50 ` [patch next 09/11] netxen: enable rss for NX2031 Dhananjay Phadke
2009-04-08 8:50 ` [patch next 10/11] netxen: enable GRO support Dhananjay Phadke
2009-04-08 8:50 ` Dhananjay Phadke [this message]
2009-04-08 22:58 ` [patch 00/11] netxen: cleanup and enhancements David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1239180648-29842-12-git-send-email-dhananjay@netxen.com \
--to=dhananjay@netxen.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).