Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/92568/?format=api
https://patches.dpdk.org/api/patches/92568/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1619805162-10684-3-git-send-email-jizh@linux.microsoft.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": "<1619805162-10684-3-git-send-email-jizh@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1619805162-10684-3-git-send-email-jizh@linux.microsoft.com", "date": "2021-04-30T17:52:34", "name": "[v9,02/10] eal/windows: add necessary macros", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c6e4f6e2e4548c382dec1a506a6a0fa96844ceed", "submitter": { "id": 1934, "url": "https://patches.dpdk.org/api/people/1934/?format=api", "name": "Jie Zhou", "email": "jizh@linux.microsoft.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1619805162-10684-3-git-send-email-jizh@linux.microsoft.com/mbox/", "series": [ { "id": 16779, "url": "https://patches.dpdk.org/api/series/16779/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16779", "date": "2021-04-30T17:52:33", "name": "app/testpmd: enable testpmd on Windows", "version": 9, "mbox": "https://patches.dpdk.org/series/16779/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/92568/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/92568/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 20CEDA0546;\n\tFri, 30 Apr 2021 19:52:55 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4CED941130;\n\tFri, 30 Apr 2021 19:52:53 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id C8F544069E\n for <dev@dpdk.org>; Fri, 30 Apr 2021 19:52:47 +0200 (CEST)", "from\n linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net\n (linux.microsoft.com [13.77.154.182])\n by linux.microsoft.com (Postfix) with ESMTPSA id 1EE8120B8008;\n Fri, 30 Apr 2021 10:52:47 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 1EE8120B8008", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1619805167;\n bh=5LPM2rmORGMATev58irZm9pEEVNWj1JadTGwtKpktOQ=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=AodMvD4FKihD4WTOtSao0fh+XVkTc1yIyTpCEdi37EMJ+HFZguGP3OaXrg1R5znKf\n YrN1T719EdECtOtjOxfXHVAHJBeuI0p0WKo+sAyd4KRk/VWGol60BVjO+yY0HMoqEf\n daBVmQUmYk15GK9VT2n+YB6JX6zmli27sdcNQnHA=", "From": "Jie Zhou <jizh@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "dmitry.kozliuk@gmail.com, xiaoyun.li@intel.com, roretzla@microsoft.com,\n talshn@nvidia.com, pallavi.kadam@intel.com, thomas@monjalon.net,\n bruce.richardson@intel.com, ferruh.yigit@intel.com,\n konstantin.ananyev@intel.com", "Date": "Fri, 30 Apr 2021 10:52:34 -0700", "Message-Id": "<1619805162-10684-3-git-send-email-jizh@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1619805162-10684-1-git-send-email-jizh@linux.microsoft.com>", "References": "<1619553721-5220-1-git-send-email-jizh@linux.microsoft.com>\n <1619805162-10684-1-git-send-email-jizh@linux.microsoft.com>", "Subject": "[dpdk-dev] [PATCH v9 02/10] eal/windows: add necessary macros", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "Add required macros by testpmd on Windows in rte_os_shim.h\n\nSigned-off-by: Jie Zhou <jizh@microsoft.com>\nSigned-off-by: Jie Zhou <jizh@linux.microsoft.com>\n---\n lib/eal/windows/include/rte_os_shim.h | 9 +++++++++\n 1 file changed, 9 insertions(+)", "diff": "diff --git a/lib/eal/windows/include/rte_os_shim.h b/lib/eal/windows/include/rte_os_shim.h\nindex 433fa02c4..e60f27400 100644\n--- a/lib/eal/windows/include/rte_os_shim.h\n+++ b/lib/eal/windows/include/rte_os_shim.h\n@@ -20,6 +20,7 @@\n \n #define strdup(str) _strdup(str)\n #define strtok_r(str, delim, saveptr) strtok_s(str, delim, saveptr)\n+#define strcasecmp _stricmp\n #define strncasecmp(s1, s2, count) _strnicmp(s1, s2, count)\n \n #define open(path, flags, ...) _open(path, flags, ##__VA_ARGS__)\n@@ -36,6 +37,14 @@\n #define IPPROTO_SCTP\t132\n #endif\n \n+#ifndef IPDEFTTL\n+#define IPDEFTTL 64\n+#endif\n+\n+#ifndef S_ISREG\n+#define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG)\n+#endif\n+\n #ifdef RTE_TOOLCHAIN_GCC\n \n #define TIME_UTC 1\n", "prefixes": [ "v9", "02/10" ] }{ "id": 92568, "url": "