Thread (10 messages) flat view 10 messages, 3 authors, 2021-03-23
STALE1982d

Revision v2 of 2 in this series.

Revisions (2)
  1. rfc [diff vs current]
  2. v2 current

[PATCH v2 net 0/3] Clear rx-vlan-filter feature in DSA when necessary

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2021-03-20 23:00:51

From: Vladimir Oltean <vladimir.oltean@nxp.com>

Patches 2 and 3 address the problems raised by Tobias here:
https://patchwork.kernel.org/project/netdevbpf/cover/20210308150405.3694678-1-tobias@waldekranz.com/

The key difference compared to Tobias' patch is that his approach makes
dsa_slave_vlan_rx_add_vid accept -EOPNOTSUPP and silently transforms it
into an error code of 0, while my patch series avoids calling
dsa_slave_vlan_rx_add_vid when it is not needed.

Patch 1 is another issue I found while working on a solution.

Vladimir Oltean (3):
  net: dsa: only unset VLAN filtering when last port leaves last
    VLAN-aware bridge
  net: dsa: don't advertise 'rx-vlan-filter' if VLAN filtering not
    global
  net: dsa: let drivers state that they need VLAN filtering while
    standalone

 drivers/net/dsa/hirschmann/hellcreek.c |  1 +
 include/net/dsa.h                      |  3 ++
 net/dsa/dsa_priv.h                     |  2 +
 net/dsa/port.c                         | 37 ++++++++++++++-
 net/dsa/slave.c                        | 62 +++++++++++++++++++++++++-
 net/dsa/switch.c                       | 35 ++++++++++-----
 6 files changed, 125 insertions(+), 15 deletions(-)

-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help