From: Jeroen Hofstee <jhofstee@victronenergy.com>
To: "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Subject: rx-dropped increases if the can module is not loaded (yet)
Date: Fri, 27 Nov 2020 17:09:40 +0100 [thread overview]
Message-ID: <269cc265-272e-6b57-0f95-90a3bd66aea3@victronenergy.com> (raw)
Hi,
Since it took me a while to figure it out, it might be worthwhile to share.
If a CAN-bus network interface is first set to up and only later used,
the messages received in the meantime are counted by [1] as dropped.
If the the can module is modprobed before the interface is upped, this
is no longer the case.
Perhaps it saves someone some time.
Jeroen
[1] https://github.com/torvalds/linux/blob/v5.9/net/core/dev.c#L5257
next reply other threads:[~2020-11-27 16:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-27 16:09 Jeroen Hofstee [this message]
2020-11-28 17:44 ` rx-dropped increases if the can module is not loaded (yet) Oliver Hartkopp
2020-12-02 15:47 ` Jeroen Hofstee
2020-12-02 16:24 ` Oliver Hartkopp
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=269cc265-272e-6b57-0f95-90a3bd66aea3@victronenergy.com \
--to=jhofstee@victronenergy.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).