Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/11639/?format=api
http://patches.dpdk.org/api/patches/11639/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1458600115-3969-1-git-send-email-thomas.monjalon@6wind.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": "<1458600115-3969-1-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1458600115-3969-1-git-send-email-thomas.monjalon@6wind.com", "date": "2016-03-21T22:41:55", "name": "[dpdk-dev] examples/performance-thread: fix build without SSE4.1", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "9efb89c52657836719c5fd002574bbbb100b5a3e", "submitter": { "id": 1, "url": "http://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.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/1458600115-3969-1-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/11639/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/11639/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 0FE263005;\n\tMon, 21 Mar 2016 23:43:53 +0100 (CET)", "from mail-wm0-f42.google.com (mail-wm0-f42.google.com\n\t[74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 1B0FC2E8F\n\tfor <dev@dpdk.org>; Mon, 21 Mar 2016 23:43:51 +0100 (CET)", "by mail-wm0-f42.google.com with SMTP id p65so140353257wmp.0\n\tfor <dev@dpdk.org>; Mon, 21 Mar 2016 15:43:51 -0700 (PDT)", "from XPS13.localdomain (91.111.75.86.rev.sfr.net. [86.75.111.91])\n\tby smtp.gmail.com with ESMTPSA id\n\tks5sm27409828wjb.13.2016.03.21.15.43.49\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tMon, 21 Mar 2016 15:43:50 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id;\n\tbh=9L+AfV5eTNnW9KCzOprpnwYpMp+inuFETQ5mi71FJJo=;\n\tb=cKxA3COQItErBDD5yYKwU37n5rpxiAHtXl7B+HrF0JN2f+6cEG6iTO0SbMwq4asJ9i\n\tdxet+uXxAYPR5nzmIY3i24yHVnfXZBgNypAhz4xZfJ9hq9Jo/8jhRwx/A7q8bgrz4Va3\n\tQ41Tv/gTQ1CyYHSiNEzky74cu3+hjcuci2LVSGgkH2YjHKMXGWTRX/HDibBk/fft/qbP\n\tF4XKhQSxQbDliLH0TXd4k8nNRTdSZmzhFs5/T/FlPkhySBdRub6+dTl0yeAnBDrEETF8\n\tu8tQDN0qjn1zK2WH8dSwGt0X1T1yi/PbvWDYXz8HpCngis1FsMooxGwKD8H6UtDHBgws\n\tEPPw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=9L+AfV5eTNnW9KCzOprpnwYpMp+inuFETQ5mi71FJJo=;\n\tb=YOD1BBf4RLdwhxnjWkCnL+mJ18QakgiUtdREN67j4Km9eXk5DVAdlydUp+pOj+Hfj4\n\tzP0WUKlubuhWZSI3opoy1QcrSIx5ExM6oylTAfRohp4lMbByQBLu3kCJg1yg0X+DsZZ4\n\tQaM2Bw4aMADA/W+z56fvOu+3dNR8xJSfOOuMlcvphN/Nc/SgKfQF8udyrcRHVlHjh8an\n\tpo4aLA4Whce57vEu7eo/xE1ze7BWzRV3G63HHvyzqghViToq/GBBEKHd1t23n3CfvHch\n\thRQg4Rr+z13K377m7K/TONfiPAFs6gx2xMQDrHsQ5FkBJPR2HZDd5fuxRljItj3qGK1q\n\tn2MA==", "X-Gm-Message-State": "AD7BkJI1Fv49BhwJDULw7+NKoIxEkzuGfw0EXAezj6V3V6rE3yQehkXo/jn8ck5mjj4W4tu+", "X-Received": "by 10.28.101.5 with SMTP id z5mr15403764wmb.59.1458600230925;\n\tMon, 21 Mar 2016 15:43:50 -0700 (PDT)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "ian.betts@intel.com", "Cc": "dev@dpdk.org", "Date": "Mon, 21 Mar 2016 23:41:55 +0100", "Message-Id": "<1458600115-3969-1-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.7.0", "Subject": "[dpdk-dev] [PATCH] examples/performance-thread: fix build without\n\tSSE4.1", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <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": "clang reports these errors:\n\nerror: too many arguments to function call, expected 2, have 3\n\texamples/performance-thread/l3fwd-thread/main.c:1220:1: note:\n\t'l3fwd_simple_forward' declared here\n\nexamples/l3fwd/main.c:550:1: error: unused function 'send_packetsx4'\n\nThe function is used only when ENABLE_MULTI_BUFFER_OPTIMIZE is 1.\n\nFixes: d48415e1fee3 (\"examples/performance-thread: add l3fwd-thread app\")\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n examples/performance-thread/l3fwd-thread/main.c | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)", "diff": "diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c\nindex aa1fdc3..15c0a4d 100644\n--- a/examples/performance-thread/l3fwd-thread/main.c\n+++ b/examples/performance-thread/l3fwd-thread/main.c\n@@ -655,7 +655,8 @@ send_single_packet(struct rte_mbuf *m, uint8_t port)\n \treturn 0;\n }\n \n-#if (APP_LOOKUP_METHOD == APP_LOOKUP_LPM)\n+#if ((APP_LOOKUP_METHOD == APP_LOOKUP_LPM) && \\\n+\t(ENABLE_MULTI_BUFFER_OPTIMIZE == 1))\n static inline __attribute__((always_inline)) void\n send_packetsx4(uint8_t port,\n \tstruct rte_mbuf *m[], uint32_t num)\n@@ -1838,12 +1839,12 @@ process_burst(struct rte_mbuf *pkts_burst[MAX_PKT_BURST], int nb_rx,\n \tfor (j = 0; j < (nb_rx - PREFETCH_OFFSET); j++) {\n \t\trte_prefetch0(rte_pktmbuf_mtod(pkts_burst[\n \t\t\t\tj + PREFETCH_OFFSET], void *));\n-\t\tl3fwd_simple_forward(pkts_burst[j], portid, qconf);\n+\t\tl3fwd_simple_forward(pkts_burst[j], portid);\n \t}\n \n \t/* Forward remaining prefetched packets */\n \tfor (; j < nb_rx; j++)\n-\t\tl3fwd_simple_forward(pkts_burst[j], portid, qconf);\n+\t\tl3fwd_simple_forward(pkts_burst[j], portid);\n \n #endif /* ENABLE_MULTI_BUFFER_OPTIMIZE */\n \n", "prefixes": [ "dpdk-dev" ] }{ "id": 11639, "url": "