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=-1.0 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham 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 0403CC43381 for ; Fri, 29 Mar 2019 21:57:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B81FA2184C for ; Fri, 29 Mar 2019 21:57:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=netronome-com.20150623.gappssmtp.com header.i=@netronome-com.20150623.gappssmtp.com header.b="i/taAKCt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730235AbfC2V5e (ORCPT ); Fri, 29 Mar 2019 17:57:34 -0400 Received: from mail-qk1-f175.google.com ([209.85.222.175]:42158 "EHLO mail-qk1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729771AbfC2V5e (ORCPT ); Fri, 29 Mar 2019 17:57:34 -0400 Received: by mail-qk1-f175.google.com with SMTP id b74so2293083qkg.9 for ; Fri, 29 Mar 2019 14:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=3oMyNBI7nXGyWOC3IjoGtUHvAFzG8cGLdj0ebrF4axA=; b=i/taAKCtB+pUKjjtd38cPEWkz26022GzYglRtc8aCO02LFxLLCLbhNe1DUq58UxczL gDvVLPKhWd41PJRokhmlmSZ4LL86x/M443HgVfdDz5xy8nuu+TJ193CKyre/tk1sYxuw iz3j0UGRDfJZKKx8cGljKGTfTIpbWfoZgfTxGH1OZhze5/0RHhBRXuHvMt/ZnbZAU0yx 2A+clEtrwnl/3Nl/My8X8aYpmEExjOpu/A/S0JAP2D0gkyVY+CJcu5i7Mh7iDhUVxOdt oKEqLEGiJTiiPruYpYNOrBD64ZdADB3jTilwk1+7IHsgYyOCokcFOx4rtQeQpLwJsXbv 51AA== 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:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=3oMyNBI7nXGyWOC3IjoGtUHvAFzG8cGLdj0ebrF4axA=; b=KChcHM+TSsImNjRmfQ9IwUwS/VkM2ej3ugs8rKPoLO6w9nqFd5AXalgYJsiH4UAYOP QedR3hm98g4+Bjj6mJS7amztF7KDZuN7hGei/eLoa+Sok8nJr6LGHOgdyqFS6QResq/M 5bt6XshECM69QwWpYa18pEMlovlfo60FWSiexJokvEMXXEdQnecW/039KE9NrQ08zHCs ElL96ccv8JlH2GQ0+bGbkxCrQxEXvWuWbrHC87TD5ZqGISM0FtJYOzDRwUKSdsVMjefu 7GnIx/OK8ZsyS77suwf5N+frS9w9k9CPA3MfguxMUCs9RYE8sON1RA7oyQCAb/BNp1gy oblA== X-Gm-Message-State: APjAAAWmaK4oVSL4ftGfKpNYxqvER7LVfdasX2bbfEgTtiqrUtC38knk CTfey5h1qE82v5pB5/0p3G1u2A== X-Google-Smtp-Source: APXvYqxULdgIx/sS/kE8xHi8ZUM1kOsMM1jkEfK7di87aaZbkC4hPeTcxHk/GQd7JudpVRZqlA4h0A== X-Received: by 2002:a37:4dcb:: with SMTP id a194mr8093404qkb.351.1553896653283; Fri, 29 Mar 2019 14:57:33 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id n70sm2331547qkn.5.2019.03.29.14.57.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 14:57:33 -0700 (PDT) Date: Fri, 29 Mar 2019 14:57:28 -0700 From: Jakub Kicinski To: Florian Fainelli Cc: Jiri Pirko , netdev@vger.kernel.org, davem@davemloft.net, mlxsw@mellanox.com, idosch@mellanox.com, andrew@lunn.ch, vivien.didelot@gmail.com, michael.chan@broadcom.com Subject: Re: [patch net-next 00/12] net: expose switch ID via devlink Message-ID: <20190329145728.72e5a07b@cakuba.netronome.com> In-Reply-To: <0d1e99ef-38d4-93bd-ad79-dd9002b3f468@gmail.com> References: <20190328211254.1894-1-jiri@resnulli.us> <20190328144002.245c9eef@cakuba.netronome.com> <20190329064905.GS14297@nanopsycho> <20190329115926.5c16d2fd@cakuba.netronome.com> <0d1e99ef-38d4-93bd-ad79-dd9002b3f468@gmail.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 29 Mar 2019 14:29:11 -0700, Florian Fainelli wrote: > > Out of curiosity, what are the shared features? It seems mlx5 drives > > a lot of our API design, it'd be good if the community had a better > > understanding of it. > > > > The situation with pipelined devices is somewhat murky. Didn't Or add > > some from of PCIe-side looped queue to forward between PFs? > > > > Presumably DSA would lean the opposite way with multiple ASICs > > reporting the same ID? > > If you have multiple switches inter connected between each other to use > the "D" in DSA and form a fabric of switches, then you would expect each > port to be physically tied to a particular switch device/instance, > because, but how they will report the switch physical ID can be of the form: > > . > > where fabric is dst->index and switch is ds->index (the switch within > the fabric). Oh, I assumed you'd want the to all have the same switchid, and then the "D" in DSA logic makes sure the flooding etc. works across the ASICs..