Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp432322rwd; Wed, 7 Jun 2023 01:50:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7iOAn57Upvq7Im8Utk5bG7XfwJHI/IG5OEsfO8hbosOpOxXs+X7mI+ZMHFyhpRaBCj0z1D X-Received: by 2002:a17:902:ce87:b0:1ac:40f7:8b5a with SMTP id f7-20020a170902ce8700b001ac40f78b5amr1253553plg.3.1686127837075; Wed, 07 Jun 2023 01:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686127837; cv=none; d=google.com; s=arc-20160816; b=OpJHWmrGpAEyDMXBGRP7hzYWQXOFTRHLRrMrrpru1esmGOOIyaCqJ3d/QP9HTz3FD/ zTmzwCU35OA3FD/RSw4cqHwQLuvRHuZfTty5uG032+QswyqjNR1eyg+v5czPixaasD93 jJYaVEfFEn5ghZCD+kvNddfSqIxwUsaCl1lsb1r692+MGR+z8K0sSPuUHhrGK7xCuyya qfC/9j6WLkLHOt3EyPXuMX86/P96bfLuTmy0vB+8fYurc7abXIfjAAZ10l9OVeIbl3zs YdxdxvukmSnTejn1iuteT/i6QMTS1X4CnHUORoadjabeg0ZR4i4oK0J8tojDkObbcj9L q1Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=wHTyJZFOwbCZV8KKwRebRSjK/rZCPgPihpG/wbUOLLI=; b=PBEG0dCbFNXFykd2TB94/1S8/LmIcSPKLBSam+HnydRBBcq/g38suzc+FcCfvTvSzD IBf04vp9pW6HBDqwek1KcQPy1EV0wpNXCuQewKZbrbRkRsRwMQ7Mg8Oblo7ZyQTyFEfa 7qo8jLHl/MpGRbhifDHr1p44mTwo/0nIjeKHIUXrOZP3Pzx4LbjjYD2yJDV8MZL8GFnY v3XqXt6PcTz2O2fbkN2jYGy3w2JZaEUfU13SNYX+eh58deaG9409oE6oxueMxs/K7rNp 6j/RjbFfYZC8atG/M1b1amSLHOiNB3Z8QEmNDfHx3iMWreVXviG8VoAUhoSeEJrCVZb8 LYTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 w3-20020a170902e88300b001b1a2bf5275si8995958plg.74.2023.06.07.01.50.23; Wed, 07 Jun 2023 01:50:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238985AbjFGImA (ORCPT + 99 others); Wed, 7 Jun 2023 04:42:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239049AbjFGIl7 (ORCPT ); Wed, 7 Jun 2023 04:41:59 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CD681720; Wed, 7 Jun 2023 01:41:56 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1q6oja-00078Z-Ey; Wed, 07 Jun 2023 16:41:39 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Wed, 07 Jun 2023 16:41:38 +0800 Date: Wed, 7 Jun 2023 16:41:38 +0800 From: Herbert Xu To: David Howells Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , David Ahern , Matthew Wilcox , Jens Axboe , linux-crypto@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 08/10] crypto: af_alg: Support MSG_SPLICE_PAGES Message-ID: References: <20230606130856.1970660-1-dhowells@redhat.com> <20230606130856.1970660-9-dhowells@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230606130856.1970660-9-dhowells@redhat.com> X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Jun 06, 2023 at 02:08:54PM +0100, David Howells wrote: > Make AF_ALG sendmsg() support MSG_SPLICE_PAGES. This causes pages to be > spliced from the source iterator. > > This allows ->sendpage() to be replaced by something that can handle > multiple multipage folios in a single transaction. > > Signed-off-by: David Howells > cc: Herbert Xu > cc: "David S. Miller" > cc: Eric Dumazet > cc: Jakub Kicinski > cc: Paolo Abeni > cc: Jens Axboe > cc: Matthew Wilcox > cc: linux-crypto@vger.kernel.org > cc: netdev@vger.kernel.org > --- > > Notes: > ver #3) > - Remove BVEC iter restriction when using MSG_SPLICE_PAGES. > > crypto/af_alg.c | 24 ++++++++++++++++++++++-- > crypto/algif_aead.c | 22 +++++++++++----------- > crypto/algif_skcipher.c | 8 ++++---- > 3 files changed, 37 insertions(+), 17 deletions(-) Acked-by: Herbert Xu -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt