9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@coraid.com>
To: 9fans@cse.psu.edu
Subject: [9fans] 10gbe ethernet for plan 9
Date: Thu, 22 Mar 2007 22:22:21 -0400	[thread overview]
Message-ID: <915c375ec7b54c67fbcb9cd127ccbeae@coraid.com> (raw)

coraid was given the blessing on monday to give the
the myricom 10 gigabit ethernet driver with firmware
for the cpu and fs kernels to the plan 9 community.

the m10g driver drives a pretty nice piece of hardware,
the lanai z8e.  there are no errata to worry about,  the
phy is invisable to the driver.  all packets are transferred
via dma.

the good folks at myricom provided really great help.

if you use this driver, there are a couple of things to
keep in mind.  the dma stats printed on startup
are very important.  you should see 1200 MB/s
r and w and over 1800MB/s r/w dma performance.  if you
don't, it's likely there is a problem with pcie
configuration.  (motherboard manufacturers are still
learning about pcie.)  at 10gb/s, it's important to enable
jumbo frames like so:

	ip/ipconfig -m 9000 gbe /net/ether$n add $ip $mask
	echo -n mtu 9000 >> /net/ipifc/1/ctl

you may also want to increase the default interrupt coalesing
delay of 25µs to 80µs.  (or decrease it, if you're an sc guy.)
this can be done by

	echo coal 80 > /net/ether$n/0/ctl

if you have any questions about the hardware or the driver,
feel free to email.

- erik


                 reply	other threads:[~2007-03-23  2:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=915c375ec7b54c67fbcb9cd127ccbeae@coraid.com \
    --to=quanstro@coraid.com \
    --cc=9fans@cse.psu.edu \
    /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).