Ethernet Bridge development
 help / color / mirror / Atom feed
From: "Atul Sabharwal" <iamatul@comcast.net>
To: shemminger@osdl.org, "David S. Miller" <davem@davemloft.net>
Cc: netdev@oss.sgi.com, bridge@osdl.org
Subject: Re: [Bridge] Re: [PATCH] (6/6) bridge: receive path optimization
Date: Thu, 26 May 2005 22:57:05 -0700	[thread overview]
Message-ID: <009201c56280$e9b7cd00$0202a8c0@ATULSPC> (raw)
In-Reply-To: 20050526.155401.18310361.davem@davemloft.net

I have a question about using the 802.1d driver with a switch.  I have a 
managed switch
which connects to the Xscale MAC using a Reverse MII interface.

It seems that the 802.1d bridge puts the interface into promiscuous mode and 
needs multiple
ethernet devices to work with.  Can it work with a single ethernet device 
which is connected
to a BCM5338 ( broadcomm 8 port switch chip ).

I understand that I would have to change the STP configuration component to 
write to the
broadcomm chip.

The chip supports direct memory mapped I/O of BPDU's using polled 
xmite/recieve using
a SPI interface.  Since I use a soft SPI stack, I cannot go faster than 
2MHz. Besides this
is a serial interface.

Suggestion, comments on both choices are highly appreciated.  I am working 
in a custom
enviornment with main objective of detecting loops in a cascade of switches. 
The physical
interconnect of the switches could be linear, tree, star or graph topology.

Also, the spanning tree needs to reconverge when switches are 
connected/disconnected.
Since there are no interrupts from the BCM5338, most of the implementation 
would be
based of polling.  Maybe, a forwarding delay of 5s should work as this is a 
LAN environment.

--
Atul
Linux Engineer 


  reply	other threads:[~2005-05-27  5:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26 18:04 [Bridge] [PATCH] (6/6) bridge: receive path optimization Stephen Hemminger
2005-05-26 21:46 ` [Bridge] " David S. Miller
2005-05-26 22:48   ` Stephen Hemminger
2005-05-26 22:54     ` David S. Miller
2005-05-27  5:57       ` Atul Sabharwal [this message]
2005-05-27 15:59         ` Stephen Hemminger

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='009201c56280$e9b7cd00$0202a8c0@ATULSPC' \
    --to=iamatul@comcast.net \
    --cc=bridge@osdl.org \
    --cc=davem@davemloft.net \
    --cc=netdev@oss.sgi.com \
    --cc=shemminger@osdl.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