lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 31 Aug 2016 10:22:17 -0400 From: Vivien Didelot <vivien.didelot@...oirfairelinux.com> To: Andrew Lunn <andrew@...n.ch> Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, kernel@...oirfairelinux.com, "David S. Miller" <davem@...emloft.net>, Florian Fainelli <f.fainelli@...il.com> Subject: Re: [PATCH net-next 1/3] net: dsa: add MDB support Hi Andrew, Andrew Lunn <andrew@...n.ch> writes: > On Mon, Aug 29, 2016 at 04:32:44PM -0400, Vivien Didelot wrote: >> Add SWITCHDEV_OBJ_ID_PORT_MDB support to the DSA layer. >> >> Signed-off-by: Vivien Didelot <vivien.didelot@...oirfairelinux.com> >> --- >> Documentation/networking/dsa/dsa.txt | 23 +++++++++++++++ >> include/net/dsa.h | 16 +++++++++++ >> net/dsa/slave.c | 55 ++++++++++++++++++++++++++++++++++++ >> 3 files changed, 94 insertions(+) >> >> diff --git a/Documentation/networking/dsa/dsa.txt b/Documentation/networking/dsa/dsa.txt >> index 44ed453..6db7bc8 100644 >> --- a/Documentation/networking/dsa/dsa.txt >> +++ b/Documentation/networking/dsa/dsa.txt >> @@ -584,6 +584,29 @@ of DSA, would be the its port-based VLAN, used by the associated bridge device. >> function that the driver has to call for each MAC address known to be behind >> the given port. A switchdev object is used to carry the VID and FDB info. >> >> +- port_mdb_prepare: bridge layer function invoked when the bridge prepares the >> + installation of a multicast group database entry. > > Terminology question. This function is used to add a multicast MAC > address to the switch tables. I've always considered a multicast group > as an IP layer thing. But this documentation is also considering a > multicast group to be a layer 2 thing. > > Does the bridge code use multicast group when referring to L2? The switchdev MDB attribute is very similary to the FDB attribute. It contains the VLAN ID and the Ethernet MAC address of the group. Thanks, Vivien
Powered by blists - more mailing lists