public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: "Aníbal Almeida Pinto" <anibal.pinto@efacec.com>
Cc: netdev@vger.kernel.org
Subject: Re: Gianfar ethernet drop package
Date: Fri, 24 Aug 2012 20:17:03 +0200	[thread overview]
Message-ID: <1345832223.19483.75.camel@edumazet-glaptop> (raw)
In-Reply-To: <5037A86E.2000004@efacec.com>

On Fri, 2012-08-24 at 17:14 +0100, Aníbal Almeida Pinto wrote:
> Hi,
> 
> I have an board with a ppc with a 8379, kernel 3.0.39 and with a Gianfar 
> Ethernet Controller Version 1.2.
> 
> When connect the board to office network the number of dropped packets 
> reported by ifconfig continues to increase.
> 
> Following the test made at [1] I use tcpdump and when running it the 
> number of drop packages don't have increased.
> 
> When executing ethtool eth0 -S it return a rx-dropped-by-kernel != 0. 
> And the rest of drop packages
> 
> Is possible to get info why the packages are dropped?

You receive frames for unknown protocols. So they are dropped.

When running tcpdump, your tcpdump get them, they are not dropped.

So just parse your tcpdump output ?

  reply	other threads:[~2012-08-24 18:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-24 16:14 Gianfar ethernet drop package Aníbal Almeida Pinto
2012-08-24 18:17 ` Eric Dumazet [this message]
2012-08-27 10:32   ` Aníbal Almeida Pinto
2012-08-27 11:08     ` Eric Dumazet
2012-08-27 13:01       ` Aníbal Almeida Pinto
2012-08-27 13:32         ` Eric Dumazet

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=1345832223.19483.75.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=anibal.pinto@efacec.com \
    --cc=netdev@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