[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130330.173153.1283819859704936260.davem@davemloft.net>
Date: Sat, 30 Mar 2013 17:31:53 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: reorder some fields of net_device
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sat, 30 Mar 2013 09:31:03 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> As time passed, some fields were added in net_device, and not
> at sensible offsets.
>
> Lets reorder some fields to reduce number of cache lines in RX path.
> Fields not used in data path should be moved out of this critical cache
> line.
>
> In particular, move broadcast[] to the end of the rx section,
> as it is less used, and ethernet uses only the beginning of the 32bytes
> field.
...
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
--
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