From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f68.google.com (mail-pl0-f68.google.com [209.85.160.68]) by dpdk.org (Postfix) with ESMTP id C332A1CD72 for ; Thu, 5 Apr 2018 21:13:08 +0200 (CEST) Received: by mail-pl0-f68.google.com with SMTP id s10-v6so18557046plp.0 for ; Thu, 05 Apr 2018 12:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=k+8ZoaSz3LS2Q1d/IRZwBPD/d3YsT3YrxCtI4G/TMmE=; b=JJM0WEu/rZ95Z5u+t8uZ1qjzscwt1pWm6OX4u/Oe1w/TJQT69tedXJff6aYbR791LO B+Szx1BARR9PmQL4yfpQGJ6pixcXZZsj/1gtXIIV6uwQOhGA1j5yMDvPbf1vpHSDZ/Y1 uBPXgobwIpB3zzEEzzG7GeTscNHSMkXYtOWCX4Wu0njngdzqSOETq3duS9dYC+N9DUej 9b+64+INd0EEoO0121EY3QWGWV0UB+48YHv/U1YsLKjwZIXaPEnrx8jrXmwl19E7oHIn N3u7G2Kyvabe5ov+WjheH1Zb6MTewoFoXneixEmZR7iscXaLfa+vKj6+AfVIFAkaE6dh fsag== 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; bh=k+8ZoaSz3LS2Q1d/IRZwBPD/d3YsT3YrxCtI4G/TMmE=; b=j4gxozsf2AETOwJj8xr0koo0EeD/5SBWtqx2DKSmb+sWWOVbSFnSBVo/k9Pom0goox W/tBnL6NEplkkjKp3rzBdgpIBqK58uXWDCXLWxCrzSroX5cGZwoaAuGtVnAb5pdAt4vc 787+PR7QLn9NJELU3gQgxaDT7hyA+5Xi0uC9VLf/JRRjeu9LP6u0f8ue9q6AjULpRnek YpO+4M3Oq5qxQNf0DPj1xdEhY1XBmQVgIk7gTkz2NIv0ksrW7Uw5f/cu9Gv4tR/DUxk8 cKZasNQP+vCq013Fbs+ZW2Cerh6PpvKP9TQ+t0cBHPDgjq9icjApB+lX5f7PYGzJAxia esPA== X-Gm-Message-State: AElRT7E4O7DUgEj4nAv2aM+aDFy4xoj+M+VTEqRCmqve/K2FJhMt9Lll yKePB16eBEjRchRmZ1Yyt2g1sqoDijE= X-Google-Smtp-Source: AIpwx4/3wAXbSryhkf+pr2vUBqTM9NXpUKkhYl/1jr8abhY6slcUDKt5bjK0DNIXYf2JqU77Wp/B6w== X-Received: by 10.98.157.157 with SMTP id a29mr17975963pfk.39.1522955587544; Thu, 05 Apr 2018 12:13:07 -0700 (PDT) Received: from xeon-e3.lan (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id d8sm16447947pfh.177.2018.04.05.12.13.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 12:13:06 -0700 (PDT) From: Stephen Hemminger X-Google-Original-From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 5 Apr 2018 12:13:02 -0700 Message-Id: <20180405191305.26813-1-sthemmin@microsoft.com> X-Mailer: git-send-email 2.16.3 Subject: [dpdk-dev] [PATCH 0/3] add Hyper-V bus and network driver 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: , X-List-Received-Date: Thu, 05 Apr 2018 19:13:09 -0000 This is an experimental driver originally developed by Vyatta/Brocade/ATT to support DPDK on Hyper-V. It is a native DPDK driver (unlike the TAP solution) for VMBus. The driver relies on the version UIO for Hyper-V (uio_hv_generic) which is in upstream kernel next tree (char-misc-next). It is not yet a full replacement for the failsafe/tap/vdev_netvsc solution since it does not support SR-IOV. The driver and bus interface are marked experimental until it is ready to replace them. Stephen Hemminger (3): bus/vmbus: add hyper-v virtual bus support usertools: add hv_uio_setup script net/netvsc: add hyper-v netvsc network device MAINTAINERS | 10 + config/common_base | 13 + config/common_linuxapp | 4 + doc/guides/nics/index.rst | 1 + doc/guides/nics/netvsc.rst | 53 ++ drivers/bus/Makefile | 1 + drivers/bus/vmbus/Makefile | 36 + drivers/bus/vmbus/linux/Makefile | 3 + drivers/bus/vmbus/linux/vmbus_bus.c | 354 +++++++ drivers/bus/vmbus/linux/vmbus_uio.c | 340 +++++++ drivers/bus/vmbus/private.h | 125 +++ drivers/bus/vmbus/rte_bus_vmbus.h | 381 ++++++++ drivers/bus/vmbus/rte_bus_vmbus_version.map | 23 + drivers/bus/vmbus/rte_vmbus_reg.h | 344 +++++++ drivers/bus/vmbus/vmbus_bufring.c | 242 +++++ drivers/bus/vmbus/vmbus_channel.c | 351 +++++++ drivers/bus/vmbus/vmbus_common.c | 287 ++++++ drivers/bus/vmbus/vmbus_common_uio.c | 232 +++++ drivers/net/Makefile | 1 + drivers/net/netvsc/Makefile | 23 + drivers/net/netvsc/hn_ethdev.c | 751 +++++++++++++++ drivers/net/netvsc/hn_logs.h | 35 + drivers/net/netvsc/hn_nvs.c | 533 +++++++++++ drivers/net/netvsc/hn_nvs.h | 243 +++++ drivers/net/netvsc/hn_rndis.c | 1101 ++++++++++++++++++++++ drivers/net/netvsc/hn_rndis.h | 26 + drivers/net/netvsc/hn_rxtx.c | 1224 +++++++++++++++++++++++++ drivers/net/netvsc/hn_var.h | 140 +++ drivers/net/netvsc/ndis.h | 378 ++++++++ drivers/net/netvsc/rndis.h | 414 +++++++++ drivers/net/netvsc/rte_pmd_netvsc_version.map | 5 + mk/rte.app.mk | 2 + usertools/hv_uio_setup.sh | 40 + 33 files changed, 7716 insertions(+) create mode 100644 doc/guides/nics/netvsc.rst create mode 100644 drivers/bus/vmbus/Makefile create mode 100644 drivers/bus/vmbus/linux/Makefile create mode 100644 drivers/bus/vmbus/linux/vmbus_bus.c create mode 100644 drivers/bus/vmbus/linux/vmbus_uio.c create mode 100644 drivers/bus/vmbus/private.h create mode 100644 drivers/bus/vmbus/rte_bus_vmbus.h create mode 100644 drivers/bus/vmbus/rte_bus_vmbus_version.map create mode 100644 drivers/bus/vmbus/rte_vmbus_reg.h create mode 100644 drivers/bus/vmbus/vmbus_bufring.c create mode 100644 drivers/bus/vmbus/vmbus_channel.c create mode 100644 drivers/bus/vmbus/vmbus_common.c create mode 100644 drivers/bus/vmbus/vmbus_common_uio.c create mode 100644 drivers/net/netvsc/Makefile create mode 100644 drivers/net/netvsc/hn_ethdev.c create mode 100644 drivers/net/netvsc/hn_logs.h create mode 100644 drivers/net/netvsc/hn_nvs.c create mode 100644 drivers/net/netvsc/hn_nvs.h create mode 100644 drivers/net/netvsc/hn_rndis.c create mode 100644 drivers/net/netvsc/hn_rndis.h create mode 100644 drivers/net/netvsc/hn_rxtx.c create mode 100644 drivers/net/netvsc/hn_var.h create mode 100644 drivers/net/netvsc/ndis.h create mode 100644 drivers/net/netvsc/rndis.h create mode 100644 drivers/net/netvsc/rte_pmd_netvsc_version.map create mode 100755 usertools/hv_uio_setup.sh -- 2.16.3