Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp804190pxb; Wed, 3 Nov 2021 12:40:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnzwIY9o1g+vBWRrO1l5hG7CJoxqu29Ah81pH5ibYY7sQhBJQtsTsqtF/NwewT95rm7uPQ X-Received: by 2002:a17:906:58c1:: with SMTP id e1mr57341105ejs.327.1635968448150; Wed, 03 Nov 2021 12:40:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635968448; cv=none; d=google.com; s=arc-20160816; b=fSsvw66PF9eU4nEgP9nwVk03zzH7LuRDQ5D8I4XwrD3xdizOHhsUuV8gu8vWEoSaLt AV3FOb7QdAHQYFJd+teHCpXFbgTdo/4sbCEWcXT8O6a5I2TsVEuxa3KJbKLTfyqGoW99 MlGUu4G5in1LLxGt2SD98b2ff4J+s/bsdkLwszL9yYP+cHu7Zdnakk5dicnyhRTOqFv8 dK+48HPzLj8C0vWILPEaSRJU5gZjWTDJMEZDZ1FPdg2DvGAnCcys8Zrn7wp9MXdKdrHX odz4y3IWtAkQ85yopZhMssADG8QjEKKwHYQ6gz8GgfcklUySU+fW0qK8scgDyQrBQJgU nBbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:dkim-signature:from; bh=DpNhm67djA/4t7H/t6zeTGTAWwU8/HtkZqADVGISxQQ=; b=vXWs5iylAVj4+lhiqOFlKBreA2pt4vALC4RSASnFRDIAzq5tqC6/PJyKwpKTz0W6tJ xquW5UrEE3WBlKMFSXRBOJSa2HlnqQyngs4uuM8Gftd49S6FKGZ+I8Ygneu8ywQcxO1N 8riRQ+q2DziiBN7CawvKzivGn69U7DguiYWB9jnEKxV8R+Cw8znstXnZG2XvFQy2ydTH 6abguP1x5oKi78+hqJiXku3avrt47cqTr7AOf3H+icR4BZHvtRm9wMjWkAGbPpNJQ2rO FykKD4KjejjRTSvPxPG9XZkkQMsi/GXFUf2qbB36vr3dXPAsnw/73hV8i2Mag/NDPmuG wxBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=VNiMoSp6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si4547563edr.120.2021.11.03.12.40.23; Wed, 03 Nov 2021 12:40:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=VNiMoSp6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230421AbhKCTlH (ORCPT + 99 others); Wed, 3 Nov 2021 15:41:07 -0400 Received: from todd.t-8ch.de ([159.69.126.157]:58401 "EHLO todd.t-8ch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229918AbhKCTlG (ORCPT ); Wed, 3 Nov 2021 15:41:06 -0400 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1635968308; bh=F7/IqXfrZtyQ8NW8rysMnKtrgiVYUxBlS6M/A2Yg+4k=; h=From:To:Cc:Subject:Date:From; b=VNiMoSp6ylT3mDXyPfrQtncCFOmKtCeB+EOnyRasaVPfN6fidBD0XzW7NsLyLA1Zd wn7v6SSdCkWEMffw23ksshCVOUke2Io+47sSdtUtDMBTc2bCMXLqjDELqh9UDWk2OB hzYwGIYcd6HyNK02dFXeRkepQtfUi6PDKDq5caRU= To: v9fs-developer@lists.sourceforge.net, netdev@vger.kernel.org Cc: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Dominique Martinet , Eric Van Hensbergen , Latchesar Ionkov , "David S. Miller" , Jakub Kicinski , Stefano Stabellini , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/4] net/9p: optimize transport module loading Date: Wed, 3 Nov 2021 20:38:19 +0100 Message-Id: <20211103193823.111007-1-linux@weissschuh.net> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a continuation of the single patch "net/9p: autoload transport modules". Patch 1 is a cleaned up version of the original patch. Patch 2 splits the filedescriptor-based transports into their own module. Patch 3 adds autoloading for the xen transport. Please note that this is completely untested, but other xenbus drivers do the same. Patch 4 adds some fallback transport loading from modules if none is usable at the moment. Changes since v1: ( https://lore.kernel.org/netdev/20211017134611.4330-1-linux@weissschuh.net/ ) * Fix warnings * Split FD transport into its own module * Autoload xen transport when xenbus device is present * Load transports from modules when none is specified and loaded Thomas Weißschuh (4): net/9p: autoload transport modules 9p/trans_fd: split into dedicated module 9p/xen: autoload when xenbus service is available net/p9: load default transports include/net/9p/9p.h | 2 -- include/net/9p/transport.h | 8 +++++++- net/9p/Kconfig | 7 +++++++ net/9p/Makefile | 5 ++++- net/9p/mod.c | 41 ++++++++++++++++++++++++++++++-------- net/9p/trans_fd.c | 14 +++++++++++-- net/9p/trans_rdma.c | 1 + net/9p/trans_virtio.c | 1 + net/9p/trans_xen.c | 2 ++ 9 files changed, 67 insertions(+), 14 deletions(-) base-commit: cc0356d6a02e064387c16a83cb96fe43ef33181e -- 2.33.1