Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/92966/?format=api
http://patches.dpdk.org/api/patches/92966/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1620241931-28435-3-git-send-email-jizh@linux.microsoft.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": "<1620241931-28435-3-git-send-email-jizh@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1620241931-28435-3-git-send-email-jizh@linux.microsoft.com", "date": "2021-05-05T19:12:03", "name": "[v13,02/10] eal/windows: add necessary macros", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "4d2b902c28898bd5447d6ae0f0b2ab7581bfbb08", "submitter": { "id": 1934, "url": "http://patches.dpdk.org/api/people/1934/?format=api", "name": "Jie Zhou", "email": "jizh@linux.microsoft.com" }, "delegate": { "id": 3961, "url": "http://patches.dpdk.org/api/users/3961/?format=api", "username": "arybchenko", "first_name": "Andrew", "last_name": "Rybchenko", "email": "andrew.rybchenko@oktetlabs.ru" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1620241931-28435-3-git-send-email-jizh@linux.microsoft.com/mbox/", "series": [ { "id": 16839, "url": "http://patches.dpdk.org/api/series/16839/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16839", "date": "2021-05-05T19:12:02", "name": "app/testpmd: enable testpmd on Windows", "version": 13, "mbox": "http://patches.dpdk.org/series/16839/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/92966/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/92966/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 78FE7A0524;\n\tWed, 5 May 2021 21:12:32 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B1998410FE;\n\tWed, 5 May 2021 21:12:21 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id BC51240143;\n Wed, 5 May 2021 21:12:17 +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 D5CCE20B8006;\n Wed, 5 May 2021 12:12:16 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com D5CCE20B8006", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1620241936;\n bh=6rpPyrvVN5tB2KGVqI9LpkrPCaITwjH1intBnfFczLI=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=JbTLbz6NbJZ0WwKFIoCslgNviL4zYb1FmBohTAXQndFQZ2H+w7AXx3OiPJCHz+DQr\n VurgBpVuiExaFXPUxobdiuMRJqgdy3/bcGiSjPVOIARnvJKMxOJC0nNWXYJr3sun6g\n EqMhb447OQUf0UeWxmdKyZUMyPzOqNClbqF/FsTk=", "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, stable@dpdk.org", "Date": "Wed, 5 May 2021 12:12:03 -0700", "Message-Id": "<1620241931-28435-3-git-send-email-jizh@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1620241931-28435-1-git-send-email-jizh@linux.microsoft.com>", "References": "<1620236174-10676-1-git-send-email-jizh@linux.microsoft.com>\n <1620241931-28435-1-git-send-email-jizh@linux.microsoft.com>", "Subject": "[dpdk-dev] [PATCH v13 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>\nAcked-by: Tal Shnaiderman <talshn@nvidia.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 1b314733b..3763cae62 100644\n--- a/lib/eal/windows/include/rte_os_shim.h\n+++ b/lib/eal/windows/include/rte_os_shim.h\n@@ -21,6 +21,7 @@\n #define strdup(str) _strdup(str)\n #define strtok_r(str, delim, saveptr) strtok_s(str, delim, saveptr)\n #ifndef RTE_TOOLCHAIN_GCC\n+#define strcasecmp _stricmp\n #define strncasecmp(s1, s2, count) _strnicmp(s1, s2, count)\n #endif\n \n@@ -38,6 +39,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": [ "v13", "02/10" ] }{ "id": 92966, "url": "