Linux CAN drivers development
 help / color / mirror / Atom feed
* Need help in interpreting ip status output
@ 2020-03-06 20:13 André Hartmann
  2020-03-12 17:43 ` André Hartmann
  0 siblings, 1 reply; 9+ messages in thread
From: André Hartmann @ 2020-03-06 20:13 UTC (permalink / raw)
  To: linux-can@vger.kernel.org

Hi all,

can someone help me interpreting the following ip output:

ip -s link show can1
      3: can1: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state
UNKNOWN mode DEFAULT group default qlen 100
          link/can
          RX: bytes  packets  errors  dropped overrun mcast
          0          9987413  1       74      1       0
          TX: bytes  packets  errors  dropped carrier collsns
          0          0        0       0       0       0

I'm especially interested in the meaning of the

* 1 errors
* 74 dropped
* 1 overrun

fields.

Thanks and best regards,
André

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Need help in interpreting ip status output
@ 2020-08-31 20:59 Gardner, Brent G. (GRC-LEM0)
  0 siblings, 0 replies; 9+ messages in thread
From: Gardner, Brent G. (GRC-LEM0) @ 2020-08-31 20:59 UTC (permalink / raw)
  To: linux-can@vger.kernel.org

I apologize for not knowing how to join the thread in the subject, but I'm trying to investigate similar issues.  I'm using a Raspberry Pi CM3+ with a MCP2515 dtoverlay.  During moments of high CAN traffic (and possibly more prevalent during high CPU usage), many RX overruns occur.  The physical CAN bus signals appears sound, as I can verify the dropped frames are present and valid with an oscilloscope, so I believe the issue is related to the SocketCAN driver.  Did upgrading the kernel help?  To what version? Thanks for your help.

$uname -a
4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux

$ ip -s link show can0
2: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 200
    link/can
    RX: bytes  packets  errors  dropped overrun mcast
    14992      14992    71      15      71      0
    TX: bytes  packets  errors  dropped carrier collsns
    1364       3028     0       0       0       0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-08-31 21:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-06 20:13 Need help in interpreting ip status output André Hartmann
2020-03-12 17:43 ` André Hartmann
2020-03-21 12:38   ` Oliver Hartkopp
2020-03-21 15:19     ` André Hartmann
2020-03-21 17:04       ` Oliver Hartkopp
2020-03-23  7:19         ` André Hartmann
2020-03-23  7:44       ` Marc Kleine-Budde
2020-03-23 11:16         ` André Hartmann
  -- strict thread matches above, loose matches on Subject: below --
2020-08-31 20:59 Gardner, Brent G. (GRC-LEM0)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox