From: Tom Herbert Date: Wed, 5 May 2010 14:02:27 +0000 (+0000) Subject: e1000e: save skb counts in TX to avoid cache misses X-Git-Tag: v2.6.35-rc1~473^2~279 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ed318d546a29d7a591dbe648fd1a2efe3be1180;p=pandora-kernel.git e1000e: save skb counts in TX to avoid cache misses In e1000_tx_map, precompute number of segements and bytecounts which are derived from fields in skb; these are stored in buffer_info. When cleaning tx in e1000_clean_tx_irq use the values in the associated buffer_info for statistics counting, this eliminates cache misses on skb fields. Signed-off-by: Tom Herbert Acked-by: Bruce Allan Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed