[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] test cases or applications to verify the virtio in unikraft
Hello Jia He,It is nice to know the virtio libraries are working on the ARM architecture as well. On 12/17/18 10:44 AM, Jia He wrote: Unfortunately we have not yet added dpdk support to our platform. We will work on it. We are also in the process of upstreaming LWIP which would allow us to implement network application. In the meanwhile you could use this link [1] for the lwip library.Hi,SharanThanks a lot for your help. I've tested your provided Unikraft Application forvirtio_mmio/virtio_net devices on arm64. Seems it works fine, please see my logfile in the attachments.But my patches depends on chenwei's multi-thread/gic-v2 series. I can't send itout before chenwei's patches get merged.So could you please send more test demos to me (dpdk related would be better :)). To use the lwip library we had the simple sample application #include <uk/config.h> #if !CONFIG_LWIP_NOTHREADS #include <uk/sched.h> #else #include <lwip/timeouts.h> #if CONFIG_LWIP_UKNETDEV #include <netif/uknetdev.h> #endif #endif #include <stdio.h> #include <uk/essentials.h> int main(int argc __unused, char *argv[] __unused) { printf("LWIP Testing\n"); fflush(stdout); #if CONFIG_LWIP_NOTHREADS printf("Operate the stack from main thread..."); for (;;) { sys_check_timeouts(); #if CONFIG_LWIP_UKNETDEV uknetdev_poll_all(); #endif } #else printf("Let the stack operate on its own thread..."); for (;;) { uk_sched_thread_sleep(ukarch_time_sec_to_nsec(1)); printf("."); fflush(stdout); } #endif } [1] www.github.com/sysml/ucc-lwip Thanks & Regards Sharan It will take us less time to follow up what you have done. Thanks a lot! --- Cheers, Jia He (Justin) 在 2018/12/4 9:35, Jia He 写道:Thanks, Sharan :) Cheers, Justin (Jia He) 在 2018/12/3 20:02, Sharan Santhanam 写道:Hello Jia He,We used an external Unikraft Application to test the virtio-net/libuknet drivers. We had 2 network device attached to unikraft1) To receive a network packet from a interface 2) Forward the received network packet on the other interfaceI have attached an overview diagram of our setup and a patch of our test code. This is a sample test code which may not be upstreamed. You could use it as a reference for the test application.On the side note, we are in the process of adding support for LWIP with the new drivers. This would gives us the option to build network applications.Thanks & Regards S Sharan On 12/03/2018 07:09 AM, Jia He wrote:Hi Sharan I am working on porting virtio-mmio to arm64 in unikraft. Could you please give me a hint that how do you test the virtio-net applications? I guess there might be some test cases or applications when you write the implementation of virtio-net and virtio-pci, but I can find any codes. Thanks B.R. Justin (Jia He) _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |