Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/77507/?format=api
http://patches.dpdk.org/api/patches/77507/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1599855987-25976-2-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": "<1599855987-25976-2-git-send-email-timothy.mcdaniel@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1599855987-25976-2-git-send-email-timothy.mcdaniel@intel.com", "date": "2020-09-11T20:26:06", "name": "[01/22] event/dlb2: add meson build infrastructure", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "f605b950d8961ab3279aa08d9e99a8d432a1f9e9", "submitter": { "id": 826, "url": "http://patches.dpdk.org/api/people/826/?format=api", "name": "Timothy McDaniel", "email": "timothy.mcdaniel@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/1599855987-25976-2-git-send-email-timothy.mcdaniel@intel.com/mbox/", "series": [ { "id": 12164, "url": "http://patches.dpdk.org/api/series/12164/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12164", "date": "2020-09-11T20:26:05", "name": "Add DLB2 PMD", "version": 1, "mbox": "http://patches.dpdk.org/series/12164/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/77507/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/77507/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 BB30FA04C1;\n\tFri, 11 Sep 2020 22:30:13 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4FF3F1C196;\n\tFri, 11 Sep 2020 22:30:03 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 69FC01C126\n for <dev@dpdk.org>; Fri, 11 Sep 2020 22:29:56 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Sep 2020 13:29:51 -0700", "from txasoft-yocto.an.intel.com ([10.123.72.192])\n by orsmga005.jf.intel.com with ESMTP; 11 Sep 2020 13:29:50 -0700" ], "IronPort-SDR": [ "\n 2tDx7ltbagYjr2SREThNIEiWLpPoQoGLAgCfotxZ+s6BtwJGoRw0A06BWnfgFVKVFY8BH/pOu9\n LMT6CEh/GQ2A==", "\n K1gClQpgxoFNYZCuT+qkP0mmIaCeRlBAeFZab1yT+cUBFXwUNSd6CTSmokpt9xgcQjQjkFh2hv\n wGj9HqacRAHw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9741\"; a=\"156244337\"", "E=Sophos;i=\"5.76,417,1592895600\"; d=\"scan'208\";a=\"156244337\"", "E=Sophos;i=\"5.76,417,1592895600\"; d=\"scan'208\";a=\"481453464\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Timothy McDaniel <timothy.mcdaniel@intel.com>", "To": "Bruce Richardson <bruce.richardson@intel.com>,\n Ray Kinsella <mdr@ashroe.eu>, Neil Horman <nhorman@tuxdriver.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, 11 Sep 2020 15:26:06 -0500", "Message-Id": "<1599855987-25976-2-git-send-email-timothy.mcdaniel@intel.com>", "X-Mailer": "git-send-email 1.7.10", "In-Reply-To": "<1599855987-25976-1-git-send-email-timothy.mcdaniel@intel.com>", "References": "<1599855987-25976-1-git-send-email-timothy.mcdaniel@intel.com>", "Subject": "[dpdk-dev] [PATCH 01/22] event/dlb2: add meson build infrastructure", "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 meson build infrastructure, which includes\ncompile-time constants in rte_config.h. DLB2 is\nonly supported on Linux X86 platforms at this time.\n\nSigned-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>\n---\n config/rte_config.h | 7 +++++++\n drivers/event/dlb2/meson.build | 7 +++++++\n drivers/event/dlb2/rte_pmd_dlb2_event_version.map | 3 +++\n drivers/event/meson.build | 4 ++++\n 4 files changed, 21 insertions(+)\n create mode 100644 drivers/event/dlb2/meson.build\n create mode 100644 drivers/event/dlb2/rte_pmd_dlb2_event_version.map", "diff": "diff --git a/config/rte_config.h b/config/rte_config.h\nindex 0bae630..fd1b3c3 100644\n--- a/config/rte_config.h\n+++ b/config/rte_config.h\n@@ -131,4 +131,11 @@\n /* QEDE PMD defines */\n #define RTE_LIBRTE_QEDE_FW \"\"\n \n+/* DLB2 defines */\n+#define RTE_LIBRTE_PMD_DLB2_POLL_INTERVAL 1000\n+#define RTE_LIBRTE_PMD_DLB2_UMWAIT_CTL_STATE 0\n+#undef RTE_LIBRTE_PMD_DLB2_QUELL_STATS\n+#define RTE_LIBRTE_PMD_DLB2_SW_CREDIT_QUANTA 32\n+#define RTE_PMD_DLB2_DEFAULT_DEPTH_THRESH 256\n+\n #endif /* _RTE_CONFIG_H_ */\ndiff --git a/drivers/event/dlb2/meson.build b/drivers/event/dlb2/meson.build\nnew file mode 100644\nindex 0000000..d4fd39f\n--- /dev/null\n+++ b/drivers/event/dlb2/meson.build\n@@ -0,0 +1,7 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2019-2020 Intel Corporation\n+\n+sources = files(\n+)\n+\n+deps += ['mbuf', 'mempool', 'ring', 'bus_vdev', 'pci', 'bus_pci']\ndiff --git a/drivers/event/dlb2/rte_pmd_dlb2_event_version.map b/drivers/event/dlb2/rte_pmd_dlb2_event_version.map\nnew file mode 100644\nindex 0000000..299ae63\n--- /dev/null\n+++ b/drivers/event/dlb2/rte_pmd_dlb2_event_version.map\n@@ -0,0 +1,3 @@\n+DPDK_21.0 {\n+\tlocal: *;\n+};\ndiff --git a/drivers/event/meson.build b/drivers/event/meson.build\nindex ebe76a7..f73fcb9 100644\n--- a/drivers/event/meson.build\n+++ b/drivers/event/meson.build\n@@ -10,6 +10,10 @@ if not (toolchain == 'gcc' and cc.version().version_compare('<4.8.6') and\n \tdpdk_conf.has('RTE_ARCH_ARM64'))\n \tdrivers += 'octeontx'\n endif\n+if ((dpdk_conf.has('RTE_ARCH_X86_64') or dpdk_conf.has('RTE_ARCH_X86')) and\n+ is_linux)\n+ drivers += 'dlb2'\n+endif\n std_deps = ['eventdev', 'kvargs']\n config_flag_fmt = 'RTE_LIBRTE_@0@_EVENTDEV_PMD'\n driver_name_fmt = 'rte_pmd_@0@_event'\n", "prefixes": [ "01/22" ] }{ "id": 77507, "url": "