pasemi_mac: performance tweaks
authorOlof Johansson <olof@lixom.net>
Thu, 29 Nov 2007 02:56:41 +0000 (20:56 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:04:22 +0000 (15:04 -0800)
commit5c15332bed4c59fff6423f08ef6bd6894af38a99
treec8969c43b540b4315e234fe351c325adcd5a7673
parent34c20624ce541f8a7ff937f474af51f9044cedd7
pasemi_mac: performance tweaks

pasemi_mac: performance tweaks

* Seems like we do better with a smaller RX ring, probably because chances of
  still having the SKB cached are better
* Const-ify variables to get better code generation and fewer reloads
* Move prefetching around a little, and try to prefetch the whole SKB
* Set NETIF_F_HIGHDMA
* Misc other minor tweaks

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