9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@hamnavoe.com, 9fans@9fans.net
Subject: Re: [9fans] usbether
Date: Sat, 29 Sep 2012 14:41:39 -0400	[thread overview]
Message-ID: <9680a4c5cb0d2d5ae048e7338c49bb61@kw.quanstro.net> (raw)
In-Reply-To: <896eab203042b2e267eb2b12d585a553@hamnavoe.com>

On Sat Sep 29 14:02:51 EDT 2012, 9fans@hamnavoe.com wrote:
> > why doesn't the device do the buffering?
>
> By "device" do you mean the hardware usb/ether adapter?  It does some

i ment #u itself.  sorry for being unclear.  actually, echoing
gorka, i think there's going to need to be enough threads/buffering
to decouple the packet pipeline.

it might be that the usb packet shuffler should be in the kernel, and
usbd should poke it from user land.  for a device without more
processing power than a cray 2, this could make a big difference.
i wrote a sd loopback device that turns a file into a sd device;
perhaps the same model would work for ether?  (sdloop is in 9atom.)

- erik



  parent reply	other threads:[~2012-09-29 18:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-29 16:16 Richard Miller
2012-09-29 16:39 ` Gorka Guardiola
2012-09-29 17:03   ` erik quanstrom
2012-09-29 18:01     ` Richard Miller
2012-09-29 18:19       ` Gorka Guardiola
2012-09-29 18:24         ` Richard Miller
2012-09-29 21:38           ` Gorka Guardiola
2012-09-29 21:46             ` Richard Miller
2012-09-29 21:48               ` erik quanstrom
2012-10-01 19:20                 ` Richard Miller
2012-09-30  9:20               ` Charles Forsyth
2012-09-30 10:24                 ` Richard Miller
2012-09-30 13:54                   ` Charles Forsyth
2012-09-29 18:41       ` erik quanstrom [this message]
2012-09-29 19:49         ` Charles Forsyth
2012-09-30 23:29 ` Tristan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9680a4c5cb0d2d5ae048e7338c49bb61@kw.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    --cc=9fans@hamnavoe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).