From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D0CE6A034F; Fri, 8 Oct 2021 14:21:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78F5A40E28; Fri, 8 Oct 2021 14:21:23 +0200 (CEST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mails.dpdk.org (Postfix) with ESMTP id CD13D40DDD for ; Fri, 8 Oct 2021 14:21:21 +0200 (CEST) Received: by mail-lf1-f42.google.com with SMTP id r19so36707331lfe.10 for ; Fri, 08 Oct 2021 05:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k95HfeML9lx9ft5Np8ZOjOd/e8bYbz+B0DAK0AUjObY=; b=fmiziwT4/nqfMNugXzH37Y5/jY4B2LvdhISVHw95/+V+b93R73H9BOynuU3rjrQcvU V5BffLiQVjMvboosvFcWLfHrs78BqEi5MhKdoFLdGA6HeLdAc1gcfNTZOj9Jfs0ddZUR WErI8H5Ms69Q8BV14zcNdM8jl8ziN1epmWaFsOcc8Yj0xBg7Pc5P8fmVTQ3+EWhQiOSg I7jJIfrHKHZKNzDPh7ZiQO1tR1cz19D3eWxQlhxKJNJCg0GbAgF3hIbhUpRFUhLCtkUG LDPljeyTJN6n6rJetit+N4jRNQhgl+3A7sJfFhDpSjwwqKBi+sMlVZHUFWxHK4lEro7F t3ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=k95HfeML9lx9ft5Np8ZOjOd/e8bYbz+B0DAK0AUjObY=; b=au38SVL3w4+iSrXVcHLGhTphMbNh3udxYS0rXkIJbd7qovQG9kWpoqBrM7+/jig8Mk JsokJ8tuQg0na4YrWxRq9dLbnZHl0vdyJBulNIv+7BVbvRMRtwQVoTOUHuPyUMQiiw+c KyxCtbuSKNsI6v0kEvXbdowv3p4zUx7k47X6oBOMVUIfGJG+nfy/iYBUluf9fBztSUZ+ kRJrRwdTmz7fDmUO/Y02uFDtUCfAvCl2+utddMOnelQQfwumk6cJ2er0a8sLhpgLaoTz LXe3gQiVxMasLttSvdVyblttRuw7HCX/E4Mg79sxbK4ItnzHcXLKMQ0NAJjBMW9MQ8Vu OtcA== X-Gm-Message-State: AOAM532k8KiUMa9wU4fg5O7y71EdHICkP+m7rOksmaOfqkwWS/b+Mn7D tvVYqXBOqmIRvJkrinuVn80XFk1hdDK8rDEQiYo= X-Google-Smtp-Source: ABdhPJzJIs3no67+nVPB7B/yXS0F317uKSmly3ufi3Lrw1AwKZIXD9n1pj59n3LPEFHuV3kvnjl7ywUDua2p4yivmF4= X-Received: by 2002:a05:6512:12c6:: with SMTP id p6mr9718897lfg.526.1633695681287; Fri, 08 Oct 2021 05:21:21 -0700 (PDT) MIME-Version: 1.0 References: <20211007202451.90271-1-u9012063@gmail.com> In-Reply-To: From: William Tu Date: Fri, 8 Oct 2021 05:20:44 -0700 Message-ID: To: David Marchand Cc: dev , Dmitry Kozlyuk , Pallavi Kadam , haiyue.wang@intel.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] net/e1000: build on Windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Oct 7, 2021 at 11:54 PM David Marchand wrote: > > On Thu, Oct 7, 2021 at 10:25 PM William Tu wrote: > > > > This patch enables building the e1000 driver for Windows. > > I tested using two Windows VM on top of VMware Fusion, > > creating two e1000 devices with device ID 0x10D3, > > verifying rx/tx works correctly using dpdk-testpmd.exe > > rxonly and txonly mode. > > > > Signed-off-by: William Tu > > Please, Cc: driver maintainers when touching one. > You can pass --to-cmd or --cc-cmd ./devtools/get-maintainer.sh when > calling git send-email as suggested in the contributing howto. > https://doc.dpdk.org/guides/contributing/patches.html#sending-patches Got it, thanks. > > > > --- > > Example when running: > > PS C:\dpdk> .\build\app\dpdk-testpmd.exe > > EAL: Detected CPU lcores: 4 > > EAL: Detected NUMA nodes: 1 > > EAL: Multi-process support is requested, but not available. > > EAL: WARNING: TSC frequency estimated roughly - clock timings may be less accurate. > > EAL: Probe PCI driver: net_e1000_em (8086:10d3) device: 0000:03:00.0 (socket 0) > > EAL: Requested device 0000:1b:00.0 cannot be used > > Odd to read this, and still see testpmd getting one port afterwards. This is expected. Because I only enable 1 dpdk port (0000:03:00.0) The 0000:1b:00.0 is still running kernel driver. I will mention it in next version. Thanks William