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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18F38C05027 for ; Thu, 2 Feb 2023 12:01:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230287AbjBBMBj (ORCPT ); Thu, 2 Feb 2023 07:01:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230251AbjBBMBi (ORCPT ); Thu, 2 Feb 2023 07:01:38 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2739381B1C for ; Thu, 2 Feb 2023 04:01:36 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id p26so5170922ejx.13 for ; Thu, 02 Feb 2023 04:01:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=3rkSR8OqEy/2Bt8P6DPwHU7VnWfycF0LHq+7vAAoyCk=; b=EhFDP9qBXX7wnWi7yUi+gWF53aLbvYM127lNKAuTSp+lSE2jC96hRiYuDKKilkcufT V+Zp6F+ZgyIQVGLl9ZLISJcig0VKoOvIagFQWrqeESWYfSQ7C6T3YV0ewdfaLdJoLMJ7 o9vNp2NPRNsGBehsApdUsZkvhiKqTcmaugI+XNigiXthY8R79fegSJ3n/1h0qJDFRSeg u5ooCPFRejDG2q5WUhTwFjZOGDLN/acBI2LKaGjZCZ/REAeYS8m0sRmXX7mS/toovijU JuwsnDK5h6TczqUogXaeuouPFst6+llHR42AC0H0eqGSXtQCQbXRc5wmHo524Hv7uOW4 2h3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3rkSR8OqEy/2Bt8P6DPwHU7VnWfycF0LHq+7vAAoyCk=; b=bKF5UIReL80njcxXEiYJFJn67Wd4LT5DlztvrdRA1RGqwotaoRNLqJyzeQ4EDbVcGN jyJeIfpJ0L9r05SVfooCVxmctA0c3PFBEVRzk4201RR7GS7HO3wGn/KdjGLeHnCWcWaU uw7L2UV/E8UK9z8VAIzzgn7DTSn1Apcw4GtdbRZ5vtQNZIDv6dC+ICnJQ0iHZqPJWKhl oJELXSQr7se+S+AUI85A0EiVnEUmseYb2Y0nfVmH8QYkSpAzLkJo47Tq6XyNEl4LECzD mVCkdchxNm2Hi1TQPqppWly8lNW6u5gUsqThNxgofEF3DVE4m/21YGpJCAYmtFFwZrQZ nGPA== X-Gm-Message-State: AO0yUKUrT6YxDokvK31FQv/y6IBGFn8L6+FUQVIpiL/RN2S32V092Eku L0z9PjS+UdT073Vet9bYUMbOiw== X-Google-Smtp-Source: AK7set/3y3nIx/GSNkjczhLKeAthrhtbV1NE/OHM50AOJ8haNEYj/IIc01PjH0kEi9QUpDtgow9kfA== X-Received: by 2002:a17:907:8f0c:b0:887:dea8:b029 with SMTP id wg12-20020a1709078f0c00b00887dea8b029mr4714107ejc.1.1675339294692; Thu, 02 Feb 2023 04:01:34 -0800 (PST) Received: from localhost ([86.61.181.4]) by smtp.gmail.com with ESMTPSA id h13-20020a1709063b4d00b008787becf3a8sm11113327ejf.79.2023.02.02.04.01.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 04:01:33 -0800 (PST) Date: Thu, 2 Feb 2023 13:01:33 +0100 From: Jiri Pirko To: alejandro.lucero-palau@amd.com Cc: netdev@vger.kernel.org, linux-net-drivers@amd.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, edumazet@google.com, habetsm.xilinx@gmail.com, ecree.xilinx@gmail.com, linux-doc@vger.kernel.org, corbet@lwn.net, jiri@nvidia.com Subject: Re: [PATCH v5 net-next 5/8] sfc: add devlink port support for ef100 Message-ID: References: <20230202111423.56831-1-alejandro.lucero-palau@amd.com> <20230202111423.56831-6-alejandro.lucero-palau@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230202111423.56831-6-alejandro.lucero-palau@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org Thu, Feb 02, 2023 at 12:14:20PM CET, alejandro.lucero-palau@amd.com wrote: >From: Alejandro Lucero > >Using the data when enumerating mports, create devlink ports just before >netdevs are registered and remove those devlink ports after netdev has >been unregistered. > >Signed-off-by: Alejandro Lucero Reviewed-by: Jiri Pirko