Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp405593imn; Wed, 3 Aug 2022 08:51:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v9UDbK56kTbPICDDwuysJd0D2hPBAEFNEI2Zf3r/AiFNl7IUQvOmBCiKC9jafdPQptLzu4 X-Received: by 2002:a63:293:0:b0:412:4f02:950f with SMTP id 141-20020a630293000000b004124f02950fmr21336647pgc.187.1659541870942; Wed, 03 Aug 2022 08:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659541870; cv=none; d=google.com; s=arc-20160816; b=SMpE4HFIEIcPmP+rg9B8mYVBr1iFR7rbhNNGIM2KBR5CJJvhwPGwvEI4PQrNDEZVg1 RIj98f6beOXLwqSErxRIKlFINVjSvLKsZTLyd9sF1NggWbDnUB153pkBa6JbkjBTXHgS ixiet6tE8t4LVi4WEM1YC7VZanSpbS9hE4zYC1nBRKQpJc/9YcAfTB/PEi3cW495p3H2 QK+N8Zqcus7ZSVkC/76Qj+9Bb0h9JdgGsf+roA8tgjEJGhHbMGML6deY6wKcZ8kLFA7E YfDvxGo22aWCHp5WRBVE5aLRVin4Lrez362qXSktIxrk/Umu3YMCCpfBMzsZ8ySKsy70 lW4A== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=1X8iIxmRWAvlqWrXHFS410p03/OzfP/+iRwjFFKXw30=; b=fzAlQrfHdar7jTkSEeyBDfxnuy3JExXoUIp9Ud/M1lXoue6NC9uCmA7V7ms/Sv/0Rk QscIzHsvqub4drPmfuXfeT3aTXueozLce0rOCEjl5cXWt/iTaifbwjXOs46A+KpAiA6e jfgGBrUDIB4nrGlY4bRIuNJBmoxC+li753KsZdc4xJxW0hxY1K4vWD0yH89saZ/3vCJz F3WyGsI2xoe7aLptO6SztnvPNTNz35UOTvMss88TDVMweNDBfeEBB/gNGl6O/ttGhiUK 6J6hhBeNX2NTrdBB1Gfhf8B2oiiWan0pIwE6JWc1Ko+MnDKRje+phk4Hsxth/IDB8Lt/ HC1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20210112.gappssmtp.com header.s=20210112 header.b=IWftbW3+; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d20-20020a056a0010d400b0052af8afa07asi19133995pfu.64.2022.08.03.08.50.56; Wed, 03 Aug 2022 08:51:10 -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=@networkplumber-org.20210112.gappssmtp.com header.s=20210112 header.b=IWftbW3+; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235101AbiHCPmU (ORCPT + 99 others); Wed, 3 Aug 2022 11:42:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237561AbiHCPmG (ORCPT ); Wed, 3 Aug 2022 11:42:06 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1604B17E33 for ; Wed, 3 Aug 2022 08:42:05 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id s206so15460020pgs.3 for ; Wed, 03 Aug 2022 08:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1X8iIxmRWAvlqWrXHFS410p03/OzfP/+iRwjFFKXw30=; b=IWftbW3+tqW97FEHybyJHufo830Yv1o7rS2J6bHvY9JGN02ViO+au41pbuoPhpI+kt pIlRcqa3fWR93PHQ+M1rDFQh64MLMBySAoJBaTEYO0787n9Q/nkuLgnyMzYXTvGANfoX 8zn3bbh2ccye6cK/z2DWuxim5b/guuR2GxMvusoCYrOEshZxv53RP43qz5ih/KQiPMIr 1+o1/tVwFwSMZ8oYQs8ZBT4VbAJWX/uaci2i5xbJhCPrYPbBhrikg0zRG6CwCMzjfJFD Hk47Wj+IA43z5oOQ5AJRt4eT8DxFhkISwAV1AA6vlhN4uflgzqx7WP513lVZJ3F1+Ylh mxfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1X8iIxmRWAvlqWrXHFS410p03/OzfP/+iRwjFFKXw30=; b=gL7xqOiz1QBMOLxBBWlKmletZuE2q5WVWAAz2NtYZAjbygkJlyZww+WsguSd2PyA4j 9iwqHj4szwmlOgDmOrJCaO+XFo/bpktDGs3SpIMaH3sCcf6Le9ATnYz+L0t8mfcHE2qK Iwl0BLOKR+YEbv0IkMxDq+UDxiwevG8qBDWphbaN1f8ygBr7HSlno+9Gg6cy7rRbjuX5 Ct80WDZ2hMFdPaRCn7QYkT4QSPNAFgl7rgsFWA3X5CwroFvn9K1ZFgrp9ZEu118tJJrJ VV2P+Yh9IlC/M8wf0ePVDIS+rGjFWTwGZv2QlN/kOl0ICB+TSQQ6NiaCh1zKsKTJoep3 wbMQ== X-Gm-Message-State: ACgBeo1nOwl7ezoi/lKfx8ku60Dtuqua5DbLoIAeoXRJLq70mPVYynzb RL0d982WIfXepLYCCYFpkEg5CQ== X-Received: by 2002:a05:6a00:4306:b0:52e:3bdc:2635 with SMTP id cb6-20020a056a00430600b0052e3bdc2635mr2351247pfb.79.1659541324477; Wed, 03 Aug 2022 08:42:04 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id t1-20020a635341000000b0041c30def5e8sm5093221pgl.33.2022.08.03.08.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 08:42:04 -0700 (PDT) Date: Wed, 3 Aug 2022 08:42:02 -0700 From: Stephen Hemminger To: Antonio Quartulli Cc: Andrew Lunn , netdev@vger.kernel.org, David Miller , Jakub Kicinski , linux-kernel@vger.kernel.org Subject: Re: [RFC 1/1] net: introduce OpenVPN Data Channel Offload (ovpn-dco) Message-ID: <20220803084202.4e249bdb@hermes.local> In-Reply-To: <52b9d7c9-9f7c-788e-2327-33af63b9c748@openvpn.net> References: <20220719014704.21346-1-antonio@openvpn.net> <20220719014704.21346-2-antonio@openvpn.net> <52b9d7c9-9f7c-788e-2327-33af63b9c748@openvpn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 On Thu, 28 Jul 2022 15:16:10 +0200 Antonio Quartulli wrote: > Hi Andrew, > > On 28/07/2022 15:07, Andrew Lunn wrote: > > Also, using a mainline driver out of tree is not easy. The code will > > make use of the latest APIs, and internal APIs are not stable, making > > it hard to use in older kernels. So you end up with out of tree > > wrapper code for whatever version of out of tree Linux you decide to > > support. Take a look at > > > > https://github.com/open-mesh-mirror/batman-adv > > Yeah, this is exactly what we are already doing. > We're just trying to keep is as simple as possible for now: > > https://github.com/OpenVPN/ovpn-dco/blob/master/linux-compat.h > > Thanks for the pointer anyway (I am already deeply inspired by > batman-adv, as you may imagine ;-)), > Kernel submissions for upstream must be standalone, and any infrastructure that is only used by an out of tree kernel driver will not be accepted. The version you propose upstream must have no linux-compat wrappers. Sorry kernel developers don't care or want to be concerned about some out of tree project.