From patchwork Wed Jul 6 16:21:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Habets X-Patchwork-Id: 12908275 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 D656ECCA47F for ; Wed, 6 Jul 2022 16:21:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233678AbiGFQVW (ORCPT ); Wed, 6 Jul 2022 12:21:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233304AbiGFQVU (ORCPT ); Wed, 6 Jul 2022 12:21:20 -0400 Received: from mint-fitpc2.mph.net (unknown [81.168.73.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9EC901117A for ; Wed, 6 Jul 2022 09:21:15 -0700 (PDT) Received: from palantir17.mph.net (unknown [192.168.0.4]) by mint-fitpc2.mph.net (Postfix) with ESMTP id 34F97320166; Wed, 6 Jul 2022 17:21:13 +0100 (BST) Received: from localhost ([::1] helo=palantir17.mph.net) by palantir17.mph.net with esmtp (Exim 4.95) (envelope-from ) id 1o97ls-0001iI-Oo; Wed, 06 Jul 2022 17:21:00 +0100 Subject: [PATCH net-next 0/2] sfc: Add EF100 BAR config support From: Martin Habets To: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, edumazet@google.com Cc: netdev@vger.kernel.org, ecree.xilinx@gmail.com Date: Wed, 06 Jul 2022 17:21:00 +0100 Message-ID: <165712441387.6549.4915238154843073311.stgit@palantir17.mph.net> User-Agent: StGit/0.19 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org The EF100 NICs allow for different register layouts of a PCI memory BAR. This series provides the framework to switch this layout at runtime. Subsequent patch series will use this to add support for vDPA. --- Martin Habets (2): sfc: Add EF100 BAR config support sfc: Implement change of BAR configuration drivers/net/ethernet/sfc/ef100_nic.c | 80 ++++++++++++++++++++++++++++++++++ drivers/net/ethernet/sfc/ef100_nic.h | 6 +++ 2 files changed, 86 insertions(+) -- Martin Habets