Cover Detail
Show a cover letter.
GET /api/covers/91291/?format=api
http://patches.dpdk.org/api/covers/91291/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/1618334363-15147-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": "<1618334363-15147-1-git-send-email-jizh@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1618334363-15147-1-git-send-email-jizh@linux.microsoft.com", "date": "2021-04-13T17:19:17", "name": "[v3,0/6] 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/1618334363-15147-1-git-send-email-jizh@linux.microsoft.com/mbox/", "series": [ { "id": 16343, "url": "http://patches.dpdk.org/api/series/16343/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16343", "date": "2021-04-13T17:19:17", "name": "app/testpmd: enable testpmd on Windows", "version": 3, "mbox": "http://patches.dpdk.org/series/16343/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/91291/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 DCB78A0524;\n\tTue, 13 Apr 2021 19:19:30 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BDE2B1611EE;\n\tTue, 13 Apr 2021 19:19:30 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id D32C21611E2\n for <dev@dpdk.org>; Tue, 13 Apr 2021 19:19:28 +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 1CAB320B8001;\n Tue, 13 Apr 2021 10:19:28 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 1CAB320B8001", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1618334368;\n bh=nMeenY5P/WavqFqx/UvLQQHHU/VxoVAFhA2wiEO4mxA=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=h2X+nZkAJTiJzANEcVD3g867e95wkX+U4KFB56GTgnc5wWnKN++UbsBkCnGBCw509\n 1Kk3Q7XcOQGR8SOdFUh7a7fRLUjlKlWmKsHfhaXKw+z5Ai1kply4/OnpyhQWKMW17P\n WXTdlwckr8KMbUh9iy+4wKO+MlZYP+iCcfURix6I=", "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": "Tue, 13 Apr 2021 10:19:17 -0700", "Message-Id": "<1618334363-15147-1-git-send-email-jizh@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1616172695-28505-1-git-send-email-jizh@linux.microsoft.com>", "References": "<1616172695-28505-1-git-send-email-jizh@linux.microsoft.com>", "Subject": "[dpdk-dev] [PATCH v3 0/6] 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 patch is to enable testpmd on windows. It mainly includes:\n- Enable building libraries on Windows that TestPMD depends on\n- Enable building testpmd on Windows\n- Resolve name collisions with Windows types\n- Add clock_gettime_monotic for testpmd on Windows\n- Make printf format work for both Linux and Windows\n- Add missing macros\n- Add missing IPPROTO_RAW to in.h\n- Replace htons with RTE_BE16\n- Replace inet_aton with inet_pton\n- Fix parse_fec_mode to return fec_capa to remove compilation warning\n- ...\n\nIssue under active investigation:\n- Recent DPDK upstream change \"eal: detach memsegs on cleanup\" exposed\n failure at eal exit with \"EAL: Could not unmap memory: No Error\".\n Investigating KERNELBASE!UnmapViewOfFile. The issue will cause system\n crash. Currently temporarily remove cleanup at exit on Windows.\n Will revert after issue root caused and fixed\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\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\n\nJie Zhou (6):\n app/testpmd: build libraries that testpmd depends on\n app/testpmd: define IPPROTO_RAW in in.h\n app/testpmd: add required Macros\n app/testpmd: add device event stubs on Windows\n app/testpmd: add rte_mem_lockall in librte_eal\n app/testpmd: enable testpmd on Windows\n\n app/meson.build | 10 +-\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 | 440 ++++++++++----------\n app/test-pmd/config.c | 35 +-\n app/test-pmd/csumonly.c | 2 +-\n app/test-pmd/icmpecho.c | 4 +-\n app/test-pmd/ieee1588fwd.c | 10 +-\n app/test-pmd/meson.build | 4 +\n app/test-pmd/parameters.c | 8 +-\n app/test-pmd/testpmd.c | 44 +-\n app/test-pmd/testpmd.h | 4 +-\n app/test-regex/meson.build | 6 +\n app/test-sad/meson.build | 6 +\n app/test/meson.build | 6 +\n lib/librte_eal/include/rte_eal_paging.h | 20 +\n lib/librte_eal/unix/eal_unix_memory.c | 13 +\n lib/librte_eal/version.map | 1 +\n lib/librte_eal/windows/eal_dev.c | 35 ++\n lib/librte_eal/windows/eal_memory.c | 10 +\n lib/librte_eal/windows/include/netinet/in.h | 1 +\n lib/librte_eal/windows/include/rte_os.h | 16 +\n lib/librte_eal/windows/meson.build | 1 +\n lib/meson.build | 7 +\n 34 files changed, 500 insertions(+), 261 deletions(-)\n create mode 100644 lib/librte_eal/windows/eal_dev.c" }{ "id": 91291, "url": "