]> git.proxmox.com Git - qemu.git/commit
hub: add the support for hub own flow control
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Tue, 24 Jul 2012 15:35:19 +0000 (16:35 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 1 Aug 2012 12:32:11 +0000 (13:32 +0100)
commit52a3cb869f7e083d135b11da432a52788a25228e
tree6f0af48f9a0bf018bbbe1046fbeaaed84e272719
parent691a4f3a953982d0af1896f5ab2832b7f19a980d
hub: add the support for hub own flow control

Only when all other hub port's *peer* .can_receive() all return 1,
the source hub port .can_receive() return 1.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
net/hub.c