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 545C8A0C47; Fri, 8 Oct 2021 22:35:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2B3840DF6; Fri, 8 Oct 2021 22:35:38 +0200 (CEST) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mails.dpdk.org (Postfix) with ESMTP id 69B5140DDB for ; Fri, 8 Oct 2021 22:35:37 +0200 (CEST) Received: by mail-lf1-f46.google.com with SMTP id r19so41840320lfe.10 for ; Fri, 08 Oct 2021 13:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AhdpneneP04zn236z0xDyKsWF5vud0X3NSxdn4C9+AA=; b=cmL6OvnnPaDf6/9DrawpTkKySBXzSXf2K/ZVURxLlgOREUJnRqWGiL4Rk72G0pSX/C yJKHU9Z6T69Huit/pEqXlw8+95lhJTMEnjvssl37OqDu4mIVUHBtafuu4em96uEQUZqq FcA8+91OHBb4TLqDBSFJOrFlzLM1fWKSOpBM7p0Et2a6LJ21JIwW5xQir3maq4JKrWis 4nrmiRUaQ8qEg6HQyr164XJGRLr02hqghTZvMVk8tXp921bqfgCl0mmkwSSCBqnr71K7 RjP6qczDoLkNgbm+8rVzxFdglvo5fkMwYMod2Cn32GOcN23RGqTrfCfjj78hGDXBVFZU AIwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AhdpneneP04zn236z0xDyKsWF5vud0X3NSxdn4C9+AA=; b=AUIM8aPYzCuZze11q5wnHQTTgyh1/cYmiq31UawuJRWUWaspwuxKoSYxCCl191VGbM eGL9D704wf0WRe8zyvn/GJmFR3gJLUaASJIfe5u5pP4vxqRoSZsJf7l+PUOTAL+2RvMW u720yHyKqzWang6PFrVhx4955+Wc5DOjyFsPGFJ5HSM9fXw7eIte/A8CJopUV0mcGWpk HUUWWtYJih2r6xSSh2CkVOqnBr9BHbpLGP5QUUKj5dCazRoCbi7dIMdHp0NzYjHqtPEP 44ESzLfD+svBnYLbTOLRQCTT4xSIQZ2qdzSI8mFOc40RqgHY+e/g9G0TXPUcSMFctjWa 2z0g== X-Gm-Message-State: AOAM533njF7LTEkgvljz8x0FpsVyMaRbuLqNgu9QRZgmwRfhezsHOXa5 FllAi6WlT+uVd1fQVkAbM/o= X-Google-Smtp-Source: ABdhPJzKRdXdNUrpeYfnxvKhXFzQlPBVp3OJV9Ap74k965PFnBfGbwlxaqQkNCkbADCg/DRxNQo+gw== X-Received: by 2002:a2e:bd04:: with SMTP id n4mr5624861ljq.273.1633725336858; Fri, 08 Oct 2021 13:35:36 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id j16sm27766lfm.207.2021.10.08.13.35.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 13:35:36 -0700 (PDT) Date: Fri, 8 Oct 2021 23:35:35 +0300 From: Dmitry Kozlyuk To: William Tu Cc: dev@dpdk.org, pallavi.kadam@intel.com, david.marchand@redhat.com, Haiyue Wang Message-ID: <20211008233535.5e872404@sovereign> In-Reply-To: <20211008135346.875-1-u9012063@gmail.com> References: <20211007202451.90271-1-u9012063@gmail.com> <20211008135346.875-1-u9012063@gmail.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] 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" 2021-10-08 06:53 (UTC-0700), William Tu: > 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 > Cc: Haiyue Wang Will there be an accompanying kmods patch to add the device ID to .inf? With device ID added to netuio, in QEMU with -device e1000e, Tested-by: Dmitry Kozlyuk > diff --git a/doc/guides/nics/e1000em.rst b/doc/guides/nics/e1000em.rst > index 041c9a09a3a5..03ae23838bfa 100644 > --- a/doc/guides/nics/e1000em.rst > +++ b/doc/guides/nics/e1000em.rst > @@ -1,6 +1,8 @@ > .. SPDX-License-Identifier: BSD-3-Clause > Copyright(c) 2010-2014 Intel Corporation. > > +.. include:: > + > Driver for VM Emulated Devices > ============================== > > @@ -153,3 +155,14 @@ The following are known limitations: > #. Qemu e1000 only supports one interrupt source, so link and Rx interrupt should be exclusive. > > #. Qemu e1000 does not support interrupt auto-clear, application should disable interrupt immediately when woken up. > + > +Windows Configuration > +--------------------- > + > +- Follow the :doc:`guide for Windows <../windows_gsg/run_apps>` > + to setup the basic DPDK environment. > + > +- Identify the Intel\ |reg| Ethernet adapter. > + > +- To load NetUIO driver, follow the steps mentioned in `dpdk-kmods repository > + `_. There is nothing special about setting up this device on Windows. I think we don't need this part.