[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200804101825.48607.netdev@axxeo.de>
Date: Thu, 10 Apr 2008 18:25:48 +0200
From: Ingo Oeser <netdev@...eo.de>
To: Ayaz Abdulla <aabdulla@...dia.com>
Cc: Jeff Garzik <jgarzik@...ox.com>,
Manfred Spraul <manfred@...orfullife.com>,
Andrew Morton <akpm@...l.org>, nedev <netdev@...r.kernel.org>
Subject: Re: [PATCH] forcedeth: new backoff implementation
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists