From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by dpdk.org (Postfix) with ESMTP id B5436B3D6 for ; Thu, 5 Feb 2015 02:13:34 +0100 (CET) Received: by mail-pa0-f45.google.com with SMTP id et14so6381657pad.4 for ; Wed, 04 Feb 2015 17:13:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pwI6o0Z27dcbKaZk766q5b1NYDG9Fgwc2WVihw/o5xY=; b=H+4h5ZM0COgsRSsSdwZJ4zOCx5QMQW+y6QK53qF2Yuxc9ZVIDOvzk3b3mMRb18bcQ5 xz6BstJLdw2AwUrx0ylAkU2uIC2/GQ3N2F9RmHYiuIUyLBlLfHY3X6LtlqtTVqIlZh11 icT80HTvxBQhT20Sf3VlrTxhTOmD68NZmsQu/awAbP413L93VGSCYq20m66pUyLYyBJT QxO8Vf0jSZb8YDnhkAy2uY8u8OQCttZe2vIqAhCGJz4yjnfEUpRqxBiRAfnZ0Xs6f86y Y4me/cgIP9fHW8PllCd7kAdjtUKvRysRriu6xR7BdMaiSa5fpjSJKO1/Ui0a9BXh/4HF flaQ== X-Gm-Message-State: ALoCoQme92VZ+Qnpi+zTlC5fQtS2630Cx+0FQv/I9mmkkVSLnX7f49NKi099yihRPQs3hh6aoAQb X-Received: by 10.68.195.234 with SMTP id ih10mr1750008pbc.66.1423098813759; Wed, 04 Feb 2015 17:13:33 -0800 (PST) Received: from urahara.brocade.com (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id cz1sm3236673pdb.32.2015.02.04.17.13.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Feb 2015 17:13:33 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Date: Wed, 4 Feb 2015 17:13:22 -0800 Message-Id: <1423098809-21305-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Cc: KY Srinivasan , Stephen Hemminger Subject: [dpdk-dev] [PATCH 0/7] Hyper-v driver and infrastructure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2015 01:13:35 -0000 From: Stephen Hemminger This patch series contains the necessary pieces to implement a poll mode driver for the Hyper-V virtual network interface. This device driver was developed from the FreeBSD code. And is released by Brocade under the same license as the rest of the DPDK. I.e the PMD is BSD and kernel parts are GPL. The code was developed on previous version of DPDK (1.6) and has been ported to current version. But it has not been tested on the current version yet. Stephen Hemminger (7): ether: add function to query for link state interrupt pmd: change drivers initialization for pci hv: add basic vmbus support hv: uio driver hv: poll mode driver hv: enable driver in common config hv: add kernel patch config/common_linuxapp | 9 + lib/Makefile | 1 + lib/librte_eal/common/Makefile | 2 +- lib/librte_eal/common/eal_common_options.c | 5 + lib/librte_eal/common/eal_internal_cfg.h | 1 + lib/librte_eal/common/eal_options.h | 2 + lib/librte_eal/common/eal_private.h | 10 + lib/librte_eal/common/include/rte_pci.h | 2 + lib/librte_eal/common/include/rte_vmbus.h | 153 ++ lib/librte_eal/linuxapp/Makefile | 3 + lib/librte_eal/linuxapp/eal/Makefile | 3 + lib/librte_eal/linuxapp/eal/eal.c | 5 + lib/librte_eal/linuxapp/eal/eal_vmbus.c | 658 ++++++++ lib/librte_eal/linuxapp/hv_uio/Makefile | 57 + lib/librte_eal/linuxapp/hv_uio/hv_uio.c | 551 +++++++ lib/librte_eal/linuxapp/hv_uio/hyperv_net.h | 907 +++++++++++ .../linuxapp/hv_uio/vmbus-get-pages.patch | 55 + lib/librte_ether/rte_ethdev.c | 98 +- lib/librte_ether/rte_ethdev.h | 27 +- lib/librte_pmd_e1000/em_ethdev.c | 2 +- lib/librte_pmd_e1000/igb_ethdev.c | 4 +- lib/librte_pmd_enic/enic_ethdev.c | 2 +- lib/librte_pmd_hyperv/Makefile | 28 + lib/librte_pmd_hyperv/hyperv.h | 169 ++ lib/librte_pmd_hyperv/hyperv_drv.c | 1660 ++++++++++++++++++++ lib/librte_pmd_hyperv/hyperv_drv.h | 558 +++++++ lib/librte_pmd_hyperv/hyperv_ethdev.c | 334 ++++ lib/librte_pmd_hyperv/hyperv_logs.h | 68 + lib/librte_pmd_hyperv/hyperv_rxtx.c | 402 +++++ lib/librte_pmd_hyperv/hyperv_rxtx.h | 35 + lib/librte_pmd_i40e/i40e_ethdev.c | 2 +- lib/librte_pmd_i40e/i40e_ethdev_vf.c | 2 +- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 4 +- lib/librte_pmd_virtio/virtio_ethdev.c | 2 +- lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 2 +- mk/rte.app.mk | 4 + 36 files changed, 5809 insertions(+), 18 deletions(-) create mode 100644 lib/librte_eal/common/include/rte_vmbus.h create mode 100644 lib/librte_eal/linuxapp/eal/eal_vmbus.c create mode 100644 lib/librte_eal/linuxapp/hv_uio/Makefile create mode 100644 lib/librte_eal/linuxapp/hv_uio/hv_uio.c create mode 100644 lib/librte_eal/linuxapp/hv_uio/hyperv_net.h create mode 100644 lib/librte_eal/linuxapp/hv_uio/vmbus-get-pages.patch create mode 100644 lib/librte_pmd_hyperv/Makefile create mode 100644 lib/librte_pmd_hyperv/hyperv.h create mode 100644 lib/librte_pmd_hyperv/hyperv_drv.c create mode 100644 lib/librte_pmd_hyperv/hyperv_drv.h create mode 100644 lib/librte_pmd_hyperv/hyperv_ethdev.c create mode 100644 lib/librte_pmd_hyperv/hyperv_logs.h create mode 100644 lib/librte_pmd_hyperv/hyperv_rxtx.c create mode 100644 lib/librte_pmd_hyperv/hyperv_rxtx.h -- 2.1.4