Re: [9fans] ethervirtio

2014-12-06 Thread mischief
Im rewriting parts of the driver after feedback from cinap, namely removing qlock and nfree, removing the transmit callback and rewriting txproc to use qbread. ☺ The current source should work though.

Re: [9fans] ethervirtio

2014-12-06 Thread David du Colombier
> where's the current code? The current code of ethervirtio is available on : http://9.offblast.org/stuff/ethervirtio.c My notes contains a list of all the required patches to run Plan 9 on GCE: http://9legacy.org/9legacy/doc/gce/notes -- David du Colombier

Re: [9fans] ethervirtio

2014-12-06 Thread erik quanstrom
On Wed Dec 3 16:18:24 PST 2014, misch...@9.offblast.org wrote: > good news, everyone. ethervirtio seems to work now on google compute engine > in both labs (tested by david) and 9front (tested by me). somebody on irc > reported that it also works for vultr.com. the driver should work fine in any

Re: [9fans] ethervirtio

2014-12-04 Thread hiro
Did anyone compare throughput, pps, etc. with the same on standard rtl or intel emulated cards? On 12/4/14, David du Colombier <0in...@gmail.com> wrote: > I've just uploaded a new disk image with the latest > ethervirtio changes. > > http://9legacy.org/download/plan9-gce.img.bz2 > > This image wil

Re: [9fans] ethervirtio

2014-12-03 Thread David du Colombier
I've just uploaded a new disk image with the latest ethervirtio changes. http://9legacy.org/download/plan9-gce.img.bz2 This image will be able to run on both QEMU (using virtio net and virtio-scsi disk) and GCE. Since QEMU (#S/sd00) and GCE (#S/sd01) use a different controller name, the plan9.in

Re: [9fans] ethervirtio

2014-12-03 Thread Skip Tavakkolian
cool, thanks! i missed the golang-dev thread in sept. On Wed, Dec 3, 2014 at 5:29 PM, wrote: > On Wed Dec 3 20:03:51 EST 2014, skip.tavakkol...@gmail.com wrote: > > > nice work! thank you all. > > > > is there an image to start from? any instructions? > > > > > > you should look at david's lin

Re: [9fans] ethervirtio

2014-12-03 Thread mischief
On Wed Dec 3 20:03:51 EST 2014, skip.tavakkol...@gmail.com wrote: > nice work! thank you all. > > is there an image to start from? any instructions? > > you should look at david's link to the golang-dev thread a few posts ago. he has a labs image and some notes about the setup. my 9front ima

Re: [9fans] ethervirtio

2014-12-03 Thread Skip Tavakkolian
nice work! thank you all. is there an image to start from? any instructions? On Wed, Dec 3, 2014 at 4:05 PM, wrote: > good news, everyone. ethervirtio seems to work now on google compute > engine in both labs (tested by david) and 9front (tested by me). somebody > on irc reported that it also

Re: [9fans] ethervirtio

2014-12-03 Thread mischief
for more information on the dhcp issue with gce, see https://code.google.com/p/google-compute-engine/issues/detail?id=77

Re: [9fans] ethervirtio

2014-12-03 Thread mischief
good news, everyone. ethervirtio seems to work now on google compute engine in both labs (tested by david) and 9front (tested by me). somebody on irc reported that it also works for vultr.com. the driver should work fine in any qemu. only the 386 kernel for labs and 9front were tested, but the

Re: [9fans] ethervirtio

2014-12-01 Thread David du Colombier
> david (0intro) tested the driver on GCE a few months ago, and > reported that it did *not* work. i don't recall what exactly > happened, but the virtio device in GCE seems to differ from qemu's. I haven't tried for a while, since the debugging process is a bit time consuming. As far I remember,

Re: [9fans] ethervirtio

2014-12-01 Thread erik quanstrom
also, MSS really looks out of place. i would expect MTU. MSS is a TCP concept. - erik

Re: [9fans] ethervirtio

2014-12-01 Thread mischief
4.1.5.1.4.1 of the spec does say that a page is 4096 for the purposes of legacy virtio, but 2.4.2 just talks about pages. you think i should just use an explicit 4096 instead of PGROUND/BY2PG here?--- Begin Message --- On Mon Dec 1 20:17:56 PST 2014, misch...@9.offblast.org wrote: > hello, > >

Re: [9fans] ethervirtio

2014-12-01 Thread erik quanstrom
On Mon Dec 1 20:17:56 PST 2014, misch...@9.offblast.org wrote: > hello, > > if anyone is interested in using or reviewing my ethervirtio driver, here it > is. > > http://9.offblast.org/stuff/ethervirtio.c > > this driver was written for 386 and amd64 9front, but according to a short > test i

Re: [9fans] ethervirtio

2014-12-01 Thread erik quanstrom
On Mon Dec 1 20:17:56 PST 2014, misch...@9.offblast.org wrote: > hello, > > if anyone is interested in using or reviewing my ethervirtio driver, here it > is. > > http://9.offblast.org/stuff/ethervirtio.c > > this driver was written for 386 and amd64 9front, but according to a short > test i

[9fans] ethervirtio

2014-12-01 Thread mischief
hello, if anyone is interested in using or reviewing my ethervirtio driver, here it is. http://9.offblast.org/stuff/ethervirtio.c this driver was written for 386 and amd64 9front, but according to a short test i did a few months ago, it should work in the labs' kernel. it would be interesting