From: Ingo Oeser <netdev@axxeo.de>
To: Ayaz Abdulla <aabdulla@nvidia.com>
Cc: Jeff Garzik <jgarzik@pobox.com>,
Manfred Spraul <manfred@colorfullife.com>,
Andrew Morton <akpm@osdl.org>, nedev <netdev@vger.kernel.org>
Subject: Re: [PATCH] forcedeth: new backoff implementation
Date: Thu, 10 Apr 2008 18:25:48 +0200 [thread overview]
Message-ID: <200804101825.48607.netdev@axxeo.de> (raw)
In-Reply-To: <47FD5303.5000005@nvidia.com>
Hi Ayaz,
You wrote:
> u32 gMainSeedSet[BACKOFF_SEEDSET_ROWS][BACKOFF_SEEDSET_LFSRS] = {
Could you make that
static const u16 gMainSeedSet[BACKOFF_SEEDSET_ROWS][BACKOFF_SEEDSET_LFSRS] = {
> u32 gGearSeedSet[BACKOFF_SEEDSET_ROWS][BACKOFF_SEEDSET_LFSRS] = {
static const u16 gGearSeedSet[BACKOFF_SEEDSET_ROWS][BACKOFF_SEEDSET_LFSRS] = {
That should put it into the read only code segment and halve the sizes.
PS: I'm sure that one make these tables u8 by using some math tricks and
other seeds, but that is beyond me now...
Best Regards
Ingo Oeser
next prev parent reply other threads:[~2008-04-10 16:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-09 23:36 [PATCH] forcedeth: new backoff implementation Ayaz Abdulla
2008-04-10 16:25 ` Ingo Oeser [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-04-11 18:31 Ayaz Abdulla
2008-04-10 19:54 Ayaz Abdulla
2008-04-11 16:52 ` Ingo Oeser
2008-04-12 4:50 ` Andrew Morton
2008-04-07 21:40 Ayaz Abdulla
2008-04-08 8:14 ` Andrew Morton
2008-04-08 16:15 ` Manfred Spraul
2008-04-08 19:13 ` Ayaz Abdulla
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=200804101825.48607.netdev@axxeo.de \
--to=netdev@axxeo.de \
--cc=aabdulla@nvidia.com \
--cc=akpm@osdl.org \
--cc=jgarzik@pobox.com \
--cc=manfred@colorfullife.com \
--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).