dpdk pmd's require to minatain min, max, inc fields for all
crypto capabilitites. By making iv_len to feature like dpdk pmd's
it is easier to create cipher entires in odp based on key_len.
Signed-off-by: Balakrishna Garapati
---
since v1: fixed comments from v1,
- u
dpdk pmd's require to minatain min, max, inc fields for all
crypto capabilitites. By making iv_len to feature like dpdk pmd's
it is easier to create cipher entires in odp based on key_len.
Signed-off-by: Balakrishna Garapati
---
since v1: fixed comments from v1,
- u
dpdk pmd's require to minatain min, max, inc fields for all
crypto capabilitites. By making iv_len to feature like dpdk pmd's
it is easier to create cipher entires in odp based on key_len.
Signed-off-by: Balakrishna Garapati
---
since v1: fixed comments from v1,
- u
This change is needed to support dpdk crypto pmd's
Signed-off-by: Balakrishna Garapati
---
include/odp/api/spec/crypto.h | 12 +++-
platform/linux-generic/odp_crypto.c| 8 +--
.../validation/api/crypto/odp_crypto_test_inp.c| 76 +---
makes it easy to define odp_errno to dpdk rteerrno and fixes
linking issues.
Signed-off-by: Balakrishna Garapati
---
since v1: Fixed the extra blank line
platform/linux-generic/Makefile.am| 1 +
platform/linux-generic/include/odp_errno_define.h | 26
makes it easy to define odp_errno to dpdk rteerrno and fixes
linking issues.
Signed-off-by: Balakrishna Garapati
---
platform/linux-generic/Makefile.am| 1 +
platform/linux-generic/include/odp_errno_define.h | 27 +++
platform/linux-generic/include
Signed-off-by: Balakrishna Garapati
---
test/common_plat/validation/api/packet/packet.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/common_plat/validation/api/packet/packet.c
b/test/common_plat/validation/api/packet/packet.c
index 669122a..2ffd924 100644
--- a/test/common_plat
"bench_packet_tailroom" test fails on odp-dpdk with the pkt size 2048
leaving no space for tailroom.
Signed-off-by: Balakrishna Garapati
---
test/common_plat/performance/odp_bench_packet.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/common_plat/p
This will resolve the test in ci when using cgroups.
odp_hello app fails to set cpu affinity to zero all ways
when cgroup doesn't include that cpu in the set.
Fixes: https://bugs.linaro.org/show_bug.cgi?id=2806
Signed-off-by: Balakrishna Garapati
---
since v2: Added link to bug
ex
This will resolve the test in ci when using cgroups.
odp_hello app fails to set cpu affinity to zero all ways
when cgroup doesn't include that cpu in the set.
Signed-off-by: Balakrishna Garapati
---
example/hello/odp_hello.c | 19 ---
1 file changed, 16 insertions(
This will resolve the test in ci when using cgroups
Signed-off-by: Balakrishna Garapati
---
example/hello/odp_hello.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/example/hello/odp_hello.c b/example/hello/odp_hello.c
index 6d114ee..59a31b2 100644
--- a
With this new proposal cpu affinity is read correctly especially
when using cgroups otherwise wrong cpu mask is set.
Fixes bug: https://bugs.linaro.org/show_bug.cgi?id=2472
Signed-off-by: Balakrishna Garapati
---
since v3: Renaming function call
platform/linux-generic/odp_cpumask.c | 73
With this new proposal cpu affinity is read correctly especially
when using cgroups otherwise wrong cpu mask is set.
Fixes bug: https://bugs.linaro.org/show_bug.cgi?id=2472
Signed-off-by: Balakrishna Garapati
---
v1 to v2: added Description of the issue to the patch commit log.
v2 to v3
With this new proposal cpu affinity is read correctly especially
when using cgroups otherwise wrong cpu mask is set.
Fixes bug: https://bugs.linaro.org/show_bug.cgi?id=2472
Signed-off-by: Balakrishna Garapati
---
platform/linux-generic/odp_cpumask.c | 69 +---
1
Fixes bug: https://bugs.linaro.org/show_bug.cgi?id=2472
Signed-off-by: Balakrishna Garapati
---
With this new proposal cpu affinity is read correctly especialy
when using cgroups otherwise wrong cpu mask is set.
platform/linux-generic/odp_cpumask.c | 69
Add missing capability check on crypto auth algos
Signed-off-by: Balakrishna Garapati
---
test/common_plat/validation/api/crypto/odp_crypto_test_inp.c | 12
1 file changed, 12 insertions(+)
diff --git a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c
b/test
Signed-off-by: Balakrishna Garapati
---
platform/linux-generic/include/odp_crypto_internal.h | 2 +-
platform/linux-generic/odp_crypto.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/platform/linux-generic/include/odp_crypto_internal.h
b/platform/linux
Signed-off-by: Balakrishna Garapati
---
include/odp/api/spec/crypto.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h
index 0cb8814..1ce547b 100644
--- a/include/odp/api/spec/crypto.h
+++ b/include/odp/api/spec/crypto.h
currently the hamc-md5 is only supported with 96 bit key size
but 512 bit key size is needed to support dpdk crypto devices
Note: The same patch series was sent before but from
master
Balakrishna Garapati (2):
api: crypto: Adding crypto authentication algorithm
linux-generic: Support for md5
Signed-off-by: Balakrishna Garapati
---
platform/linux-generic/include/odp_crypto_internal.h | 2 +-
platform/linux-generic/odp_crypto.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/platform/linux-generic/include/odp_crypto_internal.h
b/platform/linux
Signed-off-by: Balakrishna Garapati
---
include/odp/api/spec/crypto.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h
index dea1fe9..bfa71cf 100644
--- a/include/odp/api/spec/crypto.h
+++ b/include/odp/api/spec/crypto.h
currently the hamc-md5 is only supported with 92 bit key size
but 512 bit key size is needed to support dpdk crypto devices
Balakrishna Garapati (2):
api: crypto: Adding crypto authentication algorithm
linux-generic: Support for md5 512 bit key size
include/odp/api/spec/crypto.h
test update to verify the crypto capability functionality
Signed-off-by: Balakrishna Garapati
---
v2: Added the suport to verify if hw offload is supported
v3: Move capability initialization to linux-generic (Bill)
test/validation/crypto/odp_crypto_test_inp.c | 46
Get the available cipher and authentication algorithms
in the odp sw implementation.
Signed-off-by: Balakrishna Garapati
---
v3: capability initialization (Bill)
include/odp/api/spec/crypto.h | 8
platform/linux-generic/odp_crypto.c | 24
2 files
This patch series implements linux-generic crypto capability querying
and implements corresponding tests
Balakrishna Garapati (2):
linux-generic: crypto: capability support
validation: crypto: verify odp crypto capability
include/odp/api/spec/crypto.h| 8 ++---
platform
test update to verify the crypto capability functionality
Signed-off-by: Balakrishna Garapati
---
v2: Added the suport to verify if hw offload is supported
test/validation/crypto/odp_crypto_test_inp.c | 49
1 file changed, 49 insertions(+)
diff --git a/test
Get the available cipher and authentication algorithms
in the odp sw implementation.
Signed-off-by: Balakrishna Garapati
---
include/odp/api/spec/crypto.h | 8
platform/linux-generic/odp_crypto.c | 25 +
2 files changed, 29 insertions(+), 4 deletions
This patch series implements linux-generic crypto capability querying
and implements corresponding tests
Balakrishna Garapati (2):
linux-generic: crypto: capability support
validation: crypto: verify odp crypto capability
include/odp/api/spec/crypto.h| 8 ++---
platform
This patch series implements linux-generic crypto capability querying
and implements corresponding tests
Balakrishna Garapati (2):
linux-generic: crypto: capability support
validation: crypto: verify odp crypto capability
include/odp/api/spec/crypto.h| 8
platform
Get the available cipher and authentication algorithms
in the odp sw implementation.
Signed-off-by: Balakrishna Garapati
---
include/odp/api/spec/crypto.h | 8
platform/linux-generic/odp_crypto.c | 25 +
2 files changed, 29 insertions(+), 4 deletions
test update to verify the crypto capability functionality
Signed-off-by: Balakrishna Garapati
---
test/validation/crypto/odp_crypto_test_inp.c | 28
1 file changed, 28 insertions(+)
diff --git a/test/validation/crypto/odp_crypto_test_inp.c
b/test/validation/crypto
test update to verify the crypto capability fucntionality
Signed-off-by: Balakrishna Garapati
---
test/validation/crypto/odp_crypto_test_inp.c | 28
1 file changed, 28 insertions(+)
diff --git a/test/validation/crypto/odp_crypto_test_inp.c
b/test/validation/crypto
Get the available cipher and authentication algorithms
in the odp sw implementation.
Signed-off-by: Balakrishna Garapati
---
include/odp/api/spec/crypto.h | 8
platform/linux-generic/odp_crypto.c | 25 +
2 files changed, 29 insertions(+), 4 deletions
This RFC provides the support for the applicationis to inquire the given
cipher, authentication algorithms
Signed-off-by: Balakrishna Garapati
---
include/odp/api/spec/crypto.h | 30 ++
1 file changed, 30 insertions(+)
diff --git a/include/odp/api/spec/crypto.h b
Resolving https://bugs.linaro.org/show_bug.cgi?id=2135 by return
over packet allocation failure.
Signed-off-by: Balakrishna Garapati
---
test/performance/odp_crypto.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c
index fe1c7b4
Resolving https://bugs.linaro.org/show_bug.cgi?id=2136 by initializing
definite number of worker threads.
Signed-off-by: Balakrishna Garapati
---
v1: Fix for the https://bugs.linaro.org/show_bug.cgi?id=2136
v2: comments from v1
v3: Adding commit message
test/performance/odp_crypto.c | 10
Signed-off-by: Balakrishna Garapati
---
v1: Fix for the https://bugs.linaro.org/show_bug.cgi?id=2136
v2: comments from v1
test/performance/odp_crypto.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c
Resolving https://bugs.linaro.org/show_bug.cgi?id=2136 by initializing
definite number of worker threads.
Signed-off-by: Balakrishna Garapati
---
test/performance/odp_crypto.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/test/performance/odp_crypto.c b/test
Signed-off-by: Balakrishna Garapati
---
v1:Fixes missing break between switch(opt)
https://bugs.linaro.org/show_bug.cgi?id=2137
test/performance/odp_crypto.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c
index 5fd339d
Signed-off-by: Balakrishna Garapati
---
v1:fix for valgrind erros from crypto test
https://bugs.linaro.org/show_bug.cgi?id=2141
test/performance/odp_crypto.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c
index 5fd339d
40 matches
Mail list logo