Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2161646rwl; Thu, 13 Apr 2023 02:29:11 -0700 (PDT) X-Google-Smtp-Source: AKy350YfvDkJRgmSkgjlwqQrTYUhoNaJSMMcRJ1B+bNBfe8JC/1KsA402amQuEFaZhxJcMyIFWiL X-Received: by 2002:a17:903:4308:b0:19c:fc41:2dfd with SMTP id jz8-20020a170903430800b0019cfc412dfdmr1448960plb.29.1681378151164; Thu, 13 Apr 2023 02:29:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681378151; cv=none; d=google.com; s=arc-20160816; b=lZ9cf49/8n3A9Tz3dMBnAjfsR3VEcakAtthwxEixzE5FxWcm1nkjXhTTBC+zQiX2wi rubiGR/SeC0HsWbiW9fRWJY4kuHAjwRaRPPVXQAwiOCSxNFm67/mSMv7q0eSQuSOzFkJ rHwo4zcsmjUSCv5JqZKCHPqeEb7ps8Zb6p2Pm/yECQJV0Cjc4wjgLUoJG5Bh5abyUK2F wLbqgsSFo/anZhaZdAg4K3dyoy+X0mVZ4itMp+8moyqLTHXXcNei6QfulFvO8EcNRShP 0DGZuuZHSuTJ/vBMqcobNWG/0IoauZw3BG9/lQTlbkB+5TRRhklx0AQDZvewNvGRHyFN oejg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=rQH+e7k6IWcL/FhR6LpZjEsZ2ASYHzpPfEuTZ0Cyh/4=; b=lmXioit5+Ie3/HS7irioUmiV/+4unnNgzZATuYL6Ccsk8YfHhTOFqtCX0YuQMw25B8 Y4ZVG8KGE8YwqmQrmmcgL9g4EsEnQ17TYiC2Jnvgj8I/rfnW79NMcy7D9jule48QpXWW x6ApgRrK2K0LUhiozs1riGe5kRoICeJ0P3usHQe0Uu+//lf/1fEgyrVHlc02N9F/HytC D9Vl50M8Ifo/SNqrxjU3Cdbk4thHHyyPHnB8PxvpIk+zFAH4z/8ImVJ7Ch0gbp/ACe0z kqnBxLl5zXNQ09VitzC2PbfmJ3uso8Ky0bCKv8ccy0XO+e/yrmYPSjaQjBSIzFbOjeeN bLhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rk+bQIdJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a170903244700b001a24c038c76si1731690pls.512.2023.04.13.02.28.59; Thu, 13 Apr 2023 02:29:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rk+bQIdJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229838AbjDMJUU (ORCPT + 99 others); Thu, 13 Apr 2023 05:20:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229526AbjDMJUT (ORCPT ); Thu, 13 Apr 2023 05:20:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F37692708; Thu, 13 Apr 2023 02:20:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 91A7463CED; Thu, 13 Apr 2023 09:20:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id EEC6BC4339C; Thu, 13 Apr 2023 09:20:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681377617; bh=zTbohHnhZ+E+WF9ytqc+sqgp8zGneGfCVvSptQFgzo8=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=rk+bQIdJYHhpVswOOqOmSi+k5FVHAqTTXS1gqoDiydkWJRQyPc782lD6K3l/OTng/ yHysuZexUAiEAgPYp9iCoj7s1/0/Um6ckq3pE/0Y9raNsTDZF1K5n/uS9vmK2szokG C+SCH+GCQ9+/Xz1/Bwz14q36f4bOD2B5jnTDZAQIRFH4kfat4nAL3Tsa3XOdInrJJ9 oJydSY50dtS3MRUx1nKvv8oOHAKp8scukuUjIwGKxTXWh7fFvPZyRzu76vT0u3Ieao bEqYVJB7IyK7GiarXv64+onqigFu7qSB9mh5gSTUxs0O4p+/GlyYq11LgzZRLTXEPt j3dBAmbocpOdg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id D6735E4508E; Thu, 13 Apr 2023 09:20:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next v2] bnxt_en: Allow to set switchdev mode without existing VFs From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168137761687.8748.1628157821797232653.git-patchwork-notify@kernel.org> Date: Thu, 13 Apr 2023 09:20:16 +0000 References: <20230411120443.126055-1-ivecera@redhat.com> In-Reply-To: <20230411120443.126055-1-ivecera@redhat.com> To: Ivan Vecera Cc: netdev@vger.kernel.org, mschmidt@redhat.com, michael.chan@broadcom.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni : On Tue, 11 Apr 2023 14:04:42 +0200 you wrote: > Remove an inability of bnxt_en driver to set eswitch to switchdev > mode without existing VFs by: > > 1. Allow to set switchdev mode in bnxt_dl_eswitch_mode_set() so > representors are created only when num_vfs > 0 otherwise just > set bp->eswitch_mode > 2. Do not automatically change bp->eswitch_mode during > bnxt_vf_reps_create() and bnxt_vf_reps_destroy() calls so > the eswitch mode is managed only by an user by devlink. > Just set temporarily bp->eswitch_mode to legacy to avoid > re-opening of representors during destroy. > 3. Create representors in bnxt_sriov_enable() if current eswitch > mode is switchdev one > > [...] Here is the summary with links: - [net-next,v2] bnxt_en: Allow to set switchdev mode without existing VFs https://git.kernel.org/netdev/net-next/c/f032d8a9c8b3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html