Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8875913imu; Tue, 4 Dec 2018 16:07:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/W+DNPvUvMuAwTcGsR0hUfvLlqQNMLnasC8jLvjelgoC41/Jt52l0iY2xPtAH625DEUosf4 X-Received: by 2002:a62:9657:: with SMTP id c84mr22762629pfe.77.1543968437127; Tue, 04 Dec 2018 16:07:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543968437; cv=none; d=google.com; s=arc-20160816; b=hUMJKMr2Yas9CgMd+8c2gTv0EK9P81HEYEOcXbZcv69IVsLiahWqwf21rD4MTImAn/ HJ5gx5+xPgZz+9jp2r3pqQ5a6tZGI70l7P1B8JDyNCAyz5bYfI/3DIm7jQEbHYnuULz5 0v3QP4S1NJbU/JeGigmlV++If0k8wiO43EEhP8Bz4awXdXiqA8xBlUpVdR32Vfbhbrol ZcFLmm8LK17ccRXZBXIRj9KUHmIhaDhpbJMM/eVPzvOvmx+ixxyrNiaQywOgACZHjIxX 0dYoguMauN5TlR5sTaGDoJXOxmmm1njli3w2H84kWJGzrEa4kbT+7zLVLVBwKU0xZ1r7 fLCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=cBIEbzdPwj/PWj1m/TZNCt6/GC5QZUcL3LSR3psjZDk=; b=iTcwIL3mbOeE0sN5p/SGbEGcfPAvsZrtE2Flt1bdx4Diu1JCZyqwKcnS1X2R5EAxk7 T+ZOF4ILz/RUyXt9oBi+Q7brq5DkwAcRVVGIU1XsxTAgqQIHgOXqRcyEUvnaBNNSS/Mf AYHnI1Thop9n5yx4fFcb+WwtSI3BQcEzNn++a3y8/zrPLFzHHZzdyDvvjIyFQ8UyZI2n HqH+U9xing3rsCCwlg6OQXCLFNlRV33ZAOnfrDcSx0RsfWhh2OkIssRe/zzACOLHfcUS D2AskqKjx+3IXFKZUAWT2Nwe6JoELwuQN8hd3N4L1qjVQo5/jjxKKEcpl79NVSqEcccx FNUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BEvh9F2M; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si18811571pfk.172.2018.12.04.16.07.01; Tue, 04 Dec 2018 16:07:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BEvh9F2M; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726378AbeLEAFA (ORCPT + 99 others); Tue, 4 Dec 2018 19:05:00 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:45127 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbeLEAE6 (ORCPT ); Tue, 4 Dec 2018 19:04:58 -0500 Received: by mail-lf1-f66.google.com with SMTP id b20so13335274lfa.12 for ; Tue, 04 Dec 2018 16:04:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cBIEbzdPwj/PWj1m/TZNCt6/GC5QZUcL3LSR3psjZDk=; b=BEvh9F2MHUtRFybiyeXYtFJB2IQhVcBAtds/H+Fp4r66KmRqLglmqHTdnGLHQAIMbQ vRM0jPbqEqAEtjBU49n4IeYjfln7e/8Fosq3wF2HtH7uB2B9+xKQrwREZm0FHiqPMuuY Ozf495P81G/uNUDEDUI/JEtkVCsWH1yJJJkAI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=cBIEbzdPwj/PWj1m/TZNCt6/GC5QZUcL3LSR3psjZDk=; b=rbkDn9ACioFwfdtj6VoJdysglEjzR/uPGd7IyAzJvy5OVisc3I32gfQMYtgUMKNKBb SHgabT4Bh9T6p5kLdsMMKafRxql4sFW9tmyInw61w4NGkmLcrFmZgtS/iGnd0Cggekai qVCtMxxOD903FlRYXihYwVG5HMFY+bqANJeRYG20M1aw0L3bkZ5vaw0gCySCz/qh093J xyEFXNKfalQCBvWB1li6caLRocKAwVOJhrpVN1w/8hoFFOq1ZsRTC0EbykywHLCowJm+ mt6dHGsesHgwGlOdWXwpzQ6jme1ibUuF0BvxvLF6RUyAwu3J87PQPC5pHzeF31Gc4aUD OmZQ== X-Gm-Message-State: AA+aEWblEvFHMJt7ICzbnlCpV++mSnRNyx+yGZxOqI2Q50ITXhW5LIE/ LauvLHc2iZ/xzrafSIxY/Zd7jA== X-Received: by 2002:ac2:4215:: with SMTP id y21mr10197962lfh.6.1543968294310; Tue, 04 Dec 2018 16:04:54 -0800 (PST) Received: from khorivan (59-201-94-178.pool.ukrtel.net. [178.94.201.59]) by smtp.gmail.com with ESMTPSA id y131sm3163552lfc.43.2018.12.04.16.04.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Dec 2018 16:04:53 -0800 (PST) Date: Wed, 5 Dec 2018 02:04:51 +0200 From: Ivan Khoronzhuk To: Florian Fainelli Cc: davem@davemloft.net, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jiri@mellanox.com, andrew@lunn.ch Subject: Re: [RFC PATCH net-next 2/5] net: 8021q: vlan_dev: add vid tag for uc and mc address lists Message-ID: <20181205000450.GB3507@khorivan> Mail-Followup-To: Florian Fainelli , davem@davemloft.net, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jiri@mellanox.com, andrew@lunn.ch References: <20181203184023.3430-1-ivan.khoronzhuk@linaro.org> <20181203184023.3430-3-ivan.khoronzhuk@linaro.org> <20181203235119.GF23230@khorivan> <35479973-2d2d-d673-f7ab-54d6369ce3d1@gmail.com> <20181204185720.GI23230@khorivan> <756cbb25-3062-91e8-0613-66bb887f937e@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <756cbb25-3062-91e8-0613-66bb887f937e@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 04, 2018 at 11:49:27AM -0800, Florian Fainelli wrote: ... >> >> I was thinking also about pinned list of vlans to the address, but in >> this case this information also has to be synced by members of device >> chain, >> because it can be modified on any device level and it looks not very >> friendly, >> and at the end address space has addresses with pinned lists of vlans with >> their pointers. But keeping this stuff in sync is not simplest decision. >> >> > >I really think we are not communicating properly, it really seems to me >that if you had the information about the upper device trying to add an >address to the lower device filter's either through notification or call >to ndo_set_rxmode, you could be solving your problems. What are we >missing here? Sry, missed this one. The problem in getting the owner of address. Just simple case: vlan/macvlan/real_dev or vlan/.../.../real_dev The real dev hasn't simple way to get vid the address belong to, or it has? >-- >Florian -- Regards, Ivan Khoronzhuk