]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] s390: lcs performance enhancements
authorFrank Pavlic <fpavlic@de.ibm.com>
Tue, 7 Feb 2006 16:04:36 +0000 (17:04 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 17 Feb 2006 21:16:39 +0000 (16:16 -0500)
commit6cfa9e155d23f2027739a591e7e91ef0e4f67593
tree670fc8e8a703874c2c7b8626fb646679389fce1b
parent553cef949b6ef176c1418cfc2f0b84f66867162b
[PATCH] s390: lcs performance enhancements

[patch 1/2] s390: lcs performance enhancements

From: Klaus Wacker <kdwacker@de.ibm.com>
- When flood pinging (with large packet size) an LCS device,
  about 90 % of all packets are dropped by driver.
- increased number of lcs IO buffers to 32.
- use netif_stop_queue/netif_wake_queue in lcs_start_xmit routine
- don't lock the whole xmit routine but just the piece of code where
  tx_buffer is touched.

Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com>
diffstat:
 lcs.c |   31 +++++++++++++++++--------------
 lcs.h |    2 +-
 2 files changed, 18 insertions(+), 15 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/s390/net/lcs.c
drivers/s390/net/lcs.h