Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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 \

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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 \

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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 \

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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, -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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,

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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", +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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 \

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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, +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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, -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-17 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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,

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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", +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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 \

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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, +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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, -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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,

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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", +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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 \

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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, +

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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, -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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;

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-dpdk: crypto support for cipher & auth only feature

2018-01-16 Thread Github ODP bot
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; -