Re: [PATCH 22/26] ixgb: Cache-align all TX components of the adapter struct.
From: Jeff Garzik <hidden>
Date: 2006-08-29 20:59:54
From: Jeff Garzik <hidden>
Date: 2006-08-29 20:59:54
Eric Dumazet wrote:
On Tuesday 29 August 2006 18:45, Kok, Auke wrote:quoted
/* TX */ - struct ixgb_desc_ring tx_ring; + struct ixgb_desc_ring tx_ring ____cacheline_aligned; unsigned long timeo_start;On UP, this would only enlarge the size of structure and might consume more cache lines... I guess ____cacheline_aligned_in_smp is preferred here. (see include/linux/netdevice.h)
Agreed. Jeff