]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84d2575c522c5797d9bcf2f4c512a3398d30d447
treec8969c43b540b4315e234fe351c325adcd5a7673
parentcd24fb8a38338637f47f0c6cc8207509aa8c5af9
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