Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/59971/?format=api
http://patches.dpdk.org/api/patches/59971/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190927080315.21981-1-hemant.agrawal@nxp.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": "<20190927080315.21981-1-hemant.agrawal@nxp.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190927080315.21981-1-hemant.agrawal@nxp.com", "date": "2019-09-27T08:03:15", "name": "[3/3] app/crypto-perf: add check for out-of-place case", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c0ebc40395e825ea781c9f72cb3b95e45f5be6c1", "submitter": { "id": 477, "url": "http://patches.dpdk.org/api/people/477/?format=api", "name": "Hemant Agrawal", "email": "hemant.agrawal@nxp.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/20190927080315.21981-1-hemant.agrawal@nxp.com/mbox/", "series": [ { "id": 6562, "url": "http://patches.dpdk.org/api/series/6562/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6562", "date": "2019-09-27T08:03:15", "name": null, "version": 1, "mbox": "http://patches.dpdk.org/series/6562/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/59971/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/59971/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 C54692C23;\n\tFri, 27 Sep 2019 10:05:35 +0200 (CEST)", "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby dpdk.org (Postfix) with ESMTP id 4279F11A2\n\tfor <dev@dpdk.org>; Fri, 27 Sep 2019 10:05:34 +0200 (CEST)", "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 1B11E200648;\n\tFri, 27 Sep 2019 10:05:34 +0200 (CEST)", "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 49709200658;\n\tFri, 27 Sep 2019 10:05:32 +0200 (CEST)", "from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net\n\t[10.232.133.63])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 99DF1402D5;\n\tFri, 27 Sep 2019 16:05:29 +0800 (SGT)" ], "From": "Hemant Agrawal <hemant.agrawal@nxp.com>", "To": "akhil.goyal@nxp.com,\n\tdev@dpdk.org", "Cc": "Hemant Agrawal <hemant.agrawal@nxp.com>", "Date": "Fri, 27 Sep 2019 13:33:15 +0530", "Message-Id": "<20190927080315.21981-1-hemant.agrawal@nxp.com>", "X-Mailer": "git-send-email 2.17.1", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Subject": "[dpdk-dev] [PATCH 3/3] app/crypto-perf: add check for out-of-place\n\tcase", "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": "Segmented frames not supported for out-of-place case.\nThis patch returns err if such config is requested.\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n app/test-crypto-perf/cperf_options_parsing.c | 7 +++++++\n 1 file changed, 7 insertions(+)", "diff": "diff --git a/app/test-crypto-perf/cperf_options_parsing.c b/app/test-crypto-perf/cperf_options_parsing.c\nindex 7a5aa06a6..eba4cf7a6 100644\n--- a/app/test-crypto-perf/cperf_options_parsing.c\n+++ b/app/test-crypto-perf/cperf_options_parsing.c\n@@ -964,6 +964,13 @@ cperf_options_check(struct cperf_options *options)\n \tif (options->op_type == CPERF_CIPHER_ONLY)\n \t\toptions->digest_sz = 0;\n \n+\tif (options->out_of_place &&\n+\t\t\toptions->segment_sz <= options->max_buffer_size) {\n+\t\tRTE_LOG(ERR, USER1, \"Out of place mode can only work \"\n+\t\t\t\t\t\"with non segmented buffers\\n\");\n+\t\treturn -EINVAL;\n+\t}\n+\n \t/*\n \t * If segment size is not set, assume only one segment,\n \t * big enough to contain the largest buffer and the digest\n", "prefixes": [ "3/3" ] }{ "id": 59971, "url": "