[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC 6/6] virtio-net: rss: Add bpf filter

From: Jason Wang
Subject: Re: [Qemu-devel] [RFC 6/6] virtio-net: rss: Add bpf filter
Date: Tue, 4 Sep 2018 11:03:07 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 2018年09月03日 21:16, Sameeh Jubran wrote:
I may miss something, but it looks to me the indirection table should be 
implemented through a map as well? Since it was accessible by guest and qemu 
need to trap the access and convert it to eBPF map updating?
makes  sense, I'll convert it to map structure.

This looks tricky as well, should we search the BPF_LD and replace the imm?
Hmm yes this approach is better I guess.

I believe those bpf helpers should be moved to tap-linux.c.
All of them?  I actually thought about moving them to a standalone
file in the virtio-net.c dir.
Can you explain the motive for this?

Because you're using Linux specific syscall, so it should be moved to Linux specific implementation.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]