From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Samudrala, Sridhar" Subject: Re: [PATCH net-next RESEND] net: Do not call ndo_dflt_fdb_dump if ndo_fdb_dump is defined. Date: Tue, 16 Dec 2014 09:21:21 -0800 Message-ID: <54906A11.6030701@intel.com> References: <54894850.5000603@cumulusnetworks.com> <7968540cd0768a770b0c8b29ce41a162.squirrel@poczta.wsisiz.edu.pl> <5489D53E.5010603@cumulusnetworks.com> <8d4ec5c1ae73c77866a0a154fb528f23.squirrel@poczta.wsisiz.edu.pl> <548AD781.5020004@mojatatu.com> <4c22a6c452a73b3b77a9a9c8e7f76bcc.squirrel@poczta.wsisiz.edu.pl> <548AFD41.3010801@mojatatu.com> <548B4AA4.1020804@gmail.com> <548EF05E.6050401@mojatatu.com> <548F80B2.80408@gmail.com> <54902E5E.2070405@mojatatu.com> <54905F67.2090509@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Hubert Sokolowski , Roopa Prabhu , "netdev@vger.kernel.org" , Vlad Yasevich To: John Fastabend , Jamal Hadi Salim Return-path: Received: from mga02.intel.com ([134.134.136.20]:20200 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750877AbaLPRWz (ORCPT ); Tue, 16 Dec 2014 12:22:55 -0500 In-Reply-To: <54905F67.2090509@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On 12/16/2014 8:35 AM, John Fastabend wrote: > >> Is there no way to get the unicast/multicast mac addresses for such >> a driver? > > You can almost infer it from ip link by looking at all the stacked > drivers and figuring out how the address are propagated down. Then > look at the routes and figure out multicast address. But other than > the fdb dump mechanism I don't think there is anything. It looks like we can get the device specific unicast/multicast mac addresses via 'ip maddr' too.