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=-4.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED 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 BF4DFC43381 for ; Tue, 26 Mar 2019 20:32:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 82D1B2084B for ; Tue, 26 Mar 2019 20:32:03 +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="yG9aGoYB" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732709AbfCZUcC (ORCPT ); Tue, 26 Mar 2019 16:32:02 -0400 Received: from mail-pf1-f182.google.com ([209.85.210.182]:46896 "EHLO mail-pf1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731617AbfCZUcC (ORCPT ); Tue, 26 Mar 2019 16:32:02 -0400 Received: by mail-pf1-f182.google.com with SMTP id 9so8582288pfj.13 for ; Tue, 26 Mar 2019 13:32:01 -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=OJyTMEvx2UFoKMPRAiH5Vi6VmOS8SizGYImTFHbbGuU=; b=yG9aGoYBu6sUGsGewDDEholoqcKCBqBgtVhIkPh+LR8eucr+pGrpzoYbzPTNRs2BR4 3c8e8/DufZ374SO5olEwXCRAIQWJH3sCPFocRtwsVCXvefBG8f0LqsyJZjclby6FzJhq Ha3e3G4bKpav5d6ZrhSEThT4seHVik7hsQBmlatpzgUqs/fDQXLzzTB043QEswsgZ7z7 Y+qiBG1XUnEjqSr8Cqb7JiDLyrGSkJLwBvCvQGsqwNYJ/lsFr+MpgQ88WYiI0jC6bpd8 HuOwDxJgzPQjglQjdJ5SurTC1Oay0vpS6Symq22dzqPny/zXE9vXlPmL9bX/iKZ+ee6J TNqw== 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=OJyTMEvx2UFoKMPRAiH5Vi6VmOS8SizGYImTFHbbGuU=; b=Mir5KlzuxvfL0wz6Y1u4i5HZpMbqdEmUo6GpB92xVhNqzkdKcx2pIp8OJHkxQOrqSu t0YCwyOHp+GHvX9LHq7x8qiDgpQo96StgA4SC4mqWXOyJrjnL+ta0WDunJ2tNTTezotP 2Qy98n5zAk+RUEfeZxDlyKaqBjD8+vBXElZS5t+1/jsWKWtcABV9aVHZ0omq3p8V8kML d5tY+K50hhDRbL+PO+SgTute6gtW97imAF0pqInSGRfxELoPmybiJvNiKsJiUDsoB1Om oqPqLJuty+5lGyY6gB97ieK0HZOWl6xD7sWioVN8PkJo6Ymsk0mYWr2FgEMub0LHl/87 ZPpQ== X-Gm-Message-State: APjAAAVOc+haDwVatkhp7XuBaLPKaVyqNa4tp5urxDVq0XrMVgQwvJLK cT1TT4RQ8jcr6YQcgCYwL4kT8g== X-Google-Smtp-Source: APXvYqxJ4I4V3TZmZQm36rODFI8/x/W6GchJffQdJVPEqs5ae3NIPyMT03nFHqm4waSvLdt0WhxYJQ== X-Received: by 2002:a63:fa01:: with SMTP id y1mr30369506pgh.5.1553632321512; Tue, 26 Mar 2019 13:32:01 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id l19sm24485661pff.185.2019.03.26.13.32.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Mar 2019 13:32:01 -0700 (PDT) Date: Tue, 26 Mar 2019 13:31:57 -0700 From: Jakub Kicinski To: Jiri Pirko Cc: netdev@vger.kernel.org, davem@davemloft.net, mlxsw@mellanox.com, idosch@mellanox.com, f.fainelli@gmail.com, andrew@lunn.ch, vivien.didelot@gmail.com, michael.chan@broadcom.com Subject: Re: [patch net-next v2 10/12] nfp: do not handle nn->port defined case in nfp_net_get_phys_port_name() Message-ID: <20190326133157.47031103@cakuba.netronome.com> In-Reply-To: <20190326120307.2953-11-jiri@resnulli.us> References: <20190326120307.2953-1-jiri@resnulli.us> <20190326120307.2953-11-jiri@resnulli.us> 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 Tue, 26 Mar 2019 13:03:05 +0100, Jiri Pirko wrote: > From: Jiri Pirko > > If nn->port is defined it means that devlink_port has been registered > for this port as well. Devlink core is handling the port name > formatting. > > Signed-off-by: Jiri Pirko Reviewed-by: Jakub Kicinski