From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Greear Subject: Re: [PATCH 2/2] macvlan: Move broadcasts into a work queue Date: Fri, 11 Apr 2014 09:11:57 -0700 Message-ID: <5348144D.9050607@candelatech.com> References: <20140407142334.GA28814@gondor.apana.org.au> <53442868.3090701@candelatech.com> <20140408172349.GA7147@gondor.apana.org.au> <20140410.214023.849284639345029049.davem@davemloft.net> <20140411015906.GB31251@gondor.apana.org.au> <1397182170.16584.75.camel@edumazet-glaptop2.roam.corp.google.com> <20140411021300.GA31748@gondor.apana.org.au> <063D6719AE5E284EB5DD2968C1650D6D0F6F5DE1@AcuExch.aculab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "'Herbert Xu'" , Eric Dumazet , David Miller , "netdev@vger.kernel.org" To: David Laight Return-path: Received: from mail.candelatech.com ([208.74.158.172]:35334 "EHLO ns3.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759163AbaDKQMK (ORCPT ); Fri, 11 Apr 2014 12:12:10 -0400 In-Reply-To: <063D6719AE5E284EB5DD2968C1650D6D0F6F5DE1@AcuExch.aculab.com> Sender: netdev-owner@vger.kernel.org List-ID: On 04/11/2014 01:45 AM, David Laight wrote: >>> ARP filter would require to inspect the queried IPv4 address, and >>> macvlan do not currently have a list of IPv4 addresses per port. >> >> Indeed. Thanks for snapping us out of our collective daydream :) > > You could save the info from ARP responses. > > Whether you want that much layer-breaking is another matter. > By the sound of it, it might be worth doing the deep packet > inspection at startup. I wouldn't want to keep history, but in most network scenarios, having only the interface with the matching MAC answer the APR is good enough. I've too much else to worry about to code this up now though. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com