Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1938777ybl; Sat, 1 Feb 2020 09:38:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzwHyoM51elFXcmdQEKgDZYrcWB2xpherOy/E2Op88PxfMZjzC5C+V6BzxkvtxT9PpslFpI X-Received: by 2002:aca:f587:: with SMTP id t129mr8052996oih.143.1580578704897; Sat, 01 Feb 2020 09:38:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580578704; cv=none; d=google.com; s=arc-20160816; b=kUW4JVktbFaxKMvSjKetlXVscxNRFxNTOMMN6O0p3JcGPFdSfXAF+Zo9HN0pF9LaxS gMfuoLSzCwrV8M/L2HXTUknaLBlIyW0eDhi3MBp3Z0Myah+zLcueNeN42AByLOUVvtQa 45y6X1HWZEmWZm42flZU/nZNuM4xqLUfGC1c4mtVwrlo1Ili8Wp9VK8EcMtp7+PVaH1J wwZLJxAaw25qyuEAUsofGxAdeh1OD9CPHcJQJTSFKgr5zLuUvzfO37dYxeJICWb6clx0 KITGM6BjmcrRqFie64t+CrwPuGGWdeLFRpx0H+z3Cw0XIp/fo1qu595EYplGXfUZFhoY NtbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=oo7inZFWreTA/GHVbCGW3Gw8wt4u2ju7bC85HRAUzaw=; b=Rh0kjre3S7mNuF6aFSH9J0C4X3H3S52bm/V3WNF3MUBPBQ9wUVtVxGfmaJ3jhdMQRR rSqLSLutrGEJ66d+Io7BvQ3mX5blOljCBQPi3s8KO4IvaTVtdXE+p5zlK5nf8uJL+43f 4U8RAyaVimoDKGJSXl8MTWsZjSYaIAUV0uRPiBLk45v9Jb7k0Ap1LDh5wgPcpRo8fN/s 1D8zccWeZ1+dgQYDdRtm6EzDaQjtP6PpWuL2sBVNzT7Ezf32EIWwd1/ckpyziBQutRyq KJjqnOI7FbAGOvvI/pmFnuGOZBstboFcn8r2L7VvXH4dnt/8F53j+5RyFdyd4HTVijWC CWQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=npYR5SuS; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5si6123534oif.211.2020.02.01.09.38.12; Sat, 01 Feb 2020 09:38:24 -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=@kernel.org header.s=default header.b=npYR5SuS; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726637AbgBARgX (ORCPT + 99 others); Sat, 1 Feb 2020 12:36:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:55400 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726169AbgBARgX (ORCPT ); Sat, 1 Feb 2020 12:36:23 -0500 Received: from cakuba.hsd1.ca.comcast.net (c-73-93-4-247.hsd1.ca.comcast.net [73.93.4.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3A7DC20678; Sat, 1 Feb 2020 17:36:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580578582; bh=KuaxtJRw14v59ff+I3CJb9O7IIbfHXwjQfiE5sV/mdE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=npYR5SuSSCd/RxiufbwuT5b4Zl8DzXdHMvm2gczI+LuLTrmyTyRHAxb8GqPRusVOi Nksy1LlWZ878WB0PdUdrVy/8Ii2I44Uj6dzZknH6IzTQTsdL+SqTTz+l5y69hwYEb7 /5shIJwIWw2mwK7nG7bHMe+sX4ZF1a4Tus98IhLg= Date: Sat, 1 Feb 2020 09:36:20 -0800 From: Jakub Kicinski To: Russell King - ARM Linux admin Cc: Jiri Pirko , Andrew Lunn , Robin Murphy , Calvin Johnson , stuyoder@gmail.com, nleeder@codeaurora.org, Ioana Ciornei , Cristi Sovaiala , Hanjun Guo , Will Deacon , Lorenzo Pieralisi , Marc Zyngier , Pankaj Bansal , Jon Nettleton , ACPI Devel Maling List , Len Brown , Jason Cooper , Andy Wang , Makarand Pawagi , Varun Sethi , Thomas Gleixner , linux-arm-kernel , Laurentiu Tudor , Paul Yang , Ard Biesheuvel , "" , "Rafael J. Wysocki" , Linux Kernel Mailing List , Shameerali Kolothum Thodi , Sudeep Holla Subject: Re: [EXT] Re: [PATCH] bus: fsl-mc: Add ACPI support for fsl-mc Message-ID: <20200201093620.4b55d6fa@cakuba.hsd1.ca.comcast.net> In-Reply-To: <20200201114919.GQ25745@shell.armlinux.org.uk> References: <12531d6c569c7e14dffe8e288d9f4a0b@kernel.org> <0680c2ce-cff0-d163-6bd9-1eb39be06eee@arm.com> <20200131142906.GG9639@lunn.ch> <20200131151500.GO25745@shell.armlinux.org.uk> <20200131074050.38d78ff0@cakuba.hsd1.ca.comcast.net> <20200201114919.GQ25745@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 1 Feb 2020 11:49:19 +0000, Russell King - ARM Linux admin wrote: > What if someone decides to do: > > devlink port split device/1 count 2 > > what do we end up with? Presumably two network devices running with > two serdes lanes each (if supported by the hardware). At that point > can they then do: > > devlink port split device/2 count 2 > > and end up with one network device with two 10G serdes lanes, and two > network devices each with one 10G serdes lane, I think all your guesses are correct, it's a pretty straight forward API, but it's also pretty thin, and some of the logic is in FW, so there isn't much in a way of a standard on how things should behave :S > or can port splitting only be used on the "master" device/port ? I think both mlxsw and the NFP rejects re-split/further splitting. Ports have to be unsplit first. So there is only one device for splitting, and unsplitting can be done on any of the sub-devices. > Unfortunately, I don't think I have any network devices that support > this so I can't experiment to find out how this should work; yes, I > have a Mellanox card, but it supports a single 10G SFP+, and therefore > does not support port splitting. I think you'd need a mlxsw or an nfp to play with this. Maybe Jiri can clarify further :)