From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10279C3A5A1 for ; Sun, 25 Aug 2019 04:19:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C5F7C217F4 for ; Sun, 25 Aug 2019 04:19:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=nic.cz header.i=@nic.cz header.b="cSk7ZgjA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725812AbfHYETz (ORCPT ); Sun, 25 Aug 2019 00:19:55 -0400 Received: from mail.nic.cz ([217.31.204.67]:44294 "EHLO mail.nic.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbfHYETz (ORCPT ); Sun, 25 Aug 2019 00:19:55 -0400 Received: from localhost (unknown [172.20.6.135]) by mail.nic.cz (Postfix) with ESMTPSA id BD058140BBA; Sun, 25 Aug 2019 06:19:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1566706793; bh=nwfskNTsFlPqIHv4geGWi1rMSdkiWStqexiTrco8ChI=; h=Date:From:To; b=cSk7ZgjAdq1bogjD7eQ4ivhrQttDu9dTu537HuiaGW9FnOIxCJtiZs3f0OFy52Wsz jC1Nd9EE3qv7uWkk1+xnP4nAU9XSetFe0N3T2ztwHe2jUsrl4ubtHFExS86dNxtOdu /udaOeZGTcDXKChgg+zAHCIYAPopie+nfn0Jeols= Date: Sun, 25 Aug 2019 06:19:53 +0200 From: Marek Behun To: Andrew Lunn Cc: netdev@vger.kernel.org, Vivien Didelot , Florian Fainelli , David Ahern , Stephen Hemminger Subject: Re: [PATCH RFC net-next 0/3] Multi-CPU DSA support Message-ID: <20190825061953.6c5c43b7@nic.cz> In-Reply-To: <20190824152407.GA8251@lunn.ch> References: <20190824024251.4542-1-marek.behun@nic.cz> <20190824152407.GA8251@lunn.ch> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.100.3 at mail.nic.cz X-Virus-Status: Clean Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sat, 24 Aug 2019 17:24:07 +0200 Andrew Lunn wrote: > That is a new idea. Interesting. > > I would like to look around and see what else uses this "lan1@eth0" > concept. We need to ensure it is not counter intuitive in general, > when you consider all possible users. There are not many users of ndo_get_iflink besides DSA slave: ip6_gre, ip6_vti, sit, ip6_tunnel ip_gte, ip_vti, ipmr, ipip, macsec, macvlan, veth ipvlan ipoib and a few other. What these have in common is that all these interfaces are linked somehow to another interfacem, ie. a macvlan interface eth0.1 is linked to it's master interface eth0. All of these are virtual interfaces. Marek