From: Stephane Grosjean <s.grosjean@peak-system.com>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: linux-can@vger.kernel.org
Subject: flexcan driver: tx_bytes counter never incremented when CAN_RAW_LOOPBACK removed?
Date: Mon, 29 Apr 2013 12:40:01 +0200 [thread overview]
Message-ID: <517E4E01.3080705@peak-system.com> (raw)
In-Reply-To: <517E26E4.8010003@pengutronix.de>
Hi Marc,
Playing with the flexcan driver, I've seen that the tx_bytes counter
always equals 0 while tx_packets increases.
I simply removed the CAN_RAW_LOOPBACK option from my CAN socket, so I
suppose that:
stats->tx_bytes += can_get_echo_skb(dev, 0);
doesn't do what it should.
Am I wrong?
Best regards,
Stéphane
--
PEAK-System Technik GmbH, Otto-Roehm-Strasse 69, D-64293 Darmstadt
Geschaeftsleitung: A.Gach/U.Wilhelm,St.Nr.:007/241/13586 FA Darmstadt
HRB-9183 Darmstadt, Ust.IdNr.:DE 202220078, WEE-Reg.-Nr.: DE39305391
Tel.+49 (0)6151-817320 / Fax:+49 (0)6151-817329, info@peak-system.com
next prev parent reply other threads:[~2013-04-29 10:40 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-26 14:50 Patch for kvaser_usb Jonas Peterson
2013-04-26 15:00 ` Marc Kleine-Budde
2013-04-26 16:35 ` Jonas Peterson
2013-04-26 20:51 ` Olivier Sobrie
2013-04-29 7:53 ` Marc Kleine-Budde
2013-04-29 10:40 ` Stephane Grosjean [this message]
2013-04-29 10:53 ` flexcan driver: tx_bytes counter never incremented when CAN_RAW_LOOPBACK removed? Marc Kleine-Budde
2013-04-29 12:37 ` Stephane Grosjean
2013-04-29 12:44 ` Marc Kleine-Budde
2013-04-29 12:55 ` Wolfgang Grandegger
2013-04-30 6:47 ` Stephane Grosjean
2013-04-30 10:19 ` Wolfgang Grandegger
2013-04-30 11:37 ` Wolfgang Grandegger
2013-04-29 13:43 ` Kurt Van Dijck
2013-04-29 7:52 ` Patch for kvaser_usb Marc Kleine-Budde
2013-04-29 11:09 ` Jonas Peterson
2013-04-30 21:40 ` [PATCH] can: kvaser_usb: handle rx msg correctly Olivier Sobrie
2013-05-02 10:35 ` Marc Kleine-Budde
2013-05-02 18:06 ` Olivier Sobrie
2013-05-02 18:57 ` [PATCH v2] " Olivier Sobrie
2013-05-03 9:51 ` Marc Kleine-Budde
2013-05-07 20:05 ` [PATCH v3] " Olivier Sobrie
2013-05-15 10:05 ` Marc Kleine-Budde
2013-05-15 11:50 ` Olivier Sobrie
2013-05-03 9:49 ` [PATCH] " Marc Kleine-Budde
2013-05-06 20:00 ` Olivier Sobrie
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=517E4E01.3080705@peak-system.com \
--to=s.grosjean@peak-system.com \
--cc=linux-can@vger.kernel.org \
--cc=mkl@pengutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.