From patchwork Tue Aug 3 13:05:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Kicinski X-Patchwork-Id: 491387 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=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT 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 DD0AAC4338F for ; Tue, 3 Aug 2021 13:05:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B981A61037 for ; Tue, 3 Aug 2021 13:05:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236028AbhHCNFr (ORCPT ); Tue, 3 Aug 2021 09:05:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:60090 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235895AbhHCNFq (ORCPT ); Tue, 3 Aug 2021 09:05:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9064560F9C; Tue, 3 Aug 2021 13:05:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627995935; bh=CXFFeL4rSCiB02SPYYtouqHmBZqV14eLkT+/JjPpifU=; h=From:To:Cc:Subject:Date:From; b=L/T2HlNSXpGLQcloFOdRCjgVVT856xTPtC6aG9cWJDXKGLxbVFB6v26FRW3ZkHfES hUX2KN2rNN4Bue6G6r825p5iv/o4nvKEw6G6ZdifJc9ex1VO+G8ZDy4R2qbsJhEeuc xSjIJIdbQXUFHnvTgWl4Wyq9KDYtKvXyeij7LmPn5+vSRJgwXlbeMBRaLcF2hFiy3l znf1SoJef2O36X5iFZ5NmA1QDOl+D5scK7O177gVW39hjN84YjwQ0xazTUQTZEzHWG cy7Hn7a5N3DkRP3SiBOiThsXFos/cp3DLF+HpbbM6c6H0jl85z5AiSFp8y7o2Ulcpn EqRmz41sU6Q/g== From: Jakub Kicinski To: davem@davemloft.net Cc: netdev@vger.kernel.org, simon.horman@corigine.com, alexanderduyck@fb.com, oss-drivers@corigine.com, Jakub Kicinski Subject: [PATCH net-next 0/2] net: add netif_set_real_num_queues() for device reconfig Date: Tue, 3 Aug 2021 06:05:25 -0700 Message-Id: <20210803130527.2411250-1-kuba@kernel.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This short set adds a helper to make the implementation of two-phase NIC reconfig easier. Jakub Kicinski (2): net: add netif_set_real_num_queues() for device reconfig nfp: use netif_set_real_num_queues() .../ethernet/netronome/nfp/nfp_net_common.c | 11 ++--- include/linux/netdevice.h | 2 + net/core/dev.c | 44 +++++++++++++++++++ 3 files changed, 49 insertions(+), 8 deletions(-)