Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/54184/?format=api
http://patches.dpdk.org/api/patches/54184/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190603145048.2596-9-damianx.nowak@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20190603145048.2596-9-damianx.nowak@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190603145048.2596-9-damianx.nowak@intel.com", "date": "2019-06-03T14:50:47", "name": "[8/9] test/crypto: add digest encrypted feature flag check", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "6c3d78957e6c2f8fa24eb6048ba2cb8c654f5862", "submitter": { "id": 1184, "url": "http://patches.dpdk.org/api/people/1184/?format=api", "name": "Damian Nowak", "email": "damianx.nowak@intel.com" }, "delegate": { "id": 6690, "url": "http://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190603145048.2596-9-damianx.nowak@intel.com/mbox/", "series": [ { "id": 4865, "url": "http://patches.dpdk.org/api/series/4865/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4865", "date": "2019-06-03T14:50:39", "name": "add QAT support for digest encrypted", "version": 1, "mbox": "http://patches.dpdk.org/series/4865/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/54184/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/54184/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id AF9771B9C4;\n\tMon, 3 Jun 2019 16:54:35 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 1FE581B9A0\n\tfor <dev@dpdk.org>; Mon, 3 Jun 2019 16:54:19 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Jun 2019 07:54:19 -0700", "from damiannx-mobl1.ger.corp.intel.com ([10.103.104.100])\n\tby fmsmga001.fm.intel.com with ESMTP; 03 Jun 2019 07:54:18 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Nowak <damianx.nowak@intel.com>", "To": "dev@dpdk.org", "Cc": "fiona.trahe@intel.com, arkadiuszx.kusztal@intel.com,\n\tDamian Nowak <damianx.nowak@intel.com>", "Date": "Mon, 3 Jun 2019 16:50:47 +0200", "Message-Id": "<20190603145048.2596-9-damianx.nowak@intel.com>", "X-Mailer": "git-send-email 2.21.0.windows.1", "In-Reply-To": "<20190603145048.2596-1-damianx.nowak@intel.com>", "References": "<20190603145048.2596-1-damianx.nowak@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 8/9] test/crypto: add digest encrypted feature\n\tflag check", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Damian Nowak <damianx.nowak@intel.com>\n\nThis patch adds checking of digest encrypted\nfeature flag for auth-cipher out-of-place\noperations test cases to determine if the\noperations are supported.\n\nSigned-off-by: Damian Nowak <damianx.nowak@intel.com>\n---\n app/test/test_cryptodev.c | 40 ++++++++++++++++++++++++++++++++++------\n 1 file changed, 34 insertions(+), 6 deletions(-)", "diff": "diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c\nindex 231039f..937849e 100644\n--- a/app/test/test_cryptodev.c\n+++ b/app/test/test_cryptodev.c\n@@ -4339,6 +4339,19 @@ test_snow3g_auth_cipher(const struct snow3g_test_data *tdata,\n \tunsigned int ciphertext_pad_len;\n \tunsigned int ciphertext_len;\n \n+\tstruct rte_cryptodev_info dev_info;\n+\n+\trte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info);\n+\n+\tuint64_t feat_flags = dev_info.feature_flags;\n+\n+\tif (op_mode == OUT_OF_PLACE) {\n+\t\tif (!(feat_flags & RTE_CRYPTODEV_FF_DIGEST_ENCRYPTED)) {\n+\t\t\tprintf(\"Device doesn't support digest encrypted.\\n\");\n+\t\t\treturn -ENOTSUP;\n+\t\t}\n+\t}\n+\n \t/* Create SNOW 3G session */\n \tretval = create_wireless_algo_auth_cipher_session(\n \t\t\tts_params->valid_devs[0],\n@@ -4501,16 +4514,18 @@ test_snow3g_auth_cipher_sgl(const struct snow3g_test_data *tdata,\n \tif (op_mode == IN_PLACE) {\n \t\tif (!(feat_flags & RTE_CRYPTODEV_FF_IN_PLACE_SGL)) {\n \t\t\tprintf(\"Device doesn't support in-place scatter-gather \"\n-\t\t\t\t\t\"in both input and output mbufs. \"\n-\t\t\t\t\t\"Test Skipped.\\n\");\n-\t\t\treturn 0;\n+\t\t\t\t\t\"in both input and output mbufs.\\n\");\n+\t\t\treturn -ENOTSUP;\n \t\t}\n \t} else {\n \t\tif (!(feat_flags & RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT)) {\n \t\t\tprintf(\"Device doesn't support out-of-place scatter-gather \"\n-\t\t\t\t\t\"in both input and output mbufs. \"\n-\t\t\t\t\t\"Test Skipped.\\n\");\n-\t\t\treturn 0;\n+\t\t\t\t\t\"in both input and output mbufs.\\n\");\n+\t\t\treturn -ENOTSUP;\n+\t\t}\n+\t\tif (!(feat_flags & RTE_CRYPTODEV_FF_DIGEST_ENCRYPTED)) {\n+\t\t\tprintf(\"Device doesn't support digest encrypted.\\n\");\n+\t\t\treturn -ENOTSUP;\n \t\t}\n \t}\n \n@@ -4672,6 +4687,19 @@ test_kasumi_auth_cipher(const struct kasumi_test_data *tdata,\n \tunsigned int ciphertext_pad_len;\n \tunsigned int ciphertext_len;\n \n+\tstruct rte_cryptodev_info dev_info;\n+\n+\trte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info);\n+\n+\tuint64_t feat_flags = dev_info.feature_flags;\n+\n+\tif (op_mode == OUT_OF_PLACE) {\n+\t\tif (!(feat_flags & RTE_CRYPTODEV_FF_DIGEST_ENCRYPTED)) {\n+\t\t\tprintf(\"Device doesn't support digest encrypted.\\n\");\n+\t\t\treturn -ENOTSUP;\n+\t\t}\n+\t}\n+\n \t/* Create KASUMI session */\n \tretval = create_wireless_algo_auth_cipher_session(\n \t\t\tts_params->valid_devs[0],\n", "prefixes": [ "8/9" ] }{ "id": 54184, "url": "