bogdanPricope replied on github web page:
include/odp/api/spec/packet_io.h
line 25
@@ -884,14 +887,19 @@ int odp_pktin_recv(odp_pktin_queue_t queue, odp_packet_t
packets[], int num);
* @param numMaximum number of packets to receive
* @param wait Wait time specified as
Rebased PR 388 into a new branch due to heavy api-next history rewrite.
github
/** Email created from pull request 392 (psavol:next-user-ptr-init-rebase)
** https://github.com/Linaro/odp/pull/392
** Patch: https://github.com/Linaro/odp/pull/392.patch
** B
From: Petri Savolainen
Remove unnecessary union of user context u64/pointer. Rename
the field for better code readability.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 392 (psavol:next-user-ptr-init-rebase)
** https://github.com/Linaro/odp/pull/392
** Patch: https:/
From: Petri Savolainen
Test if user pointer is NULL after alloc and reset.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 392 (psavol:next-user-ptr-init-rebase)
** https://github.com/Linaro/odp/pull/392
** Patch: https://github.com/Linaro/odp/pull/392.patch
** Base s
From: Petri Savolainen
Require that implementation initializes the pointer value
to NULL. Application can use the pointer more robustly when
it can tell if the pointer has been set previously or not.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 392 (psavol:next-user-p
From: Petri Savolainen
This internal header file is included from API files and thus
Doxygen sees it. Use Doxygen tag @cond to hide implementation
internal definitions. Dummy Doxygen doxumentation is not needed
any more.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 39
From: Petri Savolainen
Use a flag to record if user pointer has been set. This
avoids resetting the pointer in every alloc.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 392 (psavol:next-user-ptr-init-rebase)
** https://github.com/Linaro/odp/pull/392
** Patch: https:
From: Petri Savolainen
Removed three unused error flags. Combined error and output
flags into a single uint32_t. This saves four bytes and init
of those bytes. There's still room for 12 flags in this word.
Later on, these and input flags could be also combined.
Moved the combined flag structure
From: Petri Savolainen
Added simple, single threaded enqueue/dequeue test for
lock-free queues.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 393
(psavol:next-lockfree-queue-impl-rebased)
** https://github.com/Linaro/odp/pull/393
** Patch: https://github.com/Linaro/
From: Petri Savolainen
Test plain queue enqueue and dequeue with multiple concurrent
threads. Test blocking and non-blocking lock-free
implementations.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 393
(psavol:next-lockfree-queue-impl-rebased)
** https://github.com/L
From: Petri Savolainen
Lock-free and wait-free implementations may differ a lot from
the default (blocking) implementation. Thus the maximum number
of queues and queue sizes may be more limited. Non-blocking enum
is not needed anymore as capability, since number of queues may
be zero for LF/WF wh
From: Petri Savolainen
Simple implementation of non-blocking, lock-free plain queues.
Enqueues are done freely to any free ring node with an
atomically increasing counter value. Dequeue operation finds
the node with lowest counter value. Implementation requires
lockfree 128 bit atomics. Lock-free
On 01/16/18 10:35, lin huang wrote:
> Hi guys,
>I get a problem when I try to use odp-ovs with odp-dpdk.
> I compiled the odp-dpdk and odp-ovs successfully. and then I want to try add
> a port to ovs bridge with the following command:
>
> ovs-vsctl add-port br0 odp:enp0s8 -- set Interface odp
Branch: refs/heads/devel/native-drivers
Home: https://github.com/Linaro/odp
Commit: d99b3beb5ba18f061b4baa2debd46d674e542403
https://github.com/Linaro/odp/commit/d99b3beb5ba18f061b4baa2debd46d674e542403
Author: Josep Puigdemont
Date: 2018-01-16 (Tue, 16 Jan 2018)
Changed pa
From: Josep Puigdemont
It's not enough to chech if a macro is defined to enable or disable a
pktio, we also need to check if it is set to 1 as per its description.
Signed-off-by: Josep Puigdemont
---
/** Email created from pull request 394 (joseppc:check-macro-value)
** https://github.com/Lina
It's not enough to chech if a macro is defined to enable or disable a
pktio, we also need to check if it is set to 1 as per its description.
Signed-off-by: Josep Puigdemont josep.puigdem...@linaro.org
github
/** Email created from pull request 394 (joseppc:c
Petri Savolainen(psavol) replied on github web page:
include/odp/api/spec/packet_io.h
line 25
@@ -884,14 +887,19 @@ int odp_pktin_recv(odp_pktin_queue_t queue, odp_packet_t
packets[], int num);
* @param numMaximum number of packets to receive
* @param wait Wait time sp
See below commands (adapt to your PCI IDs and driver):
${DPDK_PATH}/usertools/dpdk-devbind.py -s
${DPDK_PATH}/usertools/dpdk-devbind.py -u :01:00.0
${DPDK_PATH}usertools/dpdk-devbind.py -u :01:00.1
${DPDK_PATH}/usertools/dpdk-devbind.py --bind=igb_uio :01:00.0
${DPDK_PATH}/usertools/d
Branch: refs/heads/master
Home: https://github.com/Linaro/odp
Commit: 2237981c5e20dd4efb2e181ad59785e6f9f099bb
https://github.com/Linaro/odp/commit/2237981c5e20dd4efb2e181ad59785e6f9f099bb
Author: Dmitry Eremin-Solenikov
Date: 2018-01-16 (Tue, 16 Jan 2018)
Changed paths:
From: Petri Savolainen
Enable Linux helpers by default as e.g. OFP uses those. Build
and test helper code does not add significant overhead, but
catches potential issues early.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 395 (psavol:master-enable-helper-linux)
** ht
Enable Linux helpers by default as e.g. OFP uses those. Build
and test helper code does not add significant overhead, but
catches potential issues early.
Signed-off-by: Petri Savolainen petri.savolai...@linaro.org
github
/** Email created from pull request 3
From: Bogdan Pricope
Signed-off-by: Bogdan Pricope
---
/** Email created from pull request 381 (bogdanPricope:cat_benchmark_poc)
** https://github.com/Linaro/odp/pull/381
** Patch: https://github.com/Linaro/odp/pull/381.patch
** Base sha: 4d17f8ae64aba0e6f24877be30f86ae5880cef7e
** Merge com
ODP API instrumentation with PAPI (Performance API) library
(http://icl.cs.utk.edu/papi)
"instrum" example is using library preload, symbols overloading and PAPI to
obtain performance counters (like data cache miss or conditional branch count)
for execution of ODP API calls. Performance counters
From: Bogdan Pricope
Signed-off-by: Bogdan Pricope
---
/** Email created from pull request 381 (bogdanPricope:cat_benchmark_poc)
** https://github.com/Linaro/odp/pull/381
** Patch: https://github.com/Linaro/odp/pull/381.patch
** Base sha: 4d17f8ae64aba0e6f24877be30f86ae5880cef7e
** Merge com
From: Bogdan Pricope
Signed-off-by: Bogdan Pricope
---
/** Email created from pull request 381 (bogdanPricope:cat_benchmark_poc)
** https://github.com/Linaro/odp/pull/381
** Patch: https://github.com/Linaro/odp/pull/381.patch
** Base sha: 4d17f8ae64aba0e6f24877be30f86ae5880cef7e
** Merge com
From: Bogdan Pricope
Configure the set of papi counters to be acquired via an
environment variable.
Signed-off-by: Bogdan Pricope
---
/** Email created from pull request 381 (bogdanPricope:cat_benchmark_poc)
** https://github.com/Linaro/odp/pull/381
** Patch: https://github.com/Linaro/odp/pul
https://bugs.linaro.org/show_bug.cgi?id=3574
Bug ID: 3574
Summary: Use of ODP_ALIGNED()/ODP_ALIGNED_CACHE
Product: OpenDataPlane - linux- generic reference
Version: unspecified
Hardware: Other
OS: Linux
Status: UNCO
There was no references into chksum status functions in validation
test suite. Add minimal test to see at least that functions exist.
Parse function should be updated with a checksum implementation,
before actual checksum checking can be tested.
Signed-off-by: Petri Savolainen petri.savolai...@lina
From: Petri Savolainen
There was no references into chksum status functions in validation
test suite. Add minimal test to see at least that functions exist.
Parse function should be updated with a checksum implementation,
before actual checksum checking can be tested.
Signed-off-by: Petri Savola
From: Petri Savolainen
Enable Linux helpers by default as e.g. OFP uses those. Build
and test helper code does not add significant overhead, but
catches potential issues early.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 395 (psavol:master-enable-helper-linux)
** ht
Enable Linux helpers by default as e.g. OFP uses those. Build
and test helper code does not add significant overhead, but
catches potential issues early.
Signed-off-by: Petri Savolainen petri.savolai...@linaro.org
github
/** Email created from pull request 3
Distributions won't like statically-linked binaries. Provide configure switch
to link examples and tests dynamically.
github
/** Email created from pull request 390 (lumag:dynamic-link-tests)
** https://github.com/Linaro/odp/pull/390
** Patch: https://git
From: Dmitry Eremin-Solenikov
Distributions won't like statically-linked binaries. Provide configure
switch to link examples and tests dynamically.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 390 (lumag:dynamic-link-tests)
** https://github.com/Linaro/odp/pul
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 390 (lumag:dynamic-link-tests)
** https://github.com/Linaro/odp/pull/390
** Patch: https://github.com/Linaro/odp/pull/390.patch
** Base sha: 520c170d758f2d37554631bf1467ec50e027cd3e
*
Petri Savolainen(psavol) replied on github web page:
helper/m4/configure.m4
@@ -8,12 +8,11 @@ AC_ARG_ENABLE([test-helper],
AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ])
##
-# Enable/disable helper-ext
-# plat
Josep Puigdemont(joseppc) replied on github web page:
helper/m4/configure.m4
@@ -8,12 +8,11 @@ AC_ARG_ENABLE([test-helper],
AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ])
##
-# Enable/disable helper-ext
-# pla
Dmitry Eremin-Solenikov(lumag) replied on github web page:
helper/m4/configure.m4
line 14
@@ -8,14 +8,13 @@ AC_ARG_ENABLE([test-helper],
AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ])
##
-# Enable/disable help
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 19
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
-
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 26
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
-
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 41
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
-
Branch: refs/heads/api-next
Home: https://github.com/Linaro/odp
Commit: e8ec57b012fea43ae501adb66f5c8ee2f03d0a6c
https://github.com/Linaro/odp/commit/e8ec57b012fea43ae501adb66f5c8ee2f03d0a6c
Author: Petri Savolainen
Date: 2018-01-16 (Tue, 16 Jan 2018)
Changed paths:
M i
Hello,
Currently ODP API describes configurable checksum generation and
validation for internal packets during IPsec transformation. However it
does not have a set of capabilities, so each implementation will have to
do it in software, unless backed by actual hardware. A question arose
during toda
Distributions won't like statically-linked binaries. Provide configure switch
to link examples and tests dynamically.
github
/** Email created from pull request 390 (lumag:dynamic-link-tests)
** https://github.com/Linaro/odp/pull/390
** Patch: https://git
From: Dmitry Eremin-Solenikov
Distributions won't like statically-linked binaries. Provide configure
switch to link examples and tests dynamically.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 390 (lumag:dynamic-link-tests)
** https://github.com/Linaro/odp/pul
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 390 (lumag:dynamic-link-tests)
** https://github.com/Linaro/odp/pull/390
** Patch: https://github.com/Linaro/odp/pull/390.patch
** Base sha: 520c170d758f2d37554631bf1467ec50e027cd3e
*
Support TFC features:
TFC padding TX and RX via adding additonal data after packet payload
TFC packets RX via ODP_IPSEC_STATUS event. TX and RX SYNC is TBD.
github
/** Email created from pull request 329 (lumag:ipsec-tfc)
** https://github.com/Linaro/odp/p
From: Dmitry Eremin-Solenikov
It is possible to include TFC padding into ESP packets. Document usage
of such padding according to RFC.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 329 (lumag:ipsec-tfc)
** https://github.com/Linaro/odp/pull/329
** Patch: https
From: Dmitry Eremin-Solenikov
Some hardware truncates TFC padding from received packets. Application
can use this capability to determine if it should use
ESP_TFC_PADDING_NOT_SUPPORTED notification when negotiating SA.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull reque
From: Dmitry Eremin-Solenikov
Document usage of IPv4/IPv6 flags on inbound packets. Provide special
case for TFC dummy packets, which are marked by both flags being
cleared.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 329 (lumag:ipsec-tfc)
** https://github.c
muvarov replied on github web page:
helper/m4/configure.m4
line 14
@@ -8,14 +8,13 @@ AC_ARG_ENABLE([test-helper],
AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ])
##
-# Enable/disable helper-ext
-# platform spec
muvarov replied on github web page:
helper/m4/configure.m4
line 14
@@ -8,14 +8,13 @@ AC_ARG_ENABLE([test-helper],
AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ])
##
-# Enable/disable helper-ext
-# platform spec
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
include/odp/api/spec/packet_io.h
line 25
@@ -884,14 +887,19 @@ int odp_pktin_recv(odp_pktin_queue_t queue, odp_packet_t
packets[], int num);
* @param numMaximum number of packets to receive
* @param wait
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet.c
line 51
@@ -1259,7 +1260,15 @@ int odp_packet_input_index(odp_packet_t pkt)
void odp_packet_user_ptr_set(odp_packet_t pkt, const void *ptr)
{
- packet_hdr(pkt)->buf_hdr.user_ptr = ptr;
+
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp/api/plat/packet_types.h
line 6
@@ -67,101 +67,89 @@ typedef enum {
#endif
-/** @internal Packet field accessor */
+/** @cond _ODP_HIDE_FROM_DOXYGEN_ */
+
Comment:
I like using this feature,
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 19
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
-
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 41
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
-
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 62
@@ -615,7 +618,7 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth,
while (cap->op != RTE_CRYPTO_OP_TYPE_UNDEFINED) {
cap_auth_algo = cap->sym.auth.algo;
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 26
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
-
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 171
@@ -663,76 +666,105 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth,
return idx;
}
-static int get_crypto_dev(struct rte_crypto_sym_xform *cipher_xform,
- s
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 215
@@ -776,6 +808,22 @@ static int get_crypto_dev(struct rte_crypto_sym_xform
*cipher_xform,
return -1;
}
+static void set_chain_order(struct rte_crypto_sym_xform **first_xform,
+
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 238
@@ -784,8 +832,9 @@ int odp_crypto_session_create(odp_crypto_session_param_t
*param,
uint8_t cdev_id = 0;
struct rte_crypto_sym_xform cipher_xform;
struct rte_crypto_sym_xf
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 333
@@ -855,48 +924,51 @@ int odp_crypto_session_create(odp_crypto_session_param_t
*param,
auth_xform.auth.key.length = 0;
}
+ auth_xform.auth.digest_length = 0;
+
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/test/wrapper-script.sh
line 5
@@ -1,6 +1,7 @@
#!/bin/bash
-export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 --vdev "crypto_openssl"}
+export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 "--vdev \
+"crypto_op
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/odp_ipsec_sad.c
line 12
@@ -303,13 +303,15 @@ odp_ipsec_sa_t odp_ipsec_sa_create(const
odp_ipsec_sa_param_t *param)
case ODP_CIPHER_ALG_3DES_CBC:
ipsec_sa->esp_iv_len = 8;
ips
Dmitry Eremin-Solenikov(lumag) replied on github web page:
test/performance/odp_crypto.c
line 35
@@ -226,6 +241,18 @@ static crypto_alg_config_t algs_config[] = {
.auth_digest_len = 12,
},
},
+ {
+ .name = "null-hmac-md5-96",
+
Dmitry Eremin-Solenikov(lumag) replied on github web page:
test/performance/odp_crypto.c
line 17
@@ -45,6 +45,21 @@ static uint8_t test_key24[24] = { 0x01, 0x02, 0x03, 0x04,
0x05,
0x15, 0x16, 0x17, 0x18
};
+static uint8_t test_key64[64] = { 0x01, 0x02, 0x03, 0
GBalakrishna replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 19
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
- auth_xform->au
GBalakrishna replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 26
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
- auth_xform->au
GBalakrishna replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 41
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
- auth_xform->au
GBalakrishna replied on github web page:
platform/linux-dpdk/test/wrapper-script.sh
line 5
@@ -1,6 +1,7 @@
#!/bin/bash
-export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 --vdev "crypto_openssl"}
+export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 "--vdev \
+"crypto_openssl" --vdev "cry
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 19
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
-
GBalakrishna replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 171
@@ -663,76 +666,105 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth,
return idx;
}
-static int get_crypto_dev(struct rte_crypto_sym_xform *cipher_xform,
- struct rte_crypto_s
GBalakrishna replied on github web page:
platform/linux-generic/odp_ipsec_sad.c
line 12
@@ -303,13 +303,15 @@ odp_ipsec_sa_t odp_ipsec_sa_create(const
odp_ipsec_sa_param_t *param)
case ODP_CIPHER_ALG_3DES_CBC:
ipsec_sa->esp_iv_len = 8;
ipsec_sa->esp_block_l
GBalakrishna replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 19
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
- auth_xform->au
Distributions won't like statically-linked binaries. Provide configure switch
to link examples and tests dynamically.
github
/** Email created from pull request 390 (lumag:dynamic-link-tests)
** https://github.com/Linaro/odp/pull/390
** Patch: https://git
From: Dmitry Eremin-Solenikov
Distributions won't like statically-linked binaries. Provide configure
switch to link examples and tests dynamically.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 390 (lumag:dynamic-link-tests)
** https://github.com/Linaro/odp/pul
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 390 (lumag:dynamic-link-tests)
** https://github.com/Linaro/odp/pull/390
** Patch: https://github.com/Linaro/odp/pull/390.patch
** Base sha: 520c170d758f2d37554631bf1467ec50e027cd3e
*
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_chksum_internal.h
line 30
@@ -0,0 +1,59 @@
+/* Copyright (c) 2013, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * ODP checks
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_chksum_internal.h
line 24
@@ -0,0 +1,59 @@
+/* Copyright (c) 2013, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * ODP checks
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_chksum_internal.h
line 35
@@ -0,0 +1,59 @@
+/* Copyright (c) 2013, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * ODP checks
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet.c
line 31
@@ -1948,6 +1949,35 @@ int _odp_packet_copy_md_to_packet(odp_packet_t srcpkt,
odp_packet_t dstpkt)
return dst_uarea_size < src_uarea_size;
}
+static uint16_t packet_sum_ones_co
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet.c
line 116
@@ -2099,6 +2144,18 @@ static inline uint8_t parse_ipv6(packet_parser_t *prs,
const uint8_t **parseptr,
*offset += sizeof(_odp_ipv6hdr_t);
*parseptr += sizeof(_odp_ipv6
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet.c
line 80
@@ -2052,6 +2083,18 @@ static inline uint8_t parse_ipv4(packet_parser_t *prs,
const uint8_t **parseptr,
*offset += ihl * 4;
*parseptr += ihl * 4;
+ if (chksums.c
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet.c
line 121
@@ -2099,6 +2144,18 @@ static inline uint8_t parse_ipv6(packet_parser_t *prs,
const uint8_t **parseptr,
*offset += sizeof(_odp_ipv6hdr_t);
*parseptr += sizeof(_odp_ipv6
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet.c
line 85
@@ -2052,6 +2083,18 @@ static inline uint8_t parse_ipv4(packet_parser_t *prs,
const uint8_t **parseptr,
*offset += ihl * 4;
*parseptr += ihl * 4;
+ if (chksums.c
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet.c
line 160
@@ -2155,14 +2212,35 @@ static inline void parse_tcp(packet_parser_t *prs,
/**
* Parser helper function for UDP
*/
-static inline void parse_udp(packet_parser_t *prs,
-
Thank you!!!
I did the commands:
/home/vagrant/dpdk/usertools/dpdk-devbind.py --bind=igb_uio :00:08.0
/home/vagrant/dpdk/usertools/dpdk-devbind.py --bind=igb_uio :00:09.0
And the dvebind tool status shows:
root@vagrant:/home/vagrant/dpdk# ./usertools/dpdk-devbind.py --status
Network devi
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/odp_packet.c
line 85
@@ -2052,6 +2083,18 @@ static inline uint8_t parse_ipv4(packet_parser_t *prs,
const uint8_t **parseptr,
*offset += ihl * 4;
*parseptr += ihl * 4;
+ if (chksums.chksum.u
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/include/odp_chksum_internal.h
line 24
@@ -0,0 +1,59 @@
+/* Copyright (c) 2013, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * ODP checksum - im
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 19
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
-
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 41
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
-
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 62
@@ -615,7 +618,7 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth,
while (cap->op != RTE_CRYPTO_OP_TYPE_UNDEFINED) {
cap_auth_algo = cap->sym.auth.algo;
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 26
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
-
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 171
@@ -663,76 +666,105 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth,
return idx;
}
-static int get_crypto_dev(struct rte_crypto_sym_xform *cipher_xform,
- s
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 215
@@ -776,6 +808,22 @@ static int get_crypto_dev(struct rte_crypto_sym_xform
*cipher_xform,
return -1;
}
+static void set_chain_order(struct rte_crypto_sym_xform **first_xform,
+
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/test/wrapper-script.sh
line 5
@@ -1,6 +1,7 @@
#!/bin/bash
-export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 --vdev "crypto_openssl"}
+export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 "--vdev \
+"crypto_op
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 333
@@ -855,48 +924,51 @@ int odp_crypto_session_create(odp_crypto_session_param_t
*param,
auth_xform.auth.key.length = 0;
}
+ auth_xform.auth.digest_length = 0;
+
Dmitry Eremin-Solenikov(lumag) replied on github web page:
test/performance/odp_crypto.c
line 35
@@ -226,6 +241,18 @@ static crypto_alg_config_t algs_config[] = {
.auth_digest_len = 12,
},
},
+ {
+ .name = "null-hmac-md5-96",
+
Dmitry Eremin-Solenikov(lumag) replied on github web page:
test/performance/odp_crypto.c
line 17
@@ -45,6 +45,21 @@ static uint8_t test_key24[24] = { 0x01, 0x02, 0x03, 0x04,
0x05,
0x15, 0x16, 0x17, 0x18
};
+static uint8_t test_key64[64] = { 0x01, 0x02, 0x03, 0
GBalakrishna replied on github web page:
platform/linux-dpdk/odp_crypto.c
line 26
@@ -122,29 +130,24 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg,
case ODP_AUTH_ALG_MD5_96:
#endif
auth_xform->auth.algo = RTE_CRYPTO_AUTH_MD5_HMAC;
- auth_xform->au
1 - 100 of 106 matches
Mail list logo