<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/dsa/b53/b53_priv.h, branch linux-5.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-05-01T00:43:29Z</updated>
<entry>
<title>net: dsa: b53: Bound check ARL searches</title>
<updated>2020-05-01T00:43:29Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-04-30T18:49:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd169d799beeb738fa2d3e891960924cdcaf8414'/>
<id>urn:sha1:cd169d799beeb738fa2d3e891960924cdcaf8414</id>
<content type='text'>
ARL searches are done by reading two ARL entries at a time, do not cap
the search at 1024 which would only limit us to half of the possible ARL
capacity, but use b53_max_arl_entries() instead which does the right
multiplication between bins and indexes.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: Provide number of ARL buckets</title>
<updated>2020-05-01T00:43:29Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-04-30T18:49:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3da4038f4ca1094596a7604c6edac4a6a4f6ee9'/>
<id>urn:sha1:e3da4038f4ca1094596a7604c6edac4a6a4f6ee9</id>
<content type='text'>
In preparation for doing proper upper bound checking of FDB/MDB entries
being added to the ARL, provide the number of ARL buckets for each
switch chip we support. All chips have 1024 buckets, except 7278 which
has only 256.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: Rename num_arl_entries to num_arl_bins</title>
<updated>2020-05-01T00:43:29Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-04-30T18:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=673e69a67dd63fc3b40f109d1677a5dc72185fbb'/>
<id>urn:sha1:673e69a67dd63fc3b40f109d1677a5dc72185fbb</id>
<content type='text'>
The variable currently holds the number of ARL bins per ARL buckets,
which is different from the number of ARL entries which would be bins
times buckets. We will be adding a num_arl_buckets in a subsequent patch
so get variables straight now.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: propagate resolved link config via mac_link_up()</title>
<updated>2020-02-27T20:02:14Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2020-02-26T10:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b502a7b2992008a1fd5962ba032771b03c4e840'/>
<id>urn:sha1:5b502a7b2992008a1fd5962ba032771b03c4e840</id>
<content type='text'>
Propagate the resolved link configuration down via DSA's
phylink_mac_link_up() operation to allow split PCS/MAC to work.

Tested-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: Get information about stacked DSA protocol</title>
<updated>2020-01-09T00:01:13Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-01-08T05:06:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d776482ecc689bdd68627985ac4cb5a6f325953'/>
<id>urn:sha1:4d776482ecc689bdd68627985ac4cb5a6f325953</id>
<content type='text'>
It is possible to stack multiple DSA switches in a way that they are not
part of the tree (disjoint) but the DSA master of a switch is a DSA
slave of another. When that happens switch drivers may have to know this
is the case so as to determine whether their tagging protocol has a
remove chance of working.

This is useful for specific switch drivers such as b53 where devices
have been known to be stacked in the wild without the Broadcom tag
protocol supporting that feature. This allows b53 to continue supporting
those devices by forcing the disabling of Broadcom tags on the outermost
switches if necessary.

The get_tag_protocol() function is therefore updated to gain an
additional enum dsa_tag_protocol argument which denotes the current
tagging protocol used by the DSA master we are attached to, else
DSA_TAG_PROTO_NONE for the top of the dsa_switch_tree.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: Add support for MDB</title>
<updated>2019-10-28T20:58:20Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2019-10-24T19:45:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d65b64a3d97011796b225ce315b3ce0011551e7'/>
<id>urn:sha1:5d65b64a3d97011796b225ce315b3ce0011551e7</id>
<content type='text'>
In preparation for supporting IGMP snooping with or without the use of
a bridge, add support within b53_common.c to program the ARL entries for
multicast operations. The key difference is that a multicast ARL entry
is comprised of a bitmask of enabled ports, instead of a port number.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Vivien Didelot &lt;vivien.didelot@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: Add support for port_egress_floods callback</title>
<updated>2019-09-16T07:06:12Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2019-09-13T03:28:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=53568438e381d680bc84f1fe1d3ed2ac8d7ae85c'/>
<id>urn:sha1:53568438e381d680bc84f1fe1d3ed2ac8d7ae85c</id>
<content type='text'>
Add support for configuring the per-port egress flooding control for
both Unicast and Multicast traffic.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: Use vlan_filtering property from dsa_switch</title>
<updated>2019-05-01T03:05:29Z</updated>
<author>
<name>Vladimir Oltean</name>
</author>
<published>2019-04-28T18:45:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e74f014eb4ceeeefe4e5058daac705422eecb683'/>
<id>urn:sha1:e74f014eb4ceeeefe4e5058daac705422eecb683</id>
<content type='text'>
While possible (and safe) to use the newly introduced
dsa_port_is_vlan_filtering helper, fabricating a dsa_port pointer is a
bit awkward, so simply retrieve this from the dsa_switch structure.

Signed-off-by: Vladimir Oltean &lt;olteanv@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dsa: Remove phydev parameter from disable_port call</title>
<updated>2019-02-25T06:30:34Z</updated>
<author>
<name>Andrew Lunn</name>
</author>
<published>2019-02-24T19:44:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75104db0cb353ec0b74644d960640ac0f84ab839'/>
<id>urn:sha1:75104db0cb353ec0b74644d960640ac0f84ab839</id>
<content type='text'>
No current DSA driver makes use of the phydev parameter passed to the
disable_port call. Remove it.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: Properly account for VLAN filtering</title>
<updated>2019-02-16T04:37:54Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2019-02-15T20:16:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dad8d7c6452b5b9f9828c9e2c7ca143205fd40c7'/>
<id>urn:sha1:dad8d7c6452b5b9f9828c9e2c7ca143205fd40c7</id>
<content type='text'>
VLAN filtering can be built into the kernel, and also dynamically turned
on/off through the bridge master device. Allow re-configuring the switch
appropriately to account for that by deciding whether VLAN table
(v_table) misses should lead to a drop or forward.

Fixes: a2482d2ce349 ("net: dsa: b53: Plug in VLAN support")
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
