All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: [Query]: DSA Understanding
Date: Thu, 9 Aug 2018 14:01:59 +0200	[thread overview]
Message-ID: <20180809120159.GA16359@lunn.ch> (raw)
In-Reply-To: <CA+V-a8u0W4JA_HrorXZApFbAOBHiWdVpVK0DvSmcKftr5NrC8w@mail.gmail.com>

On Thu, Aug 09, 2018 at 12:31:31PM +0100, Lad, Prabhakar wrote:
> Hi Andrew,
> 
> On Thu, Aug 2, 2018 at 5:05 PM Andrew Lunn <andrew@lunn.ch> wrote:
> >
> > > I dont see any Reply's on the PC with tcpdump on PC
> >
> > So try ethool -S on the PC. Any packets dropped because of errors?
> >
> I dont see any drops/errors on the PC, following is the dump from PC:
> 
> sudo ethtool -S enx00e04c68c229
> [sudo] password for prabhakar:
> NIC statistics:
>      tx_packets: 1659
>      rx_packets: 485
>      tx_errors: 0
>      rx_errors: 0
>      rx_missed: 0
>      align_errors: 0
>      tx_single_collisions: 0
>      tx_multi_collisions: 0
>      rx_unicast: 18
>      rx_broadcast: 295
>      rx_multicast: 172
>      tx_aborted: 0
>      tx_underrun: 0

So there are received packets at the PC. Not many unicast, mostly
broadcast, which fits with ARP. What does wireshark tell you about
these received packets? Are they ARP replies? Are they something else?
If they are ARP replies, why are they being ignored?  I don't know if
tshark will show you CRC problems. Wireshark does, when you unfold a
packet, and look at the fields in detail.

> Seems like the packet is not being transmitted from the switch at all
> ? (as ping from switch lan4 to PC fails)

I don't think you can make that conclusion yet. The PC is receiving
something, rx_packets=485. What are those packets?

Look at the statistics along the chain, from the target to the PC.
Look at the master device, lan4 and the PC. You should see about one
packet per second transmitted on the master device. One packet per
second transmitted on lan4, and one packet per second received on the
PC. Where does this break down.

	   Andrew

  reply	other threads:[~2018-08-09 14:26 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-25  8:39 [Query]: DSA Understanding Lad, Prabhakar
2018-07-25 16:19 ` Andrew Lunn
2018-07-26  7:38   ` Lad, Prabhakar
2018-07-26 14:08     ` Andrew Lunn
2018-07-26 15:20       ` Lad, Prabhakar
2018-07-26 15:39         ` Andrew Lunn
2018-08-02  8:13           ` Lad, Prabhakar
2018-08-02 14:45             ` Andrew Lunn
2018-08-02 14:58               ` Lad, Prabhakar
2018-08-02 16:05                 ` Andrew Lunn
2018-08-02 16:24                   ` Florian Fainelli
2018-08-09 11:33                     ` Lad, Prabhakar
2018-08-09 12:08                       ` Andrew Lunn
2018-08-09 11:31                   ` Lad, Prabhakar
2018-08-09 12:01                     ` Andrew Lunn [this message]
2018-08-09 12:45                       ` Lad, Prabhakar
2018-08-09 12:56                         ` Andrew Lunn
2018-08-09 15:07                           ` Lad, Prabhakar
2018-08-09 15:35                             ` Andrew Lunn
2018-08-09 16:03                               ` Lad, Prabhakar
2018-08-09 17:23                                 ` Andrew Lunn
2018-08-10 11:26                                   ` Lad, Prabhakar
2018-08-10 17:36                                     ` Florian Fainelli
2018-08-13 11:06                                       ` Lad, Prabhakar
2018-08-13 13:38                                         ` Andrew Lunn
2018-08-13 15:58                                           ` Lad, Prabhakar
2018-08-13 18:57                                             ` Florian Fainelli
2018-08-14 11:49                                               ` Lad, Prabhakar

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=20180809120159.GA16359@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=netdev@vger.kernel.org \
    --cc=prabhakar.csengg@gmail.com \
    /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.