Re: [PATCH] short benchmarks

2008-11-19 Thread Andreas Gerlich
Hello, here some short benchmarks with the new HIFN 795x driver: - Hardware which I use: net5501-70 with vpn1401 (PCI-Card) (Users with vpn1411 mini-pci-card, please report it if the driver work

[PATCH] Fix DMA setup.

2008-11-19 Thread Evgeniy Polyakov
From: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> --- drivers/crypto/hifn_795x.c | 165 +-- 1 files changed, 81 insertions(+), 84 deletions(-) diff --git a/driv

[PATCH] Have HW invalidate src and dest descriptors after processing

2008-11-19 Thread Evgeniy Polyakov
From: Patrick McHardy <[EMAIL PROTECTED]> The descriptors need to be invalidated after processing for ring cleanup to work properly and to avoid using an old destination descriptor when the src and cmd descriptors are already set up and the dst descriptor isn't. Signed-off-by: Patrick McHardy <[E

[PATCH] Fix queue management.

2008-11-19 Thread Evgeniy Polyakov
Fix queue management. Change ring size and perform its check not one after another descriptor, but using stored pointers to the last checked descriptors. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> --- drivers/crypto/hifn_795x.c | 174 --- 1 files

[PATCH] Fix request context corruption.

2008-11-19 Thread Evgeniy Polyakov
From: Patrick McHardy <[EMAIL PROTECTED]> HIFN uses the transform context to store per-request data, which breaks when more than one request is outstanding. Move per request members from struct hifn_context to a new struct hifn_request_context and convert the code to use this. Signed-off-by: Patr

[PATCH] Don't copy src sg list.

2008-11-19 Thread Evgeniy Polyakov
From: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> --- drivers/crypto/hifn_795x.c | 75 +++ 1 files changed, 33 insertions(+), 42 deletions(-) diff --git a/driv

[PATCH] Move command descriptor setup to seperate function as preparation

2008-11-19 Thread Evgeniy Polyakov
From: Patrick McHardy <[EMAIL PROTECTED]> Note 1: also fix a harmless typo while moving it: sa_idx is initialized to dma->resi instead of dma->cmdi. Note 2: errors from command descriptor setup are not propagated back, anymore, they can't be handled anyway and all conditions leadi

[HIFN] Bugfix series.

2008-11-19 Thread Evgeniy Polyakov
This series contains HIFN driver fixes based on Patrick McHardy's work and additional queue management fix. This set also bumps HIFN performance almost two times compared to old code. Please apply. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message

[PATCH] Fix queue processing.

2008-11-19 Thread Evgeniy Polyakov
From: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> --- drivers/crypto/hifn_795x.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/crypto/hifn_795x.c b/drivers/cry

[PATCH] Remove some unused cruft.

2008-11-19 Thread Evgeniy Polyakov
From: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> --- drivers/crypto/hifn_795x.c | 32 +--- 1 files changed, 1 insertions(+), 31 deletions(-) diff --git a/drivers/crypto/h