From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [RFC PATCH 2/3] netdev: kernel-only IFF_HIDDEN netdevice Date: Wed, 4 Apr 2018 22:08:28 +0200 Message-ID: <20180404200828.GA29717@lunn.ch> References: <1522573990-5242-1-git-send-email-si-wei.liu@oracle.com> <1522573990-5242-3-git-send-email-si-wei.liu@oracle.com> <8b589cd2-1abc-59c2-99f1-96df8174bb6b@gmail.com> <20180403154210.GK3313@nanopsycho> <3bdfc39f-4935-2433-7982-9ce28c3aa166@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Siwei Liu , Jiri Pirko , Si-Wei Liu , "Michael S. Tsirkin" , Stephen Hemminger , Alexander Duyck , David Miller , "Brandeburg, Jesse" , Jakub Kicinski , Jason Wang , "Samudrala, Sridhar" , Netdev , virtualization@lists.linux-foundation.org To: David Ahern Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:51236 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752110AbeDDUIt (ORCPT ); Wed, 4 Apr 2018 16:08:49 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: > Networking vendors have out of tree kernel modules. Those modules use a > netdev (call it a master netdev, a control netdev, cpu port, whatever) > to pull packets from the ASIC and deliver to virtual netdevices > representing physical ports. Sounds a lot like DSA. Please ask the vendor to contribute the drivers :-) > The master netdev should not be mucked with by a user. It should be > ignored by certain s/w with lldpd as just an *example*. I have come across occasional problems with the master device in DSA. But nothing too serious. Generally the switch will just toss frames it gets which don't have the needed header, when they come direct from the master device, rather than via the slave devices. Andrew