Received: by 10.223.176.5 with SMTP id f5csp1116193wra; Wed, 31 Jan 2018 01:22:44 -0800 (PST) X-Google-Smtp-Source: AH8x224JOn8bupNCtSoQrpJh4eQj4fJfQW7s7hOxN31FWum5DZp3+hoTcGddylMRqt23BHdeL6Xk X-Received: by 2002:a17:902:b413:: with SMTP id x19-v6mr5311955plr.420.1517390564857; Wed, 31 Jan 2018 01:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517390564; cv=none; d=google.com; s=arc-20160816; b=omFPQ9/MF4nPHiqyi/brtU7Wj9b9LSq2TxsFGqOAFnDx1uf3QRz6GSkaQc56YJgd+f rabxJ8p85XfD85WYa2h0Zact4d/lRq2cCyciJol3rRIULpuiOfGn5bqy/jLLTug8xJhj CCbrj4cyhK6ZwHsSqmkLIMxHUov191V7rWcF9pPn1vK9X85EoMIlY9SuCIPtCKBoVKxK D/i2QBZSnfSXY7tC0NsRps2g9j3VQRhlDuUTuaWM06bJwFdgz+dw+WGBtq5LoKGDMBEK 2yQyqvdzRcK3UcwFSofcWESVufomM7J61KBQDa+13bPH9v5pGZcdXd9a+OPvi+YgVJlN FNjg== 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=b9rdtBm85wNKvWHN+8f8aM3EB/UL1uas+ogdFhUB9a0=; b=e2v6Dy26Ufs3+rFRfpVmrGH9GH1Nr6NQ/dkAomj0aP9c+CrubM1hD86qObq7Uht/rU 3pY99ahK6n47ZXgSFLim8fV6PgCkoMAYO5rpFcZcVLhRqjsGWKuheFoture7LjiRk0st hpdeVLRuNxWQLtFn7VLPXQXrgK0RjOPs5lID+okLnSIGN2/QL0gIqVG89HrCrMQhNiij femBWAOaTOwGe7Guw/Eq+xteLgdjgja21QNnBBp2X8dCLz/b57MIcx+/f5Wnnbk4Okbb HFRJSCzhcZJm/2ARttHRlBT+Z5DeLqz7yHjDcfkywG3y8XG9XplV26KhZfAvZ7IPWSYG R7qw== 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 3-v6si13873169ple.769.2018.01.31.01.22.29; Wed, 31 Jan 2018 01:22:44 -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 S1752742AbeAaIdl (ORCPT + 99 others); Wed, 31 Jan 2018 03:33:41 -0500 Received: from a.mx.secunet.com ([62.96.220.36]:58668 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752366AbeAaIdj (ORCPT ); Wed, 31 Jan 2018 03:33:39 -0500 Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 972CC201C3; Wed, 31 Jan 2018 09:33:38 +0100 (CET) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4F9kQ9Sbemkm; Wed, 31 Jan 2018 09:33:38 +0100 (CET) Received: from mail-essen-01.secunet.de (mail-essen-01.secunet.de [10.53.40.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id 1F300201C2; Wed, 31 Jan 2018 09:33:38 +0100 (CET) Received: from gauss2.secunet.de (10.182.7.193) by mail-essen-01.secunet.de (10.53.40.204) with Microsoft SMTP Server id 14.3.361.1; Wed, 31 Jan 2018 09:32:35 +0100 Received: by gauss2.secunet.de (Postfix, from userid 1000) id AF99931825DF; Wed, 31 Jan 2018 09:33:37 +0100 (CET) Date: Wed, 31 Jan 2018 09:33:37 +0100 From: Steffen Klassert To: Herbert Xu CC: LABBE Corentin , , , , , Subject: Re: [PATCH 1/2] crypto: Implement a generic crypto statistics Message-ID: <20180131083337.rvshu72x5xhh22ef@gauss3.secunet.de> 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> <20180126154328.GA4002@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180126154328.GA4002@gondor.apana.org.au> User-Agent: NeoMutt/20170609 (1.8.3) X-G-Data-MailSecurity-for-Exchange-State: 0 X-G-Data-MailSecurity-for-Exchange-Error: 0 X-G-Data-MailSecurity-for-Exchange-Sender: 23 X-G-Data-MailSecurity-for-Exchange-Server: d65e63f7-5c15-413f-8f63-c0d707471c93 X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-G-Data-MailSecurity-for-Exchange-Guid: 20C46AF6-745C-48E2-A5D6-4862710491AE Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 26, 2018 at 11:43:28PM +0800, Herbert Xu wrote: > 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. I still haven't had time to look into the details, but I'm fine with everything that does not break existing userspace. Everything else would be a 'no go'.