Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1158340

Re: [PATCH] crypto: fix nx-842 pSeries driver minimum buffer size

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH] crypto: fix nx-842 pSeries driver minimum buffer size
Date 2015-06-04 10:20 +0200
Message-ID <pxyxA-3iT-7@gated-at.bofh.it> (permalink)
References <px02S-2mG-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 02, 2015 at 03:22:10PM -0400, Dan Streetman wrote:
> Reduce the nx-842 pSeries driver minimum buffer size from 128 to 8.
> Also replace the single use of IO_BUFFER_ALIGN macro with the standard
> and correct DDE_BUFFER_ALIGN.
> 
> The hw sometimes rejects buffers that contain padding past the end of the
> 8-byte aligned section where it sees the "end" marker.  With the minimum
> buffer size set too high, some highly compressed buffers were being padded
> and the hw was incorrectly rejecting them; this sets the minimum correctly
> so there will be no incorrect padding.
> 
> Signed-off-by: Dan Streetman <ddstreet@ieee.org>

Applied.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] crypto: fix nx-842 pSeries driver minimum buffer size Herbert Xu <herbert@gondor.apana.org.au> - 2015-06-04 10:20 +0200

csiph-web