Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/21678/?format=api
http://patches.dpdk.org/api/patches/21678/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1489175012-101439-2-git-send-email-harry.van.haaren@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": "<1489175012-101439-2-git-send-email-harry.van.haaren@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1489175012-101439-2-git-send-email-harry.van.haaren@intel.com", "date": "2017-03-10T19:43:16", "name": "[dpdk-dev,v4,01/17] eventdev: increase size of enq deq conf variables", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "37ae4b061de18ed5b0f415ff7e78b640b993290e", "submitter": { "id": 317, "url": "http://patches.dpdk.org/api/people/317/?format=api", "name": "Van Haaren, Harry", "email": "harry.van.haaren@intel.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/1489175012-101439-2-git-send-email-harry.van.haaren@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/21678/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/21678/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 1361068C5;\n\tFri, 10 Mar 2017 20:44:20 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 0DB5F374F\n\tfor <dev@dpdk.org>; Fri, 10 Mar 2017 20:43:44 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga105.jf.intel.com with ESMTP; 10 Mar 2017 11:43:43 -0800", "from silpixa00398672.ir.intel.com ([10.237.223.128])\n\tby fmsmga001.fm.intel.com with ESMTP; 10 Mar 2017 11:43:42 -0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos; i=\"5.36,142,1486454400\"; d=\"scan'208\";\n\ta=\"1121055545\"", "From": "Harry van Haaren <harry.van.haaren@intel.com>", "To": "dev@dpdk.org", "Cc": "jerin.jacob@caviumnetworks.com,\n\tHarry van Haaren <harry.van.haaren@intel.com>", "Date": "Fri, 10 Mar 2017 19:43:16 +0000", "Message-Id": "<1489175012-101439-2-git-send-email-harry.van.haaren@intel.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1489175012-101439-1-git-send-email-harry.van.haaren@intel.com>", "References": "<1487343252-16092-1-git-send-email-harry.van.haaren@intel.com>\n\t<1489175012-101439-1-git-send-email-harry.van.haaren@intel.com>", "Subject": "[dpdk-dev] [PATCH v4 01/17] eventdev: increase size of enq deq conf\n\tvariables", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Large port enqueue sizes were not supported as the value\nit was stored in was a uint8_t. Using uint8_ts to save\nspace in config apis makes no sense - increasing the 3\ninstances of uint8_t enqueue / dequeue depths to more\nappropriate values (based on the context around them).\n\nSigned-off-by: Harry van Haaren <harry.van.haaren@intel.com>\nAcked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>\n---\n lib/librte_eventdev/rte_eventdev.h | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h\nindex e2fdf72..4876353 100644\n--- a/lib/librte_eventdev/rte_eventdev.h\n+++ b/lib/librte_eventdev/rte_eventdev.h\n@@ -426,7 +426,7 @@ struct rte_event_dev_config {\n \t * This value cannot exceed the *max_event_queue_flows* which previously\n \t * provided in rte_event_dev_info_get()\n \t */\n-\tuint8_t nb_event_port_dequeue_depth;\n+\tuint32_t nb_event_port_dequeue_depth;\n \t/**< Maximum number of events can be dequeued at a time from an\n \t * event port by this device.\n \t * This value cannot exceed the *max_event_port_dequeue_depth*\n@@ -637,12 +637,12 @@ struct rte_event_port_conf {\n \t * which was previously supplied to rte_event_dev_configure().\n \t * This should be set to '-1' for *open system*.\n \t */\n-\tuint8_t dequeue_depth;\n+\tuint16_t dequeue_depth;\n \t/**< Configure number of bulk dequeues for this event port.\n \t * This value cannot exceed the *nb_event_port_dequeue_depth*\n \t * which previously supplied to rte_event_dev_configure()\n \t */\n-\tuint8_t enqueue_depth;\n+\tuint16_t enqueue_depth;\n \t/**< Configure number of bulk enqueues for this event port.\n \t * This value cannot exceed the *nb_event_port_enqueue_depth*\n \t * which previously supplied to rte_event_dev_configure()\n", "prefixes": [ "dpdk-dev", "v4", "01/17" ] }{ "id": 21678, "url": "