Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753890AbZCUKTZ (ORCPT ); Sat, 21 Mar 2009 06:19:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754192AbZCUKTN (ORCPT ); Sat, 21 Mar 2009 06:19:13 -0400 Received: from ocean.emcraft.com ([213.221.7.182]:37282 "EHLO ocean.emcraft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753731AbZCUKTM (ORCPT ); Sat, 21 Mar 2009 06:19:12 -0400 Message-ID: <49C4BF15.5050502@emcraft.com> Date: Sat, 21 Mar 2009 13:19:01 +0300 From: Ilya Yanok User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: "H. Peter Anvin" CC: "H. Peter Anvin" , "Williams, Dan J" , "linux-raid@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "neilb@suse.de" , "Sosnowski, Maciej" , Yuri Tikhonov Subject: Re: [PATCH 06/13] async_tx: add support for asynchronous GF multiplication References: <20090318191248.20375.40560.stgit@dwillia2-linux.ch.intel.com> <20090318192046.20375.89854.stgit@dwillia2-linux.ch.intel.com> <49C26D91.10804@intel.com> <49C41C1E.4060401@zytor.com> <49C4201A.5060905@emcraft.com> <49C425F5.8060309@intel.com> <49C42F99.5010700@emcraft.com> <49C45159.8020503@zytor.com> In-Reply-To: <49C45159.8020503@zytor.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 915 Lines: 27 Hi H. Peter, H. Peter Anvin wrote: > Ilya Yanok wrote: > >> async_gen_syndrome() takes element of GF^n(256) and returns result of >> scalar multiplication of it with constant ({01}, {02}, {02}^2, ..., >> {02}^n) vector. >> > > For any n (which would mean any GF field)? In that case, that is > generic scalar-vector multiplication... > Ok. I think I got it. Vectors are things that depend on position inside buffer and scalars are things that don't, am I right? In that sense we don't have any vector-vector multiplication. Both async_gen_syndrome() and async_pq() use constant coefficients. So I don't really understand the problem here. Regards, Ilya. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/