Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1473463

Re: [PATCH net-next 1/3] net: dsa: add MDB support

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 1/3] net: dsa: add MDB support
Date 2016-08-31 15:30 +0200
Message-ID <scdKy-2UO-25@gated-at.bofh.it> (permalink)
References <sbBvz-3DB-7@gated-at.bofh.it> <sbBvA-3DB-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@savoirfairelinux.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.

Hi Vivien

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?

     Thanks
	Andrew

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next 0/3] net: dsa: add MDB support Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-29 22:40 +0200
  [PATCH net-next 2/3] net: dsa: mv88e6xxx: make switchdev DB ops generic Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-29 22:40 +0200
    Re: [PATCH net-next 2/3] net: dsa: mv88e6xxx: make switchdev DB ops  generic Andrew Lunn <andrew@lunn.ch> - 2016-08-31 15:50 +0200
      Re: [PATCH net-next 2/3] net: dsa: mv88e6xxx: make switchdev DB ops generic Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-31 16:40 +0200
        Re: [PATCH net-next 2/3] net: dsa: mv88e6xxx: make switchdev DB ops  generic Andrew Lunn <andrew@lunn.ch> - 2016-08-31 17:00 +0200
          Re: [PATCH net-next 2/3] net: dsa: mv88e6xxx: make switchdev DB ops generic Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-31 17:10 +0200
  [PATCH net-next 1/3] net: dsa: add MDB support Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-29 22:40 +0200
    Re: [PATCH net-next 1/3] net: dsa: add MDB support Andrew Lunn <andrew@lunn.ch> - 2016-08-31 15:30 +0200
      Re: [PATCH net-next 1/3] net: dsa: add MDB support Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-31 16:30 +0200
        Re: [PATCH net-next 1/3] net: dsa: add MDB support Andrew Lunn <andrew@lunn.ch> - 2016-08-31 16:40 +0200
          Re: [PATCH net-next 1/3] net: dsa: add MDB support Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-08-31 17:00 +0200
            Re: [PATCH net-next 1/3] net: dsa: add MDB support Andrew Lunn <andrew@lunn.ch> - 2016-08-31 17:10 +0200

csiph-web