Received: by 10.223.176.46 with SMTP id f43csp891896wra; Fri, 26 Jan 2018 08:30:09 -0800 (PST) X-Google-Smtp-Source: AH8x226ZClkBQEf9hLGZ/gNUeWoLCw2uIxSWjsZT1BodSvuHg5SVa0hV7Fpf2p1hU/nJlEUz+8K3 X-Received: by 10.98.11.218 with SMTP id 87mr19108534pfl.99.1516984208964; Fri, 26 Jan 2018 08:30:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516984208; cv=none; d=google.com; s=arc-20160816; b=PxVpM/JeMqAnsraYImhN4lF63IzTn3y5UkPj7R7ZuolrDNNv8+7UNGvXGK5v5coCWz nHbi66StBwln5ZRLzeQaqzKbdHkfll57tBXaxf267WChfibWa3umjcjnyB2bs5GKh02x S0d7ajrIWIlTfuost7gq03x9fav9CIw+PHYQ7BbpAS/T1IR6KVWiIXbmesA3bgqQkaNA MF/vqpgo0jXjq9mzG8xNoUxXzCw/zMoyVWImOL9dk7Yj5JU1iXpx2oz2S8S8JUICtYFP 2EspuiQ775JZC/DQWmgcEvE2xUl6tpQ2c1o44t5YBHFLBEL/viH+JumpjkpMMcVwpBxz 3d0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=qAZZ8IdXV4LaXlzxPzArlgqVgDILIBncQx5hMJDhmu8=; b=kNagEkY2JeAF6DYvHzzOSnyW+rjIs0UTBfMl/jm+p/rkEDjX7UykKTKMk/b4pNRywx YU9i6I0SJfQT26wG0MVHAOvozoHGPeYEXpeSNt+B6TVWXytIOtBU4sNhqg9jRU87Gtzi HEoNTC/J1cZUvmH8vN7Dui0nMKGp4pkOW4xof/gMDnwryPJxbPQgP0J57CodE/lfhxCC C4+76gsd26KnYD3Un6aWtzCRNL7KvruqA1+zjy5LVfQg+uoZhY9NoWJiAvXirTMhpbYH Sgqg9OUW+LeqfCNSd36YT6Vxyg59vH+ueu+S6UkcjQ2KHdqR5wjykGgqYZN7i8JaMrBW kASQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x4-v6si3827994plw.150.2018.01.26.08.29.54; Fri, 26 Jan 2018 08:30:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752206AbeAZQ2l (ORCPT + 99 others); Fri, 26 Jan 2018 11:28:41 -0500 Received: from orcrist.hmeau.com ([104.223.48.154]:39622 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751876AbeAZQ23 (ORCPT ); Fri, 26 Jan 2018 11:28:29 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.84_2 #2 (Debian)) id 1ef6AH-00011z-0p; Fri, 26 Jan 2018 23:43:41 +0800 Received: from herbert by gondobar with local (Exim 4.84_2) (envelope-from ) id 1ef6A4-00015s-To; Fri, 26 Jan 2018 23:43:28 +0800 Date: Fri, 26 Jan 2018 23:43:28 +0800 From: Herbert Xu To: LABBE Corentin Cc: davem@davemloft.net, nhorman@tuxdriver.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, smueller@chronox.de, Steffen Klassert Subject: Re: [PATCH 1/2] crypto: Implement a generic crypto statistics Message-ID: <20180126154328.GA4002@gondor.apana.org.au> References: <1515700617-3513-1-git-send-email-clabbe@baylibre.com> <3297958.ndliyBY1jk@tauon.chronox.de> <20180112090730.GA15630@Red> <16302559.hxlYq3rOsN@tauon.chronox.de> <20180118085813.GA1988@Red> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180118085813.GA1988@Red> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 09:58:13AM +0100, LABBE Corentin wrote: > > I have two way of adding a new netlink request > - keep the current patch and simply add a new CRYPTO_MSG_GETSTAT which use the same function than CRYPTO_MSG_GETALG > => minimal changes, in fact CRYPTO_MSG_GETSTAT and CRYPTO_MSG_GETALG would be the same, but it is easy for userspace to test presence of stat. > - Create a new CRYPTO_MSG_GETSTAT which imply lot of code and add a new crypto_user_stat.c > => this imply also to change makefile (rename crypto_user.c to crypto_user_base.c) since crypto_user.ko is made of two files. > > Which one do you prefer ? I think you should check with the crconf author, Steffen Klassert since that will be affected by this change. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt