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.5 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT 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 74E3AC43381 for ; Mon, 4 Mar 2019 11:18:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2BA7120835 for ; Mon, 4 Mar 2019 11:18:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20150623.gappssmtp.com header.i=@resnulli-us.20150623.gappssmtp.com header.b="by+TeGnt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726355AbfCDLSs (ORCPT ); Mon, 4 Mar 2019 06:18:48 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52801 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbfCDLSs (ORCPT ); Mon, 4 Mar 2019 06:18:48 -0500 Received: by mail-wm1-f68.google.com with SMTP id f65so2813299wma.2 for ; Mon, 04 Mar 2019 03:18:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=NzMRlKfZK4nT0Dno6gR4IgdVyxBWz5nBnFZN2Qtwg1o=; b=by+TeGnt8lFaaX5ChpinnyJLvNsh7X8I25J2gVRLUcFbpuzRMJ7Yiit9KpSLNkYZY/ uRyqi8qr6ClbpIPDXdpq2r/bFpElUEtv0g6FU59O/CDcbXwvS7UyMPE+PZC7cRpXa81R AZ6nMe4gGEeUtK4yuFhoSRUZdk+U+zn7kAz+pS1LjtEF7GlNa8n9CtSAQH6GLqBVym+S +xayjqS9MkVBI5FeP47b4N4PrQStBGNZWrLSNZOAU/ohEyWfjD+u49AWzrZFeBOljUFj BF+VZL/7gbap+0VTdvcQNBRN6boRGD+/cVZcGMr0yHkpm6KcJtdy/r+61DpB0EqjesCC b1vQ== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=NzMRlKfZK4nT0Dno6gR4IgdVyxBWz5nBnFZN2Qtwg1o=; b=gxt5TwPJTh+29fInaZbyd/BvDy7Pi2WX07dOo/l4rwXoPz/0vCn4se1f7R5+LelbgV VgQFVnNQw4iE7h3PjllxpUTxTZQA1gaFJJhfyRA88eTlylRaKvJ7VthYYQFAB5ATlm3R Sz9qvHHZgRTS7isj+/do5Tk8ujyyc8dBs5gUOFGmp9iInCerqS23cWQ86sWtR0ntqmr5 SQPlOFn/SVs7BNB64IGWe6HH7TrRLKqewJN5JNmAnI5vBGcHmzv0dVM0X0q5F7jOTxF3 SN1EX5X/acfysosG2PAX9CuY3YxjcNlObNRLy3KvSVJhjXdbIm27YR0t7s1zWyL1cMgD Biog== X-Gm-Message-State: APjAAAX7KZZxEyl4qH5k+wUaDCyE4HLXrAREN015kX9ysbFm+Mj5duuA 842ekQA1QKKU0Cx3If1PNRLxi9GO/rQ= X-Google-Smtp-Source: APXvYqxhNZex3u1e8tMFa49LNlOBJjf7azA2lKX9mYUhW5TKU3XKAnWbMV2TtTg8kG1jWKCDoMQgqA== X-Received: by 2002:a1c:2407:: with SMTP id k7mr6293743wmk.137.1551698326266; Mon, 04 Mar 2019 03:18:46 -0800 (PST) Received: from localhost (ip-89-177-134-16.net.upcbroadband.cz. [89.177.134.16]) by smtp.gmail.com with ESMTPSA id c18sm13285653wre.88.2019.03.04.03.18.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Mar 2019 03:18:45 -0800 (PST) Date: Mon, 4 Mar 2019 12:08:57 +0100 From: Jiri Pirko To: Jakub Kicinski Cc: davem@davemloft.net, netdev@vger.kernel.org, oss-drivers@netronome.com Subject: Re: [PATCH net-next v2 4/7] devlink: allow subports on devlink PCI ports Message-ID: <20190304110857.GW2314@nanopsycho> References: <20190301180453.17778-1-jakub.kicinski@netronome.com> <20190301180453.17778-5-jakub.kicinski@netronome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190301180453.17778-5-jakub.kicinski@netronome.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fri, Mar 01, 2019 at 07:04:50PM CET, jakub.kicinski@netronome.com wrote: >PCI endpoint corresponds to a PCI device, but such device >can have one more more logical device ports associated with it. >We need a way to distinguish those. Add a PCI subport in the >dumps and print the info in phys_port_name appropriately. > >This is not equivalent to port splitting, there is no split >group. It's just a way of representing multiple netdevs on >a single PCI function. > >Note that the quality of being multiport pertains only to >the PCI function itself. A PF having multiple netdevs does >not mean that its VFs will also have multiple, or that VFs >are associated with any particular port of a multiport VF. > >Example (bus 05 device has subports, bus 82 has only one port per >function): How do you plan to added/remove these subports?