]> err.no Git - linux-2.6/commit
pasemi_mac: SKB unmap optimization
authorOlof Johansson <olof@lixom.net>
Thu, 29 Nov 2007 02:57:45 +0000 (20:57 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:04:25 +0000 (15:04 -0800)
commit7e9916e9ddf23cd08107ed1a7fac429eea619313
tree3e9627ca90727819236581b23736409c5498be32
parent28ae79f531014bb3ad95b6efa0e0603069087bc5
pasemi_mac: SKB unmap optimization

pasemi_mac: SKB unmap optimization

Avoid touching skb_shinfo() in the unmap path, since it turns out to
normally cause cache misses and delays. instead, save number of fragments
in the TX_RING_INFO structures since that's all that's needed anyway.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c