Received: by 10.213.65.68 with SMTP id h4csp1838048imn; Thu, 5 Apr 2018 04:49:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx491tl5XugWJldiN3UhQ5GRtlXK1o/DbhJaXPlOEeDmNsSOq/qKiamlVkvJ87Y/p0FkRV+NL X-Received: by 10.98.93.149 with SMTP id n21mr16997391pfj.222.1522928940193; Thu, 05 Apr 2018 04:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522928940; cv=none; d=google.com; s=arc-20160816; b=MHQZshK2hvrP/y1EG0c7Pipf1e+RijIKZx/WIlnjPX6eZaFtqZbfTZpthIM/HUSZVk LCmX2zWQpzGuY+iUnqOKsyi7yP89BhdjQJCwPpDKzq4FUX4fnWnN60ZWDuBLxvr6462n JJne7kTqVsamvcGJya0DkL+sMJ6vOGEHMBxD9Kcyz8UmHNmWkx8oJHlKHrswubtcJPia V8tVtHED51Un2Qt4rUkCmWUxny1T9z7QchHtRjfnZ0e1KeY1HC79mNazj4iGHrw+LDnk v8XR9leyUZjrgqrCePXNYf5s6mrdgVYzskAAVXyMLvbtZTi1Tb0yfx4FLGHj0TvYLJ2l CsZQ== 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:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=WxMunxcCdB/i/q2YiGXz8qa7M8GavVh5yB7vREIBOkg=; b=CA8kvkkU1c1vqAYpyF/m/8eUVYnxKKc5IpFKtHaSLu0y/dPw6L4VC/MHF8ZBDq8HdK JvaCAd+KDhNw8BpuT11UEyAnSC5OAihphqfoXg0APhfvXYMUWoMB+YnaelatnnUIYOjb hb1E0eHGSxETKY0+P7JS1grGjjl3YAVDs9KKCECh4OrjjcRM2rAHQsa8D+3ooNMNTv6B mkVSqxSRHH37kPlgnO2btRoQ1nGO2qP9HtTcKas9ND5pCFb9AhQlV54berd95+BEFjuX 8+8vl7fvInk5LdQoFqRZTfDn43UegBuoh/Ok9rUHLuZpH8fj0GS1DVH86hS2fnxY9lTI ra7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=shj7mY3n; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si5308493pgm.413.2018.04.05.04.48.46; Thu, 05 Apr 2018 04:49:00 -0700 (PDT) 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=@lunn.ch header.s=20171124 header.b=shj7mY3n; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751924AbeDELrp (ORCPT + 99 others); Thu, 5 Apr 2018 07:47:45 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:51607 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751275AbeDELrn (ORCPT ); Thu, 5 Apr 2018 07:47:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=WxMunxcCdB/i/q2YiGXz8qa7M8GavVh5yB7vREIBOkg=; b=shj7mY3ne2+T/5nare6WewuNQ1vDm5cYIFgMKeq0s45vdbRrQAXQfvYN+cjKvEg5QJCG5xLAxcvMn7ds0uur7OJa8gs9Xrxxw7dCtVSU9y3zuNqcJSAF92qyyGq7EeJQZrcUq+BbHJ3cJn4cqFgvYb3IDTNLQ2K80C1jEm3mtx0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1f43Me-0003DU-32; Thu, 05 Apr 2018 13:47:36 +0200 Date: Thu, 5 Apr 2018 13:47:36 +0200 From: Andrew Lunn To: Laurentiu Tudor Cc: Stuart Yoder , Arnd Bergmann , Ioana Ciornei , gregkh , Linux Kernel Mailing List , Ruxandra Ioana Ciocoi Radulescu , Razvan Stefanescu , Roy Pledge , Networking Subject: Re: [PATCH v3 2/4] bus: fsl-mc: add restool userspace support Message-ID: <20180405114736.GA12178@lunn.ch> References: <20180404010549.GA12443@lunn.ch> <20180404124246.GA20869@lunn.ch> <5AC5FAA8.80409@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5AC5FAA8.80409@nxp.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 05, 2018 at 10:30:01AM +0000, Laurentiu Tudor wrote: > Hello, > > My 2c below. > > On 04/04/2018 03:42 PM, Andrew Lunn wrote: > >> I hear you. It is more complicated this way...having all these individual > >> objects vs just a single "bundle" of them that represents a NIC. But, that's > >> the way the DPAA2 hardware is, and we're implementing kernel support for > >> the hardware as it is. > > > > Hi Stuart > > > > I see we are not making any progress here. > > > > So what i suggest is you post the kernel code and configuration tool > > concept to netdev for a full review. You want reviews from David > > Miller, Jiri Pirko, Jakub Kicinski, David Ahern, etc. > > > > I think that the discussion steered too much towards networking related > topics, while this ioctl doesn't have much to do with networking. Hi Laurentiu So i can use switchdev without it? I can modprobe the switchdev driver, all the physical interfaces will appear, and i can use ip addr add etc. I do not need to use a user space tool at all in order to use the network functionality? Andrew