Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/111605/?format=api
http://patches.dpdk.org/api/patches/111605/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220523095954.3181-1-pbhagavatula@marvell.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": "<20220523095954.3181-1-pbhagavatula@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220523095954.3181-1-pbhagavatula@marvell.com", "date": "2022-05-23T09:59:53", "name": "[1/2] app/eventdev: use mempool cache for vector pool", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "21e3981244904b104dea99250a1f1f47d4f2acf2", "submitter": { "id": 1183, "url": "http://patches.dpdk.org/api/people/1183/?format=api", "name": "Pavan Nikhilesh Bhagavatula", "email": "pbhagavatula@marvell.com" }, "delegate": { "id": 310, "url": "http://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220523095954.3181-1-pbhagavatula@marvell.com/mbox/", "series": [ { "id": 23090, "url": "http://patches.dpdk.org/api/series/23090/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=23090", "date": "2022-05-23T09:59:53", "name": "[1/2] app/eventdev: use mempool cache for vector pool", "version": 1, "mbox": "http://patches.dpdk.org/series/23090/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/111605/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/111605/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id DC647A04FD;\n\tMon, 23 May 2022 12:00:11 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BF89C40141;\n\tMon, 23 May 2022 12:00:11 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 6C7F740041\n for <dev@dpdk.org>; Mon, 23 May 2022 12:00:10 +0200 (CEST)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 24MNV4oc027049\n for <dev@dpdk.org>; Mon, 23 May 2022 03:00:09 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3g6wepdjjp-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 23 May 2022 03:00:09 -0700", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Mon, 23 May 2022 03:00:07 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Mon, 23 May 2022 03:00:07 -0700", "from MININT-80QBFE8.corp.innovium.com (unknown [10.193.70.72])\n by maili.marvell.com (Postfix) with ESMTP id 652253F70B4;\n Mon, 23 May 2022 03:00:02 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=i4Rck+SS8i38x22oKZOGJgblMEqYzJbJRIFUrf2STTg=;\n b=P6r3M2lmz2Kk5t9aLLOCsUWQP/Ac9UH2yjfGnIWUduHVzo3fW+sGCTX2je4CMIvcNvqR\n 9SwxPs320U3iABfjt+hElASvgK5hB+YiH9wjh1FLKOPkLb56aYKeC2CNpPUrPGxscHC5\n QBLJywmtf9NNzDMcNecOtE8PtvZIBvrnxnivoiNZHsxbl3MJpclwvpxi6fnDgLrPcc2n\n SyoXyYPX7J8D5ppSMdYNUrIjJCcCULp3YU5RLne1DIq9EW4By9FamAdwsDFylaADHghb\n qgY7tE2W5WgakBJ+Je0lxb0el0C+GhZKzfnq5SmZv43pk4d8jvtVONq5wkPwrRCp6X8v oQ==", "From": "<pbhagavatula@marvell.com>", "To": "<jerinj@marvell.com>", "CC": "<dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>", "Subject": "[PATCH 1/2] app/eventdev: use mempool cache for vector pool", "Date": "Mon, 23 May 2022 15:29:53 +0530", "Message-ID": "<20220523095954.3181-1-pbhagavatula@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "yiasrCqfOL5Y6vWmLBhWotO5lwmA4Zm0", "X-Proofpoint-ORIG-GUID": "yiasrCqfOL5Y6vWmLBhWotO5lwmA4Zm0", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514\n definitions=2022-05-23_03,2022-05-23_01,2022-02-23_01", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "From: Pavan Nikhilesh <pbhagavatula@marvell.com>\n\nUse mempool cache for vector mempool as vectors are freed by the Tx\nroutine, also increase the minimum pool size to 512 to avoid resource\ncontention on Rx.\n\nSigned-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\n---\n app/test-eventdev/test_pipeline_common.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)", "diff": "diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c\nindex c66656cd39..856a2f1a52 100644\n--- a/app/test-eventdev/test_pipeline_common.c\n+++ b/app/test-eventdev/test_pipeline_common.c\n@@ -338,9 +338,10 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,\n \tif (opt->ena_vector) {\n \t\tunsigned int nb_elem = (opt->pool_sz / opt->vector_size) << 1;\n \n-\t\tnb_elem = nb_elem ? nb_elem : 1;\n+\t\tnb_elem = RTE_MAX(512U, nb_elem);\n+\t\tnb_elem += evt_nr_active_lcores(opt->wlcores) * 32;\n \t\tvector_pool = rte_event_vector_pool_create(\n-\t\t\t\"vector_pool\", nb_elem, 0, opt->vector_size,\n+\t\t\t\"vector_pool\", nb_elem, 32, opt->vector_size,\n \t\t\topt->socket_id);\n \t\tif (vector_pool == NULL) {\n \t\t\tevt_err(\"failed to create event vector pool\");\n", "prefixes": [ "1/2" ] }{ "id": 111605, "url": "