netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Ran Shalit <ranshalit@gmail.com>
Cc: Jiri Pirko <jiri@resnulli.us>, netdev@vger.kernel.org
Subject: Re: DSA switch
Date: Thu, 3 May 2018 16:01:04 +0200	[thread overview]
Message-ID: <20180503140104.GD17027@lunn.ch> (raw)
In-Reply-To: <CAJ2oMhJx-n6qWchO27BV2u9Jd5X7ymtSfWeqL971DQJVQQNM-g@mail.gmail.com>

> It seems that although the bridge command functions, it takes several
> seconds (~6-7 seconds !) from the time it resturns to shell till a
> real communication works (ping between 2 PCs connected to switch).
> Does it usually takes so much time ?

PHY link up can take a second or two. Less if you use interrupts.

What do you have the bridge forwarding delay set to?

I would suggest profiling it, see what is take time, and how you can
tune it.

     Andrew

  reply	other threads:[~2018-05-03 14:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 20:20 DSA switch Ran Shalit
2018-05-02 20:56 ` Andrew Lunn
2018-05-03  6:50   ` Ran Shalit
2018-05-03  7:11     ` Jiri Pirko
2018-05-03  7:25       ` Ran Shalit
2018-05-03 13:54       ` Ran Shalit
2018-05-03 14:01         ` Andrew Lunn [this message]
2018-05-03 20:35   ` Ran Shalit
2018-05-03 20:41     ` Andrew Lunn
2018-05-03 20:56       ` Ran Shalit
2018-05-03 21:05         ` Andrew Lunn
2018-05-04  6:59           ` Ran Shalit
2018-05-04  7:26             ` Ran Shalit
2018-05-04 12:56               ` Andrew Lunn

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=20180503140104.GD17027@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=jiri@resnulli.us \
    --cc=netdev@vger.kernel.org \
    --cc=ranshalit@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 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).