]> git.karo-electronics.de Git - linux-beck.git/commit
Drivers: hv: vmbus: Use a round-robin algorithm for picking the outgoing channel
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 28 Feb 2015 19:39:02 +0000 (11:39 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 03:31:47 +0000 (19:31 -0800)
commita13e8bbe851a96a0e78c2bd599bc34082fa697cd
tree3901b34efd778528b85afd85c36cb33829c79949
parent96c1d0581d00f7abe033350edb021a9d947d8d81
Drivers: hv: vmbus: Use a round-robin algorithm for picking the outgoing channel

The current algorithm for picking an outgoing channel was not distributing
the load well. Implement a simple round-robin scheme to ensure good
distribution of the outgoing traffic.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c
include/linux/hyperv.h