Cover Detail
Show a cover letter.
GET /api/covers/92569/?format=api
http://patches.dpdk.org/api/covers/92569/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/1619805162-10684-1-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": "<1619805162-10684-1-git-send-email-jizh@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1619805162-10684-1-git-send-email-jizh@linux.microsoft.com", "date": "2021-04-30T17:52:32", "name": "[v9,00/10] app/testpmd: enable testpmd on Windows", "submitter": { "id": 1934, "url": "http://patches.dpdk.org/api/people/1934/?format=api", "name": "Jie Zhou", "email": "jizh@linux.microsoft.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/1619805162-10684-1-git-send-email-jizh@linux.microsoft.com/mbox/", "series": [ { "id": 16779, "url": "http://patches.dpdk.org/api/series/16779/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16779", "date": "2021-04-30T17:52:33", "name": "app/testpmd: enable testpmd on Windows", "version": 9, "mbox": "http://patches.dpdk.org/series/16779/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/92569/comments/", "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 B4C24A0546;\n\tFri, 30 Apr 2021 19:53:00 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A1745410DF;\n\tFri, 30 Apr 2021 19:52:54 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id B0DDC4013F\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 E6AC320B7188;\n Fri, 30 Apr 2021 10:52:46 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com E6AC320B7188", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1619805166;\n bh=pYQXHuyZ1jd8HRKqG+mnWa4I8xOc+8ek1qwPgUGldF0=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=m/iSWl5zzm/rqpfsnwfbh757OfsVe/zGB1qIASTChVslaMzmPsvj+vyXuxOY6KNVD\n ONzPNNrUF6etYwrRGK6xFy5h622fqqg0sUSHkXuVbXLQ79Pzk8Kk0OE32HdHoJbgVh\n WczHR7zFUnUZu6lJRlusPj7t85/J640amuJQP1iY=", "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:32 -0700", "Message-Id": "<1619805162-10684-1-git-send-email-jizh@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1619553721-5220-1-git-send-email-jizh@linux.microsoft.com>", "References": "<1619553721-5220-1-git-send-email-jizh@linux.microsoft.com>", "Subject": "[dpdk-dev] [PATCH v9 00/10] app/testpmd: enable testpmd on Windows", "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": "This patchset is to enable testpmd on windows. It mainly includes:\n- Enable building libraries on Windows that testpmd depends on\n- Add necessary macros required by testpmd on Windows in rte_os_shim.h\n- Add device event stubs for Windows\n- Resolve name collisions with Windows types\n- Add clock_gettime in testpmd on Windows\n- Fix parse_fec_mode to return fec_capa instead of mode\n- Replace POSIX specific codes\n- Disable unsupported Apps build on Windows\n- Enable testpmd build on Windows\n\nFuture work:\n- Some issues discovered at validation need further investigations\n * Perf inconsistency: TPUT fluctuated significantly from runs\n * After traffic stop, port stats shows pps being 0 while bps not\n * mempool allocation only succeed with native. Other methods failed\n at rte_mem_lock/VirtualLock.\n- Hot-plug on Windows not supported yet\n- Support mempool allocation native mode only for now\n\n---\nV9 changes:\n - Add clock_gettime for Windows into eal in rte_os_shim.h\n\n---\nV8 changes:\n - Fix pointer location for _clock_gettime in config.h\n\n---\nV7 changes:\n - Resolve V6 patch set applying conflicts due to recent upstream\n merges of linux testpmd changes, lib\\meson.build format change,\n lib path changes, and sources change in meson.build under app\\\n - Move Windows clock_gettime related code from config.c into \n config.h and leverage rte_os_shim.h for timespec_get\n - Fix a \"BAD_SIGN_OFF\" warning for patch \"[v6,09/10] app/testpmd: \n fix unused function warnings\"\n\n---\nV6 changes:\n - Fix \"unused function\" compilation warning when neither i40e\n nor ixgbe presents\n\n---\nV5 changes:\n - Remove macro trailing semicolon which missed to include in V4\n\n---\nV4 changes:\n - Split previous patch into more granular patches\n - Remove the bypass of rte_eal_cleanup at exit\n - Move all added macros into rte_os_shim.h\n - Remove redundant headers after the rte_os_shim patch merge\n - Revert the mman APIs replacement to leave relevant part UNIX only\n - Keep Windows library list the same structure and order as the \n Unix library list in lib meson.build\n\t\n---\nV3 changes:\n - Split one patch into patchset\n - Replace mman APIs with rte_mem_xxx APIs\n - Use OS independant rte_rand\n - Add device event stubs for Windows\n - Disable unsupported Apps\n\n---\nV2 changes:\n - Fix commit message log long line issue\n - Fix coding style issues of pointer location\n - Fix indentation issue\n - Fix FreeBSD2101 compilation issue of AF_INET undeclared\n---\n\nJie Zhou (10):\n lib: build libraries that testpmd depends on\n eal/windows: add necessary macros\n eal/windows: add device event stubs\n eal/Windows: add clock_gettime on Windows\n app/testpmd: resolve name collisions\n app/testpmd: fix parse_fec_mode return type\n app/testpmd: replace POSIX specific code\n app/testpmd: fix headers inclusion\n app/testpmd: fix unused function warnings\n app/testpmd: enable building testpmd on Windows\n\n app/meson.build | 4 -\n app/pdump/meson.build | 6 +\n app/proc-info/meson.build | 6 +\n app/test-acl/meson.build | 6 +\n app/test-bbdev/meson.build | 6 +\n app/test-cmdline/meson.build | 6 +\n app/test-compress-perf/meson.build | 6 +\n app/test-crypto-perf/meson.build | 6 +\n app/test-eventdev/meson.build | 6 +\n app/test-fib/meson.build | 6 +\n app/test-flow-perf/meson.build | 6 +\n app/test-pipeline/meson.build | 6 +\n app/test-pmd/cmdline.c | 12 +-\n app/test-pmd/cmdline_flow.c | 514 +++++++++++++-------------\n app/test-pmd/config.c | 87 ++---\n app/test-pmd/csumonly.c | 2 +-\n app/test-pmd/icmpecho.c | 4 +-\n app/test-pmd/ieee1588fwd.c | 8 +-\n app/test-pmd/parameters.c | 11 +-\n app/test-pmd/testpmd.c | 21 +-\n app/test-pmd/testpmd.h | 5 +-\n app/test-regex/meson.build | 6 +\n app/test-sad/meson.build | 6 +\n app/test/meson.build | 6 +\n lib/eal/windows/eal_dev.c | 33 ++\n lib/eal/windows/include/rte_os_shim.h | 47 +++\n lib/eal/windows/meson.build | 1 +\n lib/meson.build | 7 +\n 28 files changed, 513 insertions(+), 327 deletions(-)\n create mode 100644 lib/eal/windows/eal_dev.c" }{ "id": 92569, "url": "