From mboxrd@z Thu Jan 1 00:00:00 1970 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 B58A6C3F6B0 for ; Wed, 3 Aug 2022 15:42:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238130AbiHCPmV (ORCPT ); Wed, 3 Aug 2022 11:42:21 -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-Google-Smtp-Source: AA6agR4WsCRzuXEDoWPLWJFb/79WPlwW2sBPFFlB4dv+rWf+Aj+JYBgv7mg3i4CIzGFKZe1uV40rnQ== 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 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.