search for: did_notify

Displaying 2 results from an estimated 2 matches for "did_notify".

2007 Dec 21
2
[Virtio-for-kvm] [PATCH 7/7] userspace virtio
..._HDR_GSO_NONE; - - /* copy in packet. ugh */ - offset = 0; - i = 1; - while (offset < size && i < elem.in_num) { - int len = MIN(elem.in_sg[i].iov_len, size - offset); - memcpy(elem.in_sg[i].iov_base, buf + offset, len); - offset += len; - i++; - } + int did_notify; + + FD_ZERO(&rfds); + tv.tv_sec = 0; + tv.tv_usec = 0; + + while (1) { + + // Prepare the set of device to select from + for (vnet = VirtIONetHead; vnet; vnet = vnet->next) { + + vnet->do_notify = 0; + //first check if the driver is ok +...
2007 Dec 21
2
[Virtio-for-kvm] [PATCH 7/7] userspace virtio
..._HDR_GSO_NONE; - - /* copy in packet. ugh */ - offset = 0; - i = 1; - while (offset < size && i < elem.in_num) { - int len = MIN(elem.in_sg[i].iov_len, size - offset); - memcpy(elem.in_sg[i].iov_base, buf + offset, len); - offset += len; - i++; - } + int did_notify; + + FD_ZERO(&rfds); + tv.tv_sec = 0; + tv.tv_usec = 0; + + while (1) { + + // Prepare the set of device to select from + for (vnet = VirtIONetHead; vnet; vnet = vnet->next) { + + vnet->do_notify = 0; + //first check if the driver is ok +...