Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/82007/?format=api
https://patches.dpdk.org/api/patches/82007/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1603477952-583-24-git-send-email-timothy.mcdaniel@intel.com/", "project": { "id": 1, "url": "https://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": "<1603477952-583-24-git-send-email-timothy.mcdaniel@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1603477952-583-24-git-send-email-timothy.mcdaniel@intel.com", "date": "2020-10-23T18:32:32", "name": "[v6,23/23] event/dlb: add timeout ticks entry point", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "b3a856780552cb8a797535da28ee072e542327ea", "submitter": { "id": 826, "url": "https://patches.dpdk.org/api/people/826/?format=api", "name": "Timothy McDaniel", "email": "timothy.mcdaniel@intel.com" }, "delegate": { "id": 310, "url": "https://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1603477952-583-24-git-send-email-timothy.mcdaniel@intel.com/mbox/", "series": [ { "id": 13285, "url": "https://patches.dpdk.org/api/series/13285/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13285", "date": "2020-10-23T18:32:10", "name": "Add DLB PMD", "version": 6, "mbox": "https://patches.dpdk.org/series/13285/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/82007/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/82007/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 40108A04DD;\n\tFri, 23 Oct 2020 20:45:28 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 680485A2D;\n\tFri, 23 Oct 2020 20:31:59 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id 5184B5A9F\n for <dev@dpdk.org>; Fri, 23 Oct 2020 20:31:10 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Oct 2020 11:30:58 -0700", "from txasoft-yocto.an.intel.com ([10.123.72.192])\n by orsmga005.jf.intel.com with ESMTP; 23 Oct 2020 11:30:57 -0700" ], "IronPort-SDR": [ "\n 3n0kXakHbtIhpk+8SQGU9qi1cUHjDIAFYsOaoQaABpAxX2JqkGIR3+kp+0ScfaZ2rRYazH0u+P\n 9USp3TW3LpaQ==", "\n mvSfyHmMph0Mu3Jjr3AJQCVYJrko26hnnSy/FzQ6jzMQHD0KWeQr7Nul8npRk7+furWPPGVIoj\n F5Zu2QYA0DQA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9783\"; a=\"167837674\"", "E=Sophos;i=\"5.77,409,1596524400\"; d=\"scan'208\";a=\"167837674\"", "E=Sophos;i=\"5.77,409,1596524400\"; d=\"scan'208\";a=\"534500636\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Timothy McDaniel <timothy.mcdaniel@intel.com>", "To": "John McNamara <john.mcnamara@intel.com>,\n Marko Kovacevic <marko.kovacevic@intel.com>", "Cc": "dev@dpdk.org, erik.g.carrillo@intel.com, gage.eads@intel.com,\n harry.van.haaren@intel.com, jerinj@marvell.com", "Date": "Fri, 23 Oct 2020 13:32:32 -0500", "Message-Id": "<1603477952-583-24-git-send-email-timothy.mcdaniel@intel.com>", "X-Mailer": "git-send-email 1.7.10", "In-Reply-To": "<1603477952-583-1-git-send-email-timothy.mcdaniel@intel.com>", "References": "<1596138614-17409-2-git-send-email-timothy.mcdaniel@intel.com>\n <1603477952-583-1-git-send-email-timothy.mcdaniel@intel.com>", "Subject": "[dpdk-dev] [PATCH v6 23/23] event/dlb: add timeout ticks entry point", "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\nAdds announcement of availabililty of the new driver\nfor Intel Dynamic Load Balancer 1.0 hardware.\n\nSigned-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>\nReviewed-by: Gage Eads <gage.eads@intel.com>\n---\n doc/guides/rel_notes/release_20_11.rst | 5 +++++\n drivers/event/dlb/dlb.c | 13 +++++++++++++\n 2 files changed, 18 insertions(+)", "diff": "diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc/guides/rel_notes/release_20_11.rst\nindex cc72609..e3fac7e 100644\n--- a/doc/guides/rel_notes/release_20_11.rst\n+++ b/doc/guides/rel_notes/release_20_11.rst\n@@ -55,6 +55,11 @@ New Features\n Also, make sure to start the actual text at the margin.\n =======================================================\n \n+* **Added a new driver for the Intel Dynamic Load Balancer v1.0 device.**\n+\n+ Added the new ``dlb`` eventdev driver for the Intel DLB V1.0 device. See the\n+ :doc:`../eventdevs/dlb` eventdev guide for more details on this new driver.\n+\n \n Removed Items\n -------------\ndiff --git a/drivers/event/dlb/dlb.c b/drivers/event/dlb/dlb.c\nindex aa22d03..b21c9b1 100644\n--- a/drivers/event/dlb/dlb.c\n+++ b/drivers/event/dlb/dlb.c\n@@ -3879,6 +3879,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@@ -3900,6 +3912,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": [ "v6", "23/23" ] }{ "id": 82007, "url": "