Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3985779pxb; Sat, 5 Feb 2022 00:18:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxxvz5sF2stVSM3phDuke7Y2MU9WMY41vtd2y0DzSaQUXJtQGiwqC2tR5QlvcWlj3V3trxS X-Received: by 2002:aa7:cfcd:: with SMTP id r13mr1984625edy.55.1644049120462; Sat, 05 Feb 2022 00:18:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644049120; cv=none; d=google.com; s=arc-20160816; b=jzsLiTljz2f8pynaTCVNen+axPVM7BS6Aq2IVmVkxEK66UOz0r7EzYKEMnwmBj6ULt KpArrsK6c1pANbWkHJ9v6UwDxgmhFLOrtb4N6hW4mNIq4WDgSlG2+Cx9/LEQ6FTNOIce 1BGvuh++hYlbJL8+hV1kUXnn582TMlRENR237vL3E8ZcG07irAzrL4l5IRgC2FhRzeoj ZeB5py0+zBUgwDi8XIqUr+6YUseclh7yxl6xyBRJQsuYWrvXbimTe+WPnR60B06BI7gu kGCFH7LE7IWZgYDUxUPw4USyRinDGfhn8N0JY298LaWJQzlH346XFiJ1OfJ4fblUpjlp 8Cgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=Bcp04e1xn7q0Nbal9eCkQGo3QVCsVp3wNyotn26SUZc=; b=Km1TrR19ot+TmJAfXW5Ha/WRv6BqJsJ/BGDTZHNvaCwspDr4SNzz4BdSkAl8Lb8COB aZ43Z2qpL/OGaIOPo3MQBw5dvw1I7ajkAekRc/+Qh6wQXKs+eo/XoB11VApX3fGGdP0s BPQUA9TdovhwJDZw/VSa14HS+++ghxrQ2I8WmhQeW3BWM3F9HMcIlMnNnmOiAWyYzEZw qaPjVyHPd5wo5IKNhifb7SxcCP31CPbz78R7Y7HCTbPsmL33EPGFF7ydxGQch5mgZmlg Qd1NAOJfd9C/rur4G9vsJMYRYewF3BPNSE1t/5d+nDoqTCMYNXKnPKv6K5381iyP83fU xnwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=LZs0ZRhv; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=r9xPJKaq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf25si3032768ejc.550.2022.02.05.00.18.15; Sat, 05 Feb 2022 00:18:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=LZs0ZRhv; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=r9xPJKaq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242867AbiBBNOZ (ORCPT + 99 others); Wed, 2 Feb 2022 08:14:25 -0500 Received: from smtp-out1.suse.de ([195.135.220.28]:57702 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230220AbiBBNOX (ORCPT ); Wed, 2 Feb 2022 08:14:23 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id BE3032113D; Wed, 2 Feb 2022 13:14:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643807662; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Bcp04e1xn7q0Nbal9eCkQGo3QVCsVp3wNyotn26SUZc=; b=LZs0ZRhvdcYR4fHgsCej3MaQSN3G4oIpS/kCbCgOmUTVhOlkBQQhuDRxMjPwUMsMrI3SaT E6g7iLhxHav8I7ggM5n+2vqmangAHogtTcA2Orv4zkgue4a4HwosZZrYNwbvylYiromKcf p0+RbuqnABB705j7wYl/55XGBj4RebE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643807662; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Bcp04e1xn7q0Nbal9eCkQGo3QVCsVp3wNyotn26SUZc=; b=r9xPJKaqrE/bIIJMhdvUrixtqOxNNTZ1cWRhDYeQhs7tG4PzA68uodopZ7ROBkL6z5kp+c S2gBwkyJ2d9Ct6Cw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B0E5313E48; Wed, 2 Feb 2022 13:14:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id InP9Kq6D+mFFQAAAMHmgww (envelope-from ); Wed, 02 Feb 2022 13:14:22 +0000 Message-ID: Date: Wed, 2 Feb 2022 14:14:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCHv2 4/7] lib: add crc64 tests Content-Language: en-US To: Keith Busch , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Cc: axboe@kernel.dk, hch@lst.de, martin.petersen@oracle.com, colyli@suse.de References: <20220201190128.3075065-1-kbusch@kernel.org> <20220201190128.3075065-5-kbusch@kernel.org> From: Hannes Reinecke In-Reply-To: <20220201190128.3075065-5-kbusch@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/1/22 20:01, Keith Busch wrote: > Provide a module to test the rocksoft crc64 calculations with well known > inputs and exepected values. > > Signed-off-by: Keith Busch > --- > v1->v2: > > Fixed Kconfig dependency > > lib/Kconfig.debug | 4 +++ > lib/Makefile | 1 + > lib/test_crc64.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 73 insertions(+) > create mode 100644 lib/test_crc64.c > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer