diff options
author | Jay Vosburgh <fubar@us.ibm.com> | 2007-10-17 17:37:47 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-23 20:32:00 -0400 |
commit | cf5f9044934658dd3ffc628a60cd37c70f8168b1 (patch) | |
tree | 406baa95870c3e86858fd9ff98bc145c53dfa6ac /drivers/net/plip.c | |
parent | 1b76b31693d4a6088dec104ff6a6ead54081a3c2 (diff) | |
download | blackbird-op-linux-cf5f9044934658dd3ffc628a60cd37c70f8168b1.tar.gz blackbird-op-linux-cf5f9044934658dd3ffc628a60cd37c70f8168b1.zip |
bonding: Convert balance-rr transmit to new locking
Change locking in balance-rr transmit processing to use a free
running counter to determine which slave to transmit on. Instead, a
free-running counter is maintained, and modulo arithmetic used to select
a slave for transmit.
This removes lock operations from the TX path, and eliminates
a deadlock introduced by the conversion to work queues.
Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/plip.c')
0 files changed, 0 insertions, 0 deletions