Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4909442pxj; Wed, 9 Jun 2021 05:02:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdMyD9mbdjBkxxpm/y+xxByO7hzXH4vnGVc2qwIfS/C1HVvdEgHEMxC04RITcyo0XGwLck X-Received: by 2002:a17:906:7052:: with SMTP id r18mr27777920ejj.449.1623240141109; Wed, 09 Jun 2021 05:02:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623240141; cv=none; d=google.com; s=arc-20160816; b=EYr2H+XuRWvaRxgvpRck5174ehfT0E7R+ok3VlpIb93dTowlfAvlhZStol1rP5l2Pw 98pOqPRGvOqkwiS8OYc64gBhKSyny2Uz6UWQ/0zdXvprQREwXHMZcVizvVWS9tWIb46B 24y5UIBDl0V7P8udz2FRmxx8jUdbRCH7diX881daAply43bnFSa/mLoAYioyFCK2hrB2 aU629GgisiCBntZai+xNxdfjrhClmWOGMiuNAmclcwDYfpdChBrgWd7j3NNpeuFoSzmy I46O39cP996WdDuV1vQucB0kIHpc16ux5gPWysmS+ddi8KbW8rrbeaajmT3BWr9nZLGd kUng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-filter; bh=JiB+w/Cmx+GMgy0g91305g++xG8zffhvBVFPrzrCTUA=; b=p+B26beaRCg9GnHbjT/DosexQaq8FvUn4ZweiCLYR9YGJVJzKfvjhR5v53VrW5p3vN tIJ/8l+GKeJzsuLQ2kqowMkPrDK5barxyGrwG8II4D+6802iCO/SAOshg4gbWmkB4oKu Une4R0XQMLI64KF8sqce0MDofPxJO8RnhZGXVbCOtG0l2xjOOQc9jTxxWqTFkCy1Cqc0 a4I8qIjgEF0ZoS7Sshh17w6hyFLSoo48V4Wy2aaATr6ycE8fYJWBMuy/fCWweegijXyw yzc5TLOEyz/IsepsP+2Nub0WZ/eNrj/3TONRRdGq9g9sKzropzdyoBGs5GethnMihyHC cmnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@novek.ru header.s=mail header.b=xIANxlUU; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-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 go15si2136473ejc.608.2021.06.09.05.01.44; Wed, 09 Jun 2021 05:02:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@novek.ru header.s=mail header.b=xIANxlUU; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232146AbhFIA27 (ORCPT + 99 others); Tue, 8 Jun 2021 20:28:59 -0400 Received: from novek.ru ([213.148.174.62]:33944 "EHLO novek.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232384AbhFIA27 (ORCPT ); Tue, 8 Jun 2021 20:28:59 -0400 Received: from [192.168.0.18] (unknown [37.228.234.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by novek.ru (Postfix) with ESMTPSA id 8D2E550048B; Wed, 9 Jun 2021 03:25:21 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 novek.ru 8D2E550048B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=novek.ru; s=mail; t=1623198323; bh=raYgrC7iYGAAHbmFTCbdldA7R4Nz93S6dtLj7TJHBec=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=xIANxlUUCq2Pt0r4pdzB8bKjNqorDzpSAiGZaG5Jk4uGS5RLQn6N1Ou3BLLbAI3nx N+oJvOrxAz0z9rNSkdg92zUJkY3Zf5Y2MkEi5lNVXCSLnvvc/TKtUgVg5Fw4Ojm/le yzfmVFsta+7DQCjczIe8yaNlrAKZXrS9ze4jDaa4= Subject: Re: quic in-kernel implementation? To: Alexander Aring Cc: netdev@vger.kernel.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, smfrench@gmail.com, Leif Sahlberg , Steven Whitehouse References: <6b4027c4-7c25-fa98-42bc-f5b3a55e1d5a@novek.ru> From: Vadim Fedorenko Message-ID: <9ce530f5-cfe7-b1d4-ede6-d88801a769ba@novek.ru> Date: Wed, 9 Jun 2021 01:27:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on gate.novek.ru Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 08.06.2021 22:06, Alexander Aring wrote: > Hi Vadim, > > On Tue, Jun 8, 2021 at 4:59 PM Vadim Fedorenko wrote: >> >> On 07.06.2021 16:25, Alexander Ahring Oder Aring wrote: >>> Hi, >>> >>> as I notice there exists several quic user space implementations, is >>> there any interest or process of doing an in-kernel implementation? I >>> am asking because I would like to try out quic with an in-kernel >>> application protocol like DLM. Besides DLM I've heard that the SMB >>> community is also interested into such implementation. >>> >>> - Alex >>> >> >> Hi! >> I'm working on test in-kernel implementation of quic. It's based on the >> kernel-tls work and uses the same ULP approach to setup connection >> configuration. It's mostly about offload crypto operations of short header >> to kernel and use user-space implementation to deal with any other types >> of packets. Hope to test it till the end of June with some help from >> Jakub. > > Thanks, sounds interesting. Does this allow the kernel to create a quic socket? > Not exactly. It's based on top of UDP socket and is configured by setsockopt like it's done for Kernel TLS implementation. The main point of this work is to offload cryptography only without implementing special address family.