From patchwork Fri Feb 28 06:07:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Kozlyuk X-Patchwork-Id: 66121 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0F8AEA0561; Fri, 28 Feb 2020 07:07:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C18D31BF8F; Fri, 28 Feb 2020 07:07:39 +0100 (CET) Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by dpdk.org (Postfix) with ESMTP id D8FCC23D for ; Fri, 28 Feb 2020 07:07:37 +0100 (CET) Received: by mail-lj1-f195.google.com with SMTP id o15so1997829ljg.6 for ; Thu, 27 Feb 2020 22:07:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=szgFIG0Uemp3PahUIe0JOzypdIgNspkkdZhPK/TzI5I=; b=dlp5ZQgE+td5wTTjG5HK3SEyr4skNutiAZfB/pYINmOjtJOO49r0eoyCP+PooRi5jj jr9PYYN3MBn5KYLKWLBwmlugA9yI3BKYqlKsC7rUGTDy2894i6kWK37rOZ74CfzgsDx6 l2wT2Oa/QR0U5PbOBW9w02GG2K4D/Y5ti95Hz7MERQY2TVIJo0bZp78Gpp+IYhw/vjTA kleQcclKjXBDybCYStaNzxVRLEB1DX4qCoH10sArGmw8GkSDZMrLUZnWx4bzSmP1wxKW HWUvdTVYAUSplXYfYDoHL0lQd6EPt6ywlL2lKFnd0plfqRjXqHACSJ3oACjs4FnP+BeA ApFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=szgFIG0Uemp3PahUIe0JOzypdIgNspkkdZhPK/TzI5I=; b=UmEueHvTXJj5xdezqU47l3Nn/myIKn0+OsuVj9m25rtq/DtWhbMWcn0/3KWyznOywt WlEHWXfck3dyC9V6PoKVq5/Koc5Bgc4tb7zqBxJtw1XIK0ZwB7SbuDAtc1JLmrsBB7aQ NZYK52Io4Ka7Fjyk++nG300wkMDFgeGwx49l8UeIMJOJ4BBqzosE8W5K6TOMG7JVle7r GzQ71v/d/5/PfRAB5KCk06qR7DyedehOPwkttdM1VO8XIZOHM1TmMkBr9tZeSEnpRr5x PsU+YWdnLU8RZcfOcocbnLei1tIqp+++WR/pu+TubX7HjlwSy53r2UhdFX7QbMOMmD/k Ojow== X-Gm-Message-State: ANhLgQ1PvoLCSZlo1fcTxi+0xfVKnO3ZOCKCgFscNPp6teTziCwEZRkn C+BFe8F44mU9RJ7/kH9f7iD0+LmqtYE= X-Google-Smtp-Source: ADFU+vuFqHBiym4SwdNbUgRwd253PAxMuOES8sQKbs2r7bjg6npim+F2+iH/plS0eRcPOD6QE+H1nw== X-Received: by 2002:a2e:b4f6:: with SMTP id s22mr1719472ljm.218.1582870056017; Thu, 27 Feb 2020 22:07:36 -0800 (PST) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.googlemail.com with ESMTPSA id r12sm4819281ljh.105.2020.02.27.22.07.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 22:07:34 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Kozlyuk , Ranjit Menon , Pallavi Kadam , Harini Ramakrishnan , Narcisa Ana Maria Vasile , William Tu Date: Fri, 28 Feb 2020 09:07:22 +0300 Message-Id: <20200228060727.192491-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200227071126.75162e92@Sovereign> References: <20200227071126.75162e92@Sovereign> MIME-Version: 1.0 Subject: [dpdk-dev] [RFC PATCH 0/5] virtio-net support for Windows draft X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" This patchset provides reference of the changes made to run virtio-net PMD with Windows draft DPDK, so that this could be reproduced. Is is not intended to be merged neither soon, nor "as is". Patches must be applied over "multi-BAR" patchset yet to be released by Microsoft, those patches are not included. After applying Microsoft patches, the whole drivers/net/virtio directory from upstream v18.08 must be imported. It is also not included for brevity. Dmitry Kozlyuk (5): pci/windows: add stubs for port IO net: add stub for RARP packet generation on Windows pci/windows: split config I/O into series of fixed-size operations netuio: change class for Net to custom mk/windows: add virtio-net PMD drivers/bus/pci/windows/pci.c | 80 +- drivers/net/virtio/virtio_ethdev.c | 4 + kernel/windows/netuio/netuio.inf | 17 +- lib/librte_eal/windows/eal/eal.c | 4 + lib/librte_net/rte_net.c | 12 + mk/exec-env/windows/dpdk.sln | 754 +++++++++--------- mk/exec-env/windows/l2fwd/l2fwd.vcxproj | 242 +++--- mk/exec-env/windows/l3fwd/l3fwd.vcxproj | 292 +++---- .../librte_pmd_i40e.vcxproj.filters | 198 +++++ .../librte_pmd_net_virtio.vcxproj | 129 +++ 10 files changed, 1075 insertions(+), 657 deletions(-) create mode 100644 mk/exec-env/windows/librte_pmd_net_virtio/librte_pmd_i40e.vcxproj.filters create mode 100644 mk/exec-env/windows/librte_pmd_net_virtio/librte_pmd_net_virtio.vcxproj