From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 06/13] async_tx: add support for asynchronous GF multiplication Date: Sat, 21 Mar 2009 12:16:16 -0700 Message-ID: <49C53D00.9060008@zytor.com> 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> <49C4BF15.5050502@emcraft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49C4BF15.5050502@emcraft.com> Sender: linux-raid-owner@vger.kernel.org To: Ilya Yanok Cc: "H. Peter Anvin" , "Williams, Dan J" , "linux-raid@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "neilb@suse.de" , "Sosnowski, Maciej" , Yuri Tikhonov List-Id: linux-raid.ids Ilya Yanok wrote: >>> >> 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. > Perhaps the interface is just too confusing (in which case it needs to at least be better documented), but at least the synchronous simulation code looked like it was doing a vector-vector multiply. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.