Thread (10 messages) 10 messages, 3 authors, 2021-01-15

Re: [PATCH v5 net-next 2/5] net: dsa: Don't offload port attributes on standalone ports

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2021-01-14 01:49:26

On Wed, Jan 13, 2021 at 09:42:52AM +0100, Tobias Waldekranz wrote:
In a situation where a standalone port is indirectly attached to a
bridge (e.g. via a LAG) which is not offloaded, do not offload any
port attributes either. The port should behave as a standard NIC.

Previously, on mv88e6xxx, this meant that in the following setup:

     br0
     /
  team0
   / \
swp0 swp1

If vlan filtering was enabled on br0, swp0's and swp1's QMode was set
to "secure". This caused all untagged packets to be dropped, as their
default VID (0) was not loaded into the VTU.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
---
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help