mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <jscottkasten@yahoo.com>
To: Karel Kulhavy <clock@twibright.com>, linux-kernel@vger.kernel.org
Subject: Re: Sending ethernet frames one after another
Date: Tue, 5 Jul 2005 21:03:19 -0700 (PDT)	[thread overview]
Message-ID: <20050706040319.35013.qmail@web34413.mail.mud.yahoo.com> (raw)
In-Reply-To: <20050705155249.GA11451@kestrel>



--- Karel Kulhavy <clock@twibright.com> wrote:

> Hello
> 
> I have written a software to test connected optical
> datalink in loopback
> mode which works by sending a burst of e. g. 1024
> raw Ethernet frames
> directly to that interface, then waiting a little
> bit, and counting from
> ifconfig how many were received.
> 
> Some people report a problem that on their eepro100
> in IBM Thinkpad, the
> program (probably sendto) is returning error "No
> buffer space available".
> 
> Why doesn't the sendto block instead? Does it mean
> that I cannot use

Are you sure that it is the program getting this
error?  Have you traced this to a bad return from the
sendto function?

I have a couple thoughs.  One issue with the memory is
that going in and out of the driver, the network
buffers are DMA quality memory (meaning hardware
accessable address space, and contiguous physically,
rather than virtually).  When things get churned up it
can be difficult to get memory that fits those
criteria.

-S-

      parent reply	other threads:[~2005-07-06  5:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-05 15:52 Karel Kulhavy
2005-07-05 16:48 ` Richard B. Johnson
2005-07-06  4:03 ` jscottkasten [this message]

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=20050706040319.35013.qmail@web34413.mail.mud.yahoo.com \
    --to=jscottkasten@yahoo.com \
    --cc=clock@twibright.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®