Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83115/?format=api
http://patches.dpdk.org/api/patches/83115/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1604107175-25423-24-git-send-email-timothy.mcdaniel@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": "<1604107175-25423-24-git-send-email-timothy.mcdaniel@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1604107175-25423-24-git-send-email-timothy.mcdaniel@intel.com", "date": "2020-10-31T01:19:35", "name": "[v12,23/23] event/dlb: add timeout ticks entry point", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c8218361c2433fa838a97790e873b1cd349bf029", "submitter": { "id": 826, "url": "http://patches.dpdk.org/api/people/826/?format=api", "name": "Timothy McDaniel", "email": "timothy.mcdaniel@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1604107175-25423-24-git-send-email-timothy.mcdaniel@intel.com/mbox/", "series": [ { "id": 13515, "url": "http://patches.dpdk.org/api/series/13515/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13515", "date": "2020-10-31T01:19:12", "name": "Add DLB PMD", "version": 12, "mbox": "http://patches.dpdk.org/series/13515/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/83115/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/83115/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id AC366A04E6;\n\tSat, 31 Oct 2020 02:26:20 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 555FACAAF;\n\tSat, 31 Oct 2020 02:19:02 +0100 (CET)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id 05A5FC960\n for <dev@dpdk.org>; Sat, 31 Oct 2020 02:18:07 +0100 (CET)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Oct 2020 18:18:07 -0700", "from txasoft-yocto.an.intel.com ([10.123.72.192])\n by fmsmga005.fm.intel.com with ESMTP; 30 Oct 2020 18:18:07 -0700" ], "IronPort-SDR": [ "\n 7We9xaXmf+i3GBW35KCxGWxZ/2NqAeGm/bLjO/kb7XaFW5/Q571k9n+THBJVZqahRjqnU7j6qE\n +wYo3x9bO4dA==", "\n LqcJUj8l7rbFHC2N+UMU1rgqh44i5AqUZVh1Sio545UBQ9eg/dUM5N66AoeVVaRt7XtX5i1xya\n 1+7eRnS9RzAg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9790\"; a=\"148543004\"", "E=Sophos;i=\"5.77,435,1596524400\"; d=\"scan'208\";a=\"148543004\"", "E=Sophos;i=\"5.77,435,1596524400\"; d=\"scan'208\";a=\"527300776\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Timothy McDaniel <timothy.mcdaniel@intel.com>", "To": "", "Cc": "dev@dpdk.org, erik.g.carrillo@intel.com, gage.eads@intel.com,\n harry.van.haaren@intel.com, jerinj@marvell.com, thomas@monjalon.net", "Date": "Fri, 30 Oct 2020 20:19:35 -0500", "Message-Id": "<1604107175-25423-24-git-send-email-timothy.mcdaniel@intel.com>", "X-Mailer": "git-send-email 1.7.10", "In-Reply-To": "<1604107175-25423-1-git-send-email-timothy.mcdaniel@intel.com>", "References": "<20200612212434.6852-2-timothy.mcdaniel@intel.com>\n <1604107175-25423-1-git-send-email-timothy.mcdaniel@intel.com>", "Subject": "[dpdk-dev] [PATCH v12 23/23] event/dlb: add timeout ticks entry\n\tpoint", "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 <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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Adds the timeout ticks conversion function.\n\nSigned-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>\nReviewed-by: Gage Eads <gage.eads@intel.com>\n---\n drivers/event/dlb/dlb.c | 13 +++++++++++++\n 1 file changed, 13 insertions(+)", "diff": "diff --git a/drivers/event/dlb/dlb.c b/drivers/event/dlb/dlb.c\nindex 41ccb4a..4aab9f6 100644\n--- a/drivers/event/dlb/dlb.c\n+++ b/drivers/event/dlb/dlb.c\n@@ -3830,6 +3830,18 @@ dlb_eventdev_queue_release(struct rte_eventdev *dev, uint8_t id)\n \t/* This function intentionally left blank. */\n }\n \n+static int\n+dlb_eventdev_timeout_ticks(struct rte_eventdev *dev, uint64_t ns,\n+\t\t\t uint64_t *timeout_ticks)\n+{\n+\tRTE_SET_USED(dev);\n+\tuint64_t cycles_per_ns = rte_get_timer_hz() / 1E9;\n+\n+\t*timeout_ticks = ns * cycles_per_ns;\n+\n+\treturn 0;\n+}\n+\n void\n dlb_entry_points_init(struct rte_eventdev *dev)\n {\n@@ -3851,6 +3863,7 @@ dlb_entry_points_init(struct rte_eventdev *dev)\n \t\t.port_unlink = dlb_eventdev_port_unlink,\n \t\t.port_unlinks_in_progress =\n \t\t\t\t dlb_eventdev_port_unlinks_in_progress,\n+\t\t.timeout_ticks = dlb_eventdev_timeout_ticks,\n \t\t.dump = dlb_eventdev_dump,\n \t\t.xstats_get = dlb_eventdev_xstats_get,\n \t\t.xstats_get_names = dlb_eventdev_xstats_get_names,\n", "prefixes": [ "v12", "23/23" ] }{ "id": 83115, "url": "