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
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
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
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
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
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
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
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
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
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
10 matches
Mail list logo