[PATCH net-next mlxsw v2 1/4] net: bridge: Allow bridge master in br_vlan_get_info()
petrm at mellanox.com
Thu May 10 00:59:54 AEST 2018
Ido Schimmel <idosch at mellanox.com> writes:
> On Tue, May 08, 2018 at 06:02:25PM +0200, Petr Machata wrote:
>> Allow lookup of information of bridge VLANs.
> Can you add a sentence about motivation? "This is needed in order to
> I'll fix up the commit message myself because the series looks fine
> otherwise. No need for v3.
net: bridge: Allow bridge master in br_vlan_get_info()
Mirroring offload in mlxsw needs to check that a given VLAN is allowed
to ingress the bridge device. br_vlan_get_info() is the function that is
used for this, however currently it only supports bridge port devices.
Extend it to support bridge masters as well.
Signed-off-by: Petr Machata <petrm at mellanox.com>
More information about the Linux-mlxsw