Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp510826imn; Thu, 28 Jul 2022 07:29:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uM3SanmEo7sbz9QOgbDxN0hxAZW0PLl6yHNhnrgR1v9D/PAYth6ctO9a710fn+x1NGcegF X-Received: by 2002:a17:903:110c:b0:16c:cfae:e48c with SMTP id n12-20020a170903110c00b0016ccfaee48cmr26126886plh.12.1659018564740; Thu, 28 Jul 2022 07:29:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659018564; cv=none; d=google.com; s=arc-20160816; b=pXTtbY5Ie90HBmNaoBBwiObRY4EFVv9JO8QqztcfwJXLkd87bBDbk9dRWsqBI10KZO gdhwyGc5RxdF43YVkfBh6zC1rAVGNrlT2fEU+Jtrt02Nm5AF674hozDk2S/bmXGQIbmJ gjxVVUzjSaof1k+kBYq+JlRjy6qYQXuEVTxCQwv2vzLJ8148kDJC/O9506/7tRq98MM7 1EgTe90Bsl8jT9KcTUsILc6yYg2Z8vniB0xlsPegQrlULF/iQTfLjIbbqrH8oOWvYJnv t2/U11CL7r/B0pBJztqfHZis1O8p2NRJ1l3hZji2dVyQsnNFglwaphe+68MrH6/p/seW xqVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=Zdt2FOf3dn1STyi4NXCC3k8Lmr0QfM/76N5LLfqpQO4=; b=lKjwjRayJj96MF5J/LrI0gZf4bIIXKNWPMQFqYic6v4gL32JUX1DFInnJ1HkIPL/jb w+XsQyEwJ5xGGjOTYpOfZSyXKbhYZtzdxgL29cx1T2g0RF4G0YBc6x9s7F1jy4fnUr0H c9hmzlcOM3seRGUe9f1eBqrlBBY2cNB35qPxJ36I+nT9FNfzGogw8bCkMTtVTlfs86xO Spt6UvD5qAY90T0bfeoosSoKlIFg+TBIzfpgRKcyNb9OZHfGvRzqg5BXx9r7x6XNlbz6 bYNcjnJ+mPQ+te3ZheGgFKxBYVQeYhItP9Rdc7hbLWvA6zMybZhbe2XPGBGLRSLI4CFZ NuDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@openvpn.net header.s=20170822-45nk5nwl header.b=nsk3DOmj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=openvpn.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t20-20020a170902d29400b0016d20eeef26si1009221plc.540.2022.07.28.07.29.06; Thu, 28 Jul 2022 07:29:24 -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=@openvpn.net header.s=20170822-45nk5nwl header.b=nsk3DOmj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=openvpn.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236581AbiG1NPc (ORCPT + 99 others); Thu, 28 Jul 2022 09:15:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236620AbiG1NP3 (ORCPT ); Thu, 28 Jul 2022 09:15:29 -0400 Received: from smtp106.ord1c.emailsrvr.com (smtp106.ord1c.emailsrvr.com [108.166.43.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BF031D0EB for ; Thu, 28 Jul 2022 06:15:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openvpn.net; s=20170822-45nk5nwl; t=1659014127; bh=nVyncxBbFfBP0UJB18/l9WTFsKwCNL1U/OTwv2Q77DA=; h=Date:Subject:To:From:From; b=nsk3DOmjPBZ1GglZRpyKS0n6v0e4IpPjB4XLKnTSIoO29+qoPnsuhsa2CvXbOxSCT LwBjFbO4injAnqKuWEQMnVwE7+fs/M+RoocwPqzbeI/u8N2d7fAJ7eU5/jAi83Lyf3 UwhkTLUop5fYyqoZr8wq3jWQA8nnn5//XCQXxWOU= X-Auth-ID: antonio@openvpn.net Received: by smtp14.relay.ord1c.emailsrvr.com (Authenticated sender: antonio-AT-openvpn.net) with ESMTPSA id C6016C0100; Thu, 28 Jul 2022 09:15:26 -0400 (EDT) Message-ID: <52b9d7c9-9f7c-788e-2327-33af63b9c748@openvpn.net> Date: Thu, 28 Jul 2022 15:16:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [RFC 1/1] net: introduce OpenVPN Data Channel Offload (ovpn-dco) Content-Language: en-US To: Andrew Lunn Cc: netdev@vger.kernel.org, David Miller , Jakub Kicinski , linux-kernel@vger.kernel.org References: <20220719014704.21346-1-antonio@openvpn.net> <20220719014704.21346-2-antonio@openvpn.net> From: Antonio Quartulli Organization: OpenVPN Inc. In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Classification-ID: b21c8d6c-fc14-4b0b-8f33-28a996a66e1f-1-1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 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 ;-)), -- Antonio Quartulli OpenVPN Inc.