Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76423/?format=api
http://patches.dpdk.org/api/patches/76423/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200903152717.42095-13-ciara.power@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": "<20200903152717.42095-13-ciara.power@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200903152717.42095-13-ciara.power@intel.com", "date": "2020-09-03T15:26:52", "name": "[v3,12/37] examples: remove old build system references", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "517ecdd2f34b0a1f3a02bfaa7cf755cc1426162e", "submitter": { "id": 978, "url": "http://patches.dpdk.org/api/people/978/?format=api", "name": "Power, Ciara", "email": "ciara.power@intel.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200903152717.42095-13-ciara.power@intel.com/mbox/", "series": [ { "id": 11929, "url": "http://patches.dpdk.org/api/series/11929/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11929", "date": "2020-09-03T15:26:40", "name": "remove make support in DPDK", "version": 3, "mbox": "http://patches.dpdk.org/series/11929/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76423/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/76423/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 A2365A04BF;\n\tThu, 3 Sep 2020 17:31:19 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D40B91C195;\n\tThu, 3 Sep 2020 17:28:47 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 2BEE71C0AE\n for <dev@dpdk.org>; Thu, 3 Sep 2020 17:28:44 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Sep 2020 08:28:42 -0700", "from silpixa00399953.ir.intel.com (HELO\n silpixa00399953.ger.corp.intel.com) ([10.237.222.53])\n by orsmga006.jf.intel.com with ESMTP; 03 Sep 2020 08:28:40 -0700" ], "IronPort-SDR": [ "\n skgp+ntaLuLo3cMVeW5oGltBlkGATz+0MpS5xrswiakItA+7YMmAlQJa/QHyOaEx8WazcN/n2A\n BPSQdYTJDrvA==", "\n 8KDNMLlEznVrL2KRQwq+ISG/sQ4FNLhjLjAX69Nhgk0Gs8AcYHRqDPT72t7th5/glCEaoJ7SEk\n q0Xfz/VHKQgQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9733\"; a=\"145290556\"", "E=Sophos;i=\"5.76,387,1592895600\"; d=\"scan'208\";a=\"145290556\"", "E=Sophos;i=\"5.76,387,1592895600\"; d=\"scan'208\";a=\"302243956\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Ciara Power <ciara.power@intel.com>", "To": "dev@dpdk.org", "Cc": "Ciara Power <ciara.power@intel.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Konstantin Ananyev <konstantin.ananyev@intel.com>,\n Marko Kovacevic <marko.kovacevic@intel.com>, Ori Kam <orika@mellanox.com>,\n Radu Nicolau <radu.nicolau@intel.com>, Akhil Goyal <akhil.goyal@nxp.com>,\n Tomasz Kantecki <tomasz.kantecki@intel.com>,\n Sunil Kumar Kori <skori@marvell.com>,\n Pavan Nikhilesh <pbhagavatula@marvell.com>", "Date": "Thu, 3 Sep 2020 16:26:52 +0100", "Message-Id": "<20200903152717.42095-13-ciara.power@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200903152717.42095-1-ciara.power@intel.com>", "References": "<20200807123009.21266-1-ciara.power@intel.com>\n <20200903152717.42095-1-ciara.power@intel.com>", "Subject": "[dpdk-dev] [PATCH v3 12/37] examples: remove old build system\n\treferences", "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": "Remove the references to RTE_SDK and RTE_TARGET environment variables from\nthe build instructions in the comments of the various BPF files, and in\nthe ipsec-secgw common definition script.\n\nSigned-off-by: Ciara Power <ciara.power@intel.com>\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n examples/bpf/t2.c | 6 ++++--\n examples/bpf/t3.c | 10 ++++++----\n examples/ipsec-secgw/test/common_defs.sh | 4 ++--\n 3 files changed, 12 insertions(+), 8 deletions(-)", "diff": "diff --git a/examples/bpf/t2.c b/examples/bpf/t2.c\nindex 9878eaf7bd..b9bce746c0 100644\n--- a/examples/bpf/t2.c\n+++ b/examples/bpf/t2.c\n@@ -9,8 +9,10 @@\n * (PKT_RX_VLAN_PKT | PKT_RX_VLAN_STRIPPED).\n * Doesn't touch contents of packet data.\n * To compile:\n- * clang -O2 -I${RTE_SDK}/${RTE_TARGET}/include \\\n- * -target bpf -Wno-int-to-void-pointer-cast -c t2.c\n+ * clang -O2 -target bpf -Wno-int-to-void-pointer-cast -c t2.c\n+ *\n+ * NOTE: if DPDK is not installed system-wide, add compiler flag with path\n+ * to DPDK rte_mbuf.h file, e.g. \"clang -I/path/to/dpdk/headers -O2 ...\"\n */\n \n #include <stdint.h>\ndiff --git a/examples/bpf/t3.c b/examples/bpf/t3.c\nindex f58ff64b3b..66faf80cc5 100644\n--- a/examples/bpf/t3.c\n+++ b/examples/bpf/t3.c\n@@ -8,13 +8,15 @@\n * Dump the mbuf into stdout if it is an ARP packet (aka tcpdump 'arp').\n *\n * To compile on x86:\n- * clang -O2 -U __GNUC__ -I${RTE_SDK}/${RTE_TARGET}/include \\\n- * -target bpf -Wno-int-to-void-pointer-cast -c t3.c\n+ * clang -O2 -U __GNUC__ -target bpf -Wno-int-to-void-pointer-cast -c t3.c\n *\n * To compile on ARM:\n- * clang -O2 -I/usr/include/aarch64-linux-gnu \\\n- * -I${RTE_SDK}/${RTE_TARGET}/include -target bpf \\\n+ * clang -O2 -I/usr/include/aarch64-linux-gnu -target bpf \\\n * -Wno-int-to-void-pointer-cast -c t3.c\n+ *\n+ * NOTE: if DPDK is not installed system-wide, add compiler flag with path\n+ * to DPDK rte_mbuf.h file to above commands,\n+ * e.g. \"clang -I/path/to/dpdk/headers -O2 ...\"\n */\n \n #include <stdint.h>\ndiff --git a/examples/ipsec-secgw/test/common_defs.sh b/examples/ipsec-secgw/test/common_defs.sh\nindex df680805b8..f22eb3ab12 100644\n--- a/examples/ipsec-secgw/test/common_defs.sh\n+++ b/examples/ipsec-secgw/test/common_defs.sh\n@@ -34,8 +34,8 @@ LOCAL_IPV4=192.168.31.92\n REMOTE_IPV6=fd12:3456:789a:0031:0000:0000:0000:0014\n LOCAL_IPV6=fd12:3456:789a:0031:0000:0000:0000:0092\n \n-DPDK_PATH=${RTE_SDK:-${PWD}}\n-DPDK_BUILD=${RTE_TARGET:-x86_64-native-linux-gcc}\n+DPDK_PATH=${PWD}\n+DPDK_BUILD=\"build\"\n DPDK_VARS=\"\"\n \n # by default ipsec-secgw can't deal with multi-segment packets\n", "prefixes": [ "v3", "12/37" ] }{ "id": 76423, "url": "