]> git.baikalelectronics.ru Git - kernel.git/commit
pasemi_mac: Batch up TX buffer frees
authorOlof Johansson <olof@lixom.net>
Wed, 22 Aug 2007 14:13:03 +0000 (09:13 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:50:58 +0000 (16:50 -0700)
commit8b37926e545f8d0804d9bc4948f49f711714d5a3
tree77007f4a80ab5aa779d344e22f187af63ddd0f2d
parenta076621e67390f7636bf8955f59d93b3151ec4cf
pasemi_mac: Batch up TX buffer frees

Postpone pci unmap and skb free of the transmitted buffers to outside of
the tx ring lock, batching them up 32 at a time.

Also increase the count threshold to 128.

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