Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-16 Thread Michael S. Tsirkin
On Thu, May 16, 2013 at 12:27:52PM +0100, Nicholas Thomas wrote: > On Thu, 2013-05-16 at 11:40 +0300, Michael S. Tsirkin wrote: > > On Thu, May 16, 2013 at 09:20:55AM +0100, Nicholas Thomas wrote: > > > Hi, > > > > > > On Thu, 2013-05-16 at 09:27 +0300, Michael S. Tsirkin wrote: > > > > On Thu, Ma

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-16 Thread Nicholas Thomas
On Thu, 2013-05-16 at 11:40 +0300, Michael S. Tsirkin wrote: > On Thu, May 16, 2013 at 09:20:55AM +0100, Nicholas Thomas wrote: > > Hi, > > > > On Thu, 2013-05-16 at 09:27 +0300, Michael S. Tsirkin wrote: > > > On Thu, May 16, 2013 at 09:24:05AM +0300, Michael S. Tsirkin wrote: > > > > Is this wit

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-16 Thread Peter Lieven
Am 16.05.2013 10:40, schrieb Michael S. Tsirkin: > On Thu, May 16, 2013 at 09:20:55AM +0100, Nicholas Thomas wrote: >> Hi, >> >> On Thu, 2013-05-16 at 09:27 +0300, Michael S. Tsirkin wrote: >>> On Thu, May 16, 2013 at 09:24:05AM +0300, Michael S. Tsirkin wrote: Is this with or without vhost-ne

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-16 Thread Michael S. Tsirkin
On Thu, May 16, 2013 at 09:20:55AM +0100, Nicholas Thomas wrote: > Hi, > > On Thu, 2013-05-16 at 09:27 +0300, Michael S. Tsirkin wrote: > > On Thu, May 16, 2013 at 09:24:05AM +0300, Michael S. Tsirkin wrote: > > > Is this with or without vhost-net in host? > > > > never mind, I see it's without.

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-16 Thread Nicholas Thomas
Hi, On Thu, 2013-05-16 at 09:27 +0300, Michael S. Tsirkin wrote: > On Thu, May 16, 2013 at 09:24:05AM +0300, Michael S. Tsirkin wrote: > > Is this with or without vhost-net in host? > > never mind, I see it's without. > Try to enable vhost-net (you'll have to switch to -netdev syntax > for that t

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-16 Thread Michael S. Tsirkin
On Wed, May 15, 2013 at 12:00:03PM +0100, Nicholas Thomas wrote: > Hi again, > > On Tue, 2013-05-14 at 15:49 +0100, Nicholas Thomas wrote: > > /sys/devices/virtual/net/t100/tun_flags is 0x5002 - so it looks like > > IFF_ONE_QUEUE was indeed unset by qemu (which is lacking the patch). It > > surpri

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-15 Thread Michael S. Tsirkin
On Thu, May 16, 2013 at 09:24:05AM +0300, Michael S. Tsirkin wrote: > On Wed, May 15, 2013 at 12:00:03PM +0100, Nicholas Thomas wrote: > > Hi again, > > > > On Tue, 2013-05-14 at 15:49 +0100, Nicholas Thomas wrote: > > > /sys/devices/virtual/net/t100/tun_flags is 0x5002 - so it looks like > > > IF

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-15 Thread Nicholas Thomas
Hi again, On Tue, 2013-05-14 at 15:49 +0100, Nicholas Thomas wrote: > /sys/devices/virtual/net/t100/tun_flags is 0x5002 - so it looks like > IFF_ONE_QUEUE was indeed unset by qemu (which is lacking the patch). It > surprises me, but that's probably my fault, rather than qemu's. I've rebuilt 1.4.

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-14 Thread Nicholas Thomas
Hi, On Tue, 2013-05-14 at 16:28 +0200, Peter Lieven wrote: > Please check the tunnel mode in sysfs after your VM is started. It is likely > that qemu overwrites the settings you made in the ruby script. > > Please check if the patch > > tap: set IFF_ONE_QUEUE per default > > is in your qemu 1.

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-14 Thread Peter Lieven
On 14.05.2013 16:21, Nicholas Thomas wrote: Hi all, On Tue, 2013-02-12 at 08:06 +0100, Peter Lieven wrote: On 23.01.2013 11:03, Michael S. Tsirkin wrote: For future, we can try to set TUN_ONE_QUEUE flag on the interface, or try applying this patch 5d097109257c03a71845729f8db6b5770c4bbedc in ke

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-05-14 Thread Nicholas Thomas
Hi all, On Tue, 2013-02-12 at 08:06 +0100, Peter Lieven wrote: > On 23.01.2013 11:03, Michael S. Tsirkin wrote: > > For future, we can try to set TUN_ONE_QUEUE flag on the interface, > > or try applying this patch > > 5d097109257c03a71845729f8db6b5770c4bbedc > > in kernel see if this helps. > > >

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-02-12 Thread Michael S. Tsirkin
On Tue, Feb 12, 2013 at 11:11:45AM +0100, Peter Lieven wrote: > > Am 12.02.2013 um 10:54 schrieb "Michael S. Tsirkin" : > > > On Tue, Feb 12, 2013 at 01:39:07PM +0400, Michael Tokarev wrote: > >> 12.02.2013 13:10, Peter Lieven wrote: > >> [] > >> > >> Guys, can we please trim the excessive quoti

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-02-12 Thread Peter Lieven
Am 12.02.2013 um 10:54 schrieb "Michael S. Tsirkin" : > On Tue, Feb 12, 2013 at 01:39:07PM +0400, Michael Tokarev wrote: >> 12.02.2013 13:10, Peter Lieven wrote: >> [] >> >> Guys, can we please trim the excessive quoting just a bit? ;) >> > If have set this option for 2 weeks now and not se

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-02-12 Thread Michael S. Tsirkin
On Tue, Feb 12, 2013 at 01:39:07PM +0400, Michael Tokarev wrote: > 12.02.2013 13:10, Peter Lieven wrote: > [] > > Guys, can we please trim the excessive quoting just a bit? ;) > > >>> If have set this option for 2 weeks now and not seen this problem again. > >>> How does this flag work with the r

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-02-12 Thread Michael Tokarev
12.02.2013 13:10, Peter Lieven wrote: [] Guys, can we please trim the excessive quoting just a bit? ;) >>> If have set this option for 2 weeks now and not seen this problem again. >>> How does this flag work with the recently added tap multiqueue support? This will be the only option in 3.8.

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-02-12 Thread Michael S. Tsirkin
On Tue, Feb 12, 2013 at 10:10:24AM +0100, Peter Lieven wrote: > > Am 12.02.2013 um 10:08 schrieb "Michael S. Tsirkin" : > > > On Tue, Feb 12, 2013 at 08:06:04AM +0100, Peter Lieven wrote: > >> On 23.01.2013 11:03, Michael S. Tsirkin wrote: > >>> On Tue, Jan 22, 2013 at 10:04:07AM +0100, Peter Lie

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-02-12 Thread Peter Lieven
Am 12.02.2013 um 10:08 schrieb "Michael S. Tsirkin" : > On Tue, Feb 12, 2013 at 08:06:04AM +0100, Peter Lieven wrote: >> On 23.01.2013 11:03, Michael S. Tsirkin wrote: >>> On Tue, Jan 22, 2013 at 10:04:07AM +0100, Peter Lieven wrote: On 23.11.2012 12:01, Michael S. Tsirkin wrote: > On Fr

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-02-12 Thread Michael S. Tsirkin
On Tue, Feb 12, 2013 at 08:06:04AM +0100, Peter Lieven wrote: > On 23.01.2013 11:03, Michael S. Tsirkin wrote: > >On Tue, Jan 22, 2013 at 10:04:07AM +0100, Peter Lieven wrote: > >>On 23.11.2012 12:01, Michael S. Tsirkin wrote: > >>>On Fri, Nov 23, 2012 at 10:41:21AM +0100, Peter Lieven wrote: > >>>

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-02-11 Thread Peter Lieven
On 23.01.2013 11:03, Michael S. Tsirkin wrote: On Tue, Jan 22, 2013 at 10:04:07AM +0100, Peter Lieven wrote: On 23.11.2012 12:01, Michael S. Tsirkin wrote: On Fri, Nov 23, 2012 at 10:41:21AM +0100, Peter Lieven wrote: Am 23.11.2012 um 08:02 schrieb Stefan Hajnoczi: On Thu, Nov 22, 2012 at 0

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-01-23 Thread Michael S. Tsirkin
On Tue, Jan 22, 2013 at 10:04:07AM +0100, Peter Lieven wrote: > On 23.11.2012 12:01, Michael S. Tsirkin wrote: > >On Fri, Nov 23, 2012 at 10:41:21AM +0100, Peter Lieven wrote: > >> > >>Am 23.11.2012 um 08:02 schrieb Stefan Hajnoczi: > >> > >>>On Thu, Nov 22, 2012 at 03:29:52PM +0100, Peter Lieven w

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-01-22 Thread Peter Lieven
On 22.01.2013 10:04, Peter Lieven wrote: On 23.11.2012 12:01, Michael S. Tsirkin wrote: On Fri, Nov 23, 2012 at 10:41:21AM +0100, Peter Lieven wrote: Am 23.11.2012 um 08:02 schrieb Stefan Hajnoczi: On Thu, Nov 22, 2012 at 03:29:52PM +0100, Peter Lieven wrote: is anyone aware of a problem wi

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2013-01-22 Thread Peter Lieven
On 23.11.2012 12:01, Michael S. Tsirkin wrote: On Fri, Nov 23, 2012 at 10:41:21AM +0100, Peter Lieven wrote: Am 23.11.2012 um 08:02 schrieb Stefan Hajnoczi: On Thu, Nov 22, 2012 at 03:29:52PM +0100, Peter Lieven wrote: is anyone aware of a problem with the linux network bridge that in very r

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2012-11-29 Thread Peter Lieven
Am 23.11.2012 08:02, schrieb Stefan Hajnoczi: > On Thu, Nov 22, 2012 at 03:29:52PM +0100, Peter Lieven wrote: >> is anyone aware of a problem with the linux network bridge that in very rare >> circumstances stops >> a bridge from sending pakets to a tap device? >> >> My problem occurs in conjuncti

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2012-11-23 Thread Peter Lieven
Am 23.11.2012 um 12:01 schrieb Michael S. Tsirkin: > On Fri, Nov 23, 2012 at 10:41:21AM +0100, Peter Lieven wrote: >> >> Am 23.11.2012 um 08:02 schrieb Stefan Hajnoczi: >> >>> On Thu, Nov 22, 2012 at 03:29:52PM +0100, Peter Lieven wrote: is anyone aware of a problem with the linux network

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2012-11-23 Thread Michael S. Tsirkin
On Fri, Nov 23, 2012 at 10:41:21AM +0100, Peter Lieven wrote: > > Am 23.11.2012 um 08:02 schrieb Stefan Hajnoczi: > > > On Thu, Nov 22, 2012 at 03:29:52PM +0100, Peter Lieven wrote: > >> is anyone aware of a problem with the linux network bridge that in very > >> rare circumstances stops > >> a

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2012-11-23 Thread Peter Lieven
Am 23.11.2012 um 08:02 schrieb Stefan Hajnoczi: > On Thu, Nov 22, 2012 at 03:29:52PM +0100, Peter Lieven wrote: >> is anyone aware of a problem with the linux network bridge that in very rare >> circumstances stops >> a bridge from sending pakets to a tap device? >> >> My problem occurs in conj

Re: [Qemu-devel] tap devices not receiving packets from a bridge

2012-11-22 Thread Stefan Hajnoczi
On Thu, Nov 22, 2012 at 03:29:52PM +0100, Peter Lieven wrote: > is anyone aware of a problem with the linux network bridge that in very rare > circumstances stops > a bridge from sending pakets to a tap device? > > My problem occurs in conjunction with vanilla qemu-kvm-1.2.0 and Ubuntu > Kernel

[Qemu-devel] tap devices not receiving packets from a bridge

2012-11-22 Thread Peter Lieven
Hi, is anyone aware of a problem with the linux network bridge that in very rare circumstances stops a bridge from sending pakets to a tap device? My problem occurs in conjunction with vanilla qemu-kvm-1.2.0 and Ubuntu Kernel 3.2.0-34.53 which is based on Linux 3.2.33. I was not yet able to r