Ethernet Bridge development
 help / color / mirror / Atom feed
From: Saikiran Madugula <hummerbliss@gmail.com>
To: Jean-Michel Hautbois <jhautbois@gmail.com>
Cc: bridge@lists.linux-foundation.org
Subject: Re: [Bridge] Ulog : recvfrom no space available => how do I calculate a good value ?
Date: Mon, 04 Jan 2010 14:44:57 +0000	[thread overview]
Message-ID: <4B41FEE9.9020900@gmail.com> (raw)
In-Reply-To: <8cad0aa1001040627l48c22f11id1c48c6cfaac3585@mail.gmail.com>

Jean-Michel Hautbois wrote:
> Hi there !
> 
> I keep trying to use the ulog/netlink system to receive only the
> packets I'm interested by and bridging everything else...
> I have a problem using this, because of a too small buffer ?
> 
> I am using the recvfrom as the example given on the website, and I am
> getting a "no space buffer available" when I have packets  about
> 2Mbits/sec...
Probably the netlink receive buffer is being overrun, try increasing the netlink
receive buffer size (see ipulog_create_handle() being called in
libipulog/ulog_test.c for example).

  reply	other threads:[~2010-01-04 14:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 14:27 [Bridge] Ulog : recvfrom no space available => how do I calculate a good value ? Jean-Michel Hautbois
2010-01-04 14:44 ` Saikiran Madugula [this message]
2010-01-04 14:49   ` Jean-Michel Hautbois
2010-01-07 10:16     ` Jean-Michel Hautbois

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=4B41FEE9.9020900@gmail.com \
    --to=hummerbliss@gmail.com \
    --cc=bridge@lists.linux-foundation.org \
    --cc=jhautbois@gmail.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