linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: du <duzhenhuan@gmail.com>
Cc: linux-can@vger.kernel.org
Subject: Re: socketcan receive queue too many frames
Date: Wed, 27 Mar 2013 12:50:10 +0100	[thread overview]
Message-ID: <5152DCF2.80804@pengutronix.de> (raw)
In-Reply-To: <loom.20130327T122706-603@post.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

On 03/27/2013 12:38 PM, du wrote:
> Hello, I'm using socketcan buffer , 

What is "socketcan buffer"?

> but i'm getting frames for tens of seconds even after I have open the CAN wire
> from the bus, In my application ,frame lost is not a problem since I'm using

What kind of CAN frame do you get? Maybe error messages, due to the open
bus?

> cyclic process data. I just want to make sure the frame is stopped just when I
> disconnect the cable. 
> 
> What should I do ? How can I make receive buffer smaller?

That will not solve your problem.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

  reply	other threads:[~2013-03-27 11:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-27 11:38 socketcan receive queue too many frames du
2013-03-27 11:50 ` Marc Kleine-Budde [this message]
2013-03-27 12:01   ` du
2013-03-27 12:04     ` Marc Kleine-Budde

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=5152DCF2.80804@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=duzhenhuan@gmail.com \
    --cc=linux-can@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;
as well as URLs for NNTP newsgroup(s).