Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/91667/?format=api
https://patches.dpdk.org/api/patches/91667/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1618594501-23795-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": "<1618594501-23795-3-git-send-email-jizh@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1618594501-23795-3-git-send-email-jizh@linux.microsoft.com", "date": "2021-04-16T17:34:54", "name": "[v4,2/9] eal/windows: add necessary macros", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "161826902ad504250c239fd8e1d4f0fab90b683a", "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/1618594501-23795-3-git-send-email-jizh@linux.microsoft.com/mbox/", "series": [ { "id": 16452, "url": "https://patches.dpdk.org/api/series/16452/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16452", "date": "2021-04-16T17:34:53", "name": "app/testpmd: Enable testpmd on Windows", "version": 4, "mbox": "https://patches.dpdk.org/series/16452/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/91667/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/91667/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 906B5A0C41;\n\tFri, 16 Apr 2021 19:35:14 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 976FB161BB7;\n\tFri, 16 Apr 2021 19:35:11 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 81D62161B9C\n for <dev@dpdk.org>; Fri, 16 Apr 2021 19:35:08 +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 D2F1620B8003;\n Fri, 16 Apr 2021 10:35:07 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com D2F1620B8003", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1618594507;\n bh=Gkhvtb3D8iEbaN/ewQRoyLW16MaISJFpgoRZEv8r+Dk=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=Ia+mQTUMjHxqEKQU478MvS2qseihXoCTcH2fb5+6+aLZQShboTbQB6c9j8GdJJ7W1\n ML9xJqIBOKssoNSezTAjaa9gNyCunl09cRVusN4v7Eqi00zU+/Bq7J11fTM8tuf6Me\n 4l10Dor9qwIhrnyGzFccN7Zz89YBtnj6FuDYbajw=", "From": "Jie Zhou <jizh@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "dmitry.kozliuk@gmail.com, xiaoyun.li@intel.com, roretzla@microsoft.com,\n pallavi.kadam@intel.com, thomas@monjalon.net, bruce.richardson@intel.com,\n ferruh.yigit@intel.com", "Date": "Fri, 16 Apr 2021 10:34:54 -0700", "Message-Id": "<1618594501-23795-3-git-send-email-jizh@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1618594501-23795-1-git-send-email-jizh@linux.microsoft.com>", "References": "<1618334363-15147-1-git-send-email-jizh@linux.microsoft.com>\n <1618594501-23795-1-git-send-email-jizh@linux.microsoft.com>", "Subject": "[dpdk-dev] [PATCH v4 2/9] 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/librte_eal/windows/include/rte_os_shim.h | 9 +++++++++\n 1 file changed, 9 insertions(+)", "diff": "diff --git a/lib/librte_eal/windows/include/rte_os_shim.h b/lib/librte_eal/windows/include/rte_os_shim.h\nindex f40fb62d1..d0bb9e3b8 100644\n--- a/lib/librte_eal/windows/include/rte_os_shim.h\n+++ b/lib/librte_eal/windows/include/rte_os_shim.h\n@@ -17,6 +17,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@@ -33,4 +34,12 @@\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 #endif /* _RTE_OS_SHIM_ */\n", "prefixes": [ "v4", "2/9" ] }{ "id": 91667, "url": "