Re: [Qemu-devel] [RFC 0/1] Add BPF suuport to Qemu

2018-06-20 Thread Sameeh Jubran
On Wed, Jun 20, 2018 at 11:34 AM, Daniel P. Berrangé wrote: > On Tue, Jun 19, 2018 at 05:37:10PM +0300, Sameeh Jubran wrote: > > This patch is actually a preparation for an upcoming patch set that I > want > > to integrate into virtio-net which implements the RSS feature. ( > > https://lists.oasi

Re: [Qemu-devel] [RFC 0/1] Add BPF suuport to Qemu

2018-06-20 Thread Sameeh Jubran
On Wed, Jun 20, 2018 at 11:13 AM, Jason Wang wrote: > > > On 2018年06月19日 21:21, Sameeh Jubran wrote: > >> From: Sameeh Jubran >> >> The Berkeley Packet Filter has been in the kernel for a while now and I >> think it is time that it is introduced to Qemu. This patch is an >> infrastructure for an

Re: [Qemu-devel] [RFC 0/1] Add BPF suuport to Qemu

2018-06-20 Thread Daniel P . Berrangé
On Tue, Jun 19, 2018 at 05:37:10PM +0300, Sameeh Jubran wrote: > This patch is actually a preparation for an upcoming patch set that I want > to integrate into virtio-net which implements the RSS feature. ( > https://lists.oasis-open.org/archives/virtio-dev/201805/msg00024.html) > So there is a use

Re: [Qemu-devel] [RFC 0/1] Add BPF suuport to Qemu

2018-06-20 Thread Jason Wang
On 2018年06月19日 21:49, Daniel P. Berrangé wrote: On Tue, Jun 19, 2018 at 04:21:59PM +0300, Sameeh Jubran wrote: From: Sameeh Jubran The Berkeley Packet Filter has been in the kernel for a while now and I think it is time that it is introduced to Qemu. This patch is an infrastructure for any

Re: [Qemu-devel] [RFC 0/1] Add BPF suuport to Qemu

2018-06-20 Thread Jason Wang
On 2018年06月19日 21:21, Sameeh Jubran wrote: From: Sameeh Jubran The Berkeley Packet Filter has been in the kernel for a while now and I think it is time that it is introduced to Qemu. This patch is an infrastructure for any future usage of the BPF in Qemu. It is important to note that the tu

Re: [Qemu-devel] [RFC 0/1] Add BPF suuport to Qemu

2018-06-19 Thread Sameeh Jubran
This patch is actually a preparation for an upcoming patch set that I want to integrate into virtio-net which implements the RSS feature. ( https://lists.oasis-open.org/archives/virtio-dev/201805/msg00024.html) So there is a use case. The rationale behind this is to distinguish the infrastructure p

Re: [Qemu-devel] [RFC 0/1] Add BPF suuport to Qemu

2018-06-19 Thread Daniel P . Berrangé
On Tue, Jun 19, 2018 at 04:21:59PM +0300, Sameeh Jubran wrote: > From: Sameeh Jubran > > The Berkeley Packet Filter has been in the kernel for a while now and I > think it is time that it is introduced to Qemu. This patch is an > infrastructure for any future usage of the BPF in Qemu. > > It is

Re: [Qemu-devel] [RFC 0/1] Add BPF suuport to Qemu

2018-06-19 Thread Peter Maydell
On 19 June 2018 at 14:21, Sameeh Jubran wrote: > From: Sameeh Jubran > > The Berkeley Packet Filter has been in the kernel for a while now and I > think it is time that it is introduced to Qemu. This patch is an > infrastructure for any future usage of the BPF in Qemu. > > It is important to note

[Qemu-devel] [RFC 0/1] Add BPF suuport to Qemu

2018-06-19 Thread Sameeh Jubran
From: Sameeh Jubran The Berkeley Packet Filter has been in the kernel for a while now and I think it is time that it is introduced to Qemu. This patch is an infrastructure for any future usage of the BPF in Qemu. It is important to note that the tun driver had started supporting using BPF progra