Received: by 10.223.185.116 with SMTP id b49csp4047584wrg; Tue, 13 Feb 2018 11:51:22 -0800 (PST) X-Google-Smtp-Source: AH8x226MTqxIv0kgp8+zqb4MHd1z2wWm6thF2N8oJuSaTO3aslLVv8xMCciwpYHoKzqsHwaiCNFX X-Received: by 10.99.67.130 with SMTP id q124mr1862718pga.281.1518551482372; Tue, 13 Feb 2018 11:51:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518551482; cv=none; d=google.com; s=arc-20160816; b=t9BBVUjznO8bx1Itt/ixDfLI/e+dRUQAiUFGWX0SFwLfwz8s7WvZ0x53zugrfNDQb4 hfHHYg0d44gS7k3mqtW0qkNXS5OPjhZHWFDdq/cfRSjj/fS+FtiXYZcbOyp3Ac6cenbH Hh1LJpEG0WvY3EDn+qyT5WbqsI9qYgyYuAKRFDB2w3hxza9m+uwRi0fsEn822K/eHGpd t3yRZPqP7gzBQDBl4hJHgAJw49ZEiRpd5rkxxsK34tweucRAbD9+BIN90FFVvDwM3aRY XXCh/7HGkxHhvD9ZqWgDWaXyjuLb6JeVu+91iZkGD5g6Nn7/leiO7DQQD9lv+FTNdcIA OdIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=3fhvol6G1Zo+btdRWpBfY9hwo5N9AYV8sD9apOwojCE=; b=mdYU0Q6bPEP02kQRA9mJuB0EGeV81/zKrlJKB7TifREemBWUKN7D9tpsooiOOgCNIs qqnTHwLr8wRMS7MY1h67FXsdfm1cqTmSHnt7Tujd1kGTCKpK1XP4j3TyjS+sGzrPdRXH lvO4whdht7VkQgUTHxbxV9Xy5so5SKw+6mO3m4ZkCJOoBbeafkzkVSNA20/pe7MSzU29 bz8Xp+uy0+tqEirsInIMox2OHmDjTYMxucuQXOBCbmRuT9VIeqMTJE0lctMGEAII/DaT fTcqmdAAHrEgLoPDd8S8WjR7xJ8o+Nk8WSryKa4ZE3WGhRQYJSwe0YKHxc3+JTZqm0yh HfDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=u0anHFqt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l4-v6si1622822pln.121.2018.02.13.11.51.07; Tue, 13 Feb 2018 11:51:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=u0anHFqt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965651AbeBMTt4 (ORCPT + 99 others); Tue, 13 Feb 2018 14:49:56 -0500 Received: from mail-pg0-f47.google.com ([74.125.83.47]:37879 "EHLO mail-pg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965551AbeBMTtx (ORCPT ); Tue, 13 Feb 2018 14:49:53 -0500 Received: by mail-pg0-f47.google.com with SMTP id o1so593106pgn.4 for ; Tue, 13 Feb 2018 11:49:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3fhvol6G1Zo+btdRWpBfY9hwo5N9AYV8sD9apOwojCE=; b=u0anHFqtetnvjtOGXk2+o0zYeNtO0T5hjWriOMIOyPRgUK0CM/cJd2bitxi2suu3YV zYLM0I8TSyWD5noXEhyphC+XU7f2LgrpNZRVeiLn8ttB2K7WyEyZ3gcTDWDf+KFlvwrM VkYY2Q0eoZGbDBXjfvLyJgF7akbBd7kU+7WZa+1hQFExCIVGdy5BBViMYSLxg4sptGjw bgkJ6kkv+6I6i1qB0dufAYK9GmHlRDZjhaAbWB1qm01asPSgdyLbX6O5ePWe0A2g7RSm Y9/0HwXRq7veAAGB6m7B6v+wGEHpJ8e1RDMaUgQUvKS2ux5myWHMovkVDIM41Pxd3IKK fAdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=3fhvol6G1Zo+btdRWpBfY9hwo5N9AYV8sD9apOwojCE=; b=eUquBNFYVShpUX6xzw0Ika9zyX6FE9e7dRLwdKShc0qMK7N11d9dzT/wH0S3xn0MBY jJ5FaP7A+wyNJv4s92fTIhrTWFFkvz7LfXYjRcwcphnzHO5IGgmUmBRv96jaOC2Lo6qv P88fZQmdEpA/wqL3iwQS+QCwmU+TV/5l/HSuBaEOW7/hq/QspYKNMUivG8T2u6afkqaP KxclQiT7TlHyQz1FObIcqax8FqMp1SZI7No2xXJpzFF1jt+sJeePMcrpPHG2QyV3v4x/ upt3gaz5SGQvvjqi5y8wNN18M1aMs7/B7GvFK80rJwAU54uIufQmFMPd71tSe8Cn1lmx o4Og== X-Gm-Message-State: APf1xPBsMYz5JAmT0tCOc7tDqhhvUEEj5xGCE66uDsYlGrCECuEUy6uU a9ENqjg/kymxcHy839wVdMzUSoU74TOXig== X-Received: by 10.101.66.6 with SMTP id c6mr1884285pgq.213.1518551392226; Tue, 13 Feb 2018 11:49:52 -0800 (PST) Received: from js-desktop.svl.corp.google.com ([2620:15c:2cb:1:cdad:b4d5:21d1:e91e]) by smtp.gmail.com with ESMTPSA id 65sm16083026pgh.0.2018.02.13.11.49.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 11:49:51 -0800 (PST) Subject: Re: [PATCH 14/14] x86/crypto: aesni: Update aesni-intel_glue to use scatter/gather To: Dave Watson Cc: Herbert Xu , Steffen Klassert , linux-crypto@vger.kernel.org, "David S. Miller" , Hannes Frederic Sowa , Tim Chen , Sabrina Dubroca , linux-kernel@vger.kernel.org, Stephan Mueller , Ilya Lesokhin References: <20180212195128.GA61087@davejwatson-mba.local> <20180213182203.GA2122@davejwatson-mba.local> From: Junaid Shahid Organization: Google Message-ID: <188ad18b-adb1-714c-0327-acfca77a145b@google.com> Date: Tue, 13 Feb 2018 11:49:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180213182203.GA2122@davejwatson-mba.local> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Resending after delivery failure] Hi Dave, On 02/13/2018 10:22 AM, Dave Watson wrote: > > Yes, these both sound reasonable. I will send a V2. > > Thanks! Another minor suggestion for v2: It might be a good idea to check if the first assoclen bytes are already contiguous and only do the kmalloc if that isn't the case. Thanks, Junaid