From: Andrew Lunn <andrew@lunn.ch>
To: George McCollister <george.mccollister@gmail.com>
Cc: Vivien Didelot <vivien.didelot@gmail.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Vladimir Oltean <olteanv@gmail.com>,
"David S . Miller" <davem@davemloft.net>,
netdev@vger.kernel.org,
"open list:OPEN FIRMWARE AND..." <devicetree@vger.kernel.org>
Subject: Re: [PATCH net-next 2/3] net: dsa: add Arrow SpeedChips XRS700x driver
Date: Mon, 23 Nov 2020 23:09:14 +0100 [thread overview]
Message-ID: <20201123220914.GC2036992@lunn.ch> (raw)
In-Reply-To: <CAFSKS=M-2rwM2UC58xf8n0ORuwxHq06BjLj7QP=JuU19-tCpGg@mail.gmail.com>
> > > https://www.flexibilis.com/downloads/xrs/SpeedChip_XRS7000_3000_User_Manual.pdf
Section 6.1.4
The forwarding decision is presented in Figure 19. Note that also
frames coming into a disabled port are received to the buffer memory,
but because their forwarding decision is not to forward them to any
port, they are dropped. This behavior however can be changed, and
frames can be forwarded from disabled ports to other ports by using
Inbound Policy (see Chapter 6.1.5).
Sounds promising. And Section 6.1.5:
Inbound Policy checks the source and the destination MAC addresses of
all the received frames. The user can configure through the register
interface what kind of a treatment should frames with certain source
or destination MAC addresses get. Many protocols use protocol specific
multicast MAC addresses and the destination MAC address can therefore
be used for forwarding those frames to CPU port and not to other
ports.
Looking at table 36, i think you can add a match for the BPDU
destination MAC address, and have i forwarded to the CPU port.
Looks like you can add 15 such filters. So you might want to think
about how you want to use these, what other special packets do you
want to allow through?
Andrew
next prev parent reply other threads:[~2020-11-23 22:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-20 18:16 [PATCH net-next 0/3] Arrow SpeedChips XRS700x DSA Driver George McCollister
2020-11-20 18:16 ` [PATCH net-next 1/3] dsa: add support for Arrow XRS700x tag trailer George McCollister
2020-11-20 18:58 ` Andrew Lunn
2020-11-20 20:14 ` George McCollister
2020-11-23 22:18 ` Florian Fainelli
2020-11-24 20:26 ` George McCollister
2020-11-20 18:16 ` [PATCH net-next 2/3] net: dsa: add Arrow SpeedChips XRS700x driver George McCollister
2020-11-20 19:33 ` Andrew Lunn
2020-11-20 22:55 ` George McCollister
2020-11-20 23:24 ` Andrew Lunn
2020-11-23 20:43 ` George McCollister
2020-11-23 21:55 ` Andrew Lunn
2020-11-23 22:09 ` Andrew Lunn [this message]
2020-11-23 22:23 ` George McCollister
2020-11-22 23:39 ` Vladimir Oltean
2020-11-23 21:22 ` George McCollister
2020-11-20 18:16 ` [PATCH net-next 3/3] dt-bindings: net: dsa: add bindings for xrs700x switches George McCollister
2020-11-23 22:15 ` Florian Fainelli
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=20201123220914.GC2036992@lunn.ch \
--to=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=george.mccollister@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=vivien.didelot@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).