Issue during transmission in my virtio network driver
Posted: Fri Jan 19, 2018 3:56 am
Hello everyone, I started to code a driver for a virtio network card for my kernel. The driver is working fine in QEMU on Win64, however, I can't make it work on KVM. On KVM, reception works fine but the transmission stops after the first packet is sent not sure why. Although the driver tries to send another packet, the used index of the transmission queue is never incremented. On QEMU, I see that the device increments the used index. Then, together with the last_used_index I can calculate how many buffers have been used and free them. You can find the code of the driver at: https://github.com/MatiasVara/torokerne ... tIONet.pas
Any comment is welcome!
Cheers, Matias.
Any comment is welcome!
Cheers, Matias.