From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171]) by dpdk.org (Postfix) with ESMTP id 5EDE68DA1 for ; Tue, 19 Jan 2016 12:46:31 +0100 (CET) Received: by mail-pf0-f171.google.com with SMTP id 65so174243470pff.2 for ; Tue, 19 Jan 2016 03:46:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mvista-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=hhY5J3fCgtCwP/e7/jw0C2CRvIS337UWu6yy8iyJYjg=; b=wksQ+xJiYxZhfIhxahf+Lk/gRGts5JOTpB2W2HL4NnKvuSQaIvRil/nHsH2C5CUqWB lJQXGJaD6gpug7YOZJB8etJ2gVS8bHW77er91BmmGuuwrcvDDCdfxh10YoTYYAAuMUNu bEywUm9IqiFQalefCvcTJ25BdQqzGOrLcdTeJfH4bINrm3mLS3r1sdSdk21prddX1taD chptiwTPdkxGlAOJKuQ+psQSX/K4ELvJbNld5QZAOAQfHut9/3ok+6Upzy4xA5T2CMP+ m66T3OZRvhgbeRGg2Z7jj7V+qW6gwBRU7YBPp70ULK/6Xl66mAdOtUc+01Anr7MSRKwc +njA== 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=hhY5J3fCgtCwP/e7/jw0C2CRvIS337UWu6yy8iyJYjg=; b=DeO1LtDllmtRlFTkP7JK7DO57HCIhYwOb+Lh05PaZVG40Sb3uhAyIeHGjriPubrl+i DWxxwJDzgUDfRAXekFo/iZFHtwv2BgBmEZeDhkgD0z0S2r1wTY6JE/e2OfyBhMJyn5q1 eZ2PeaFGBN1lxyYbBKLPXkLK08ZZS1qbTJwp8mCiEc83kxsNNHVkUvcRc40HJf03McjL jsTDL776h7GGsmWArASZe5FiHp66cTa60aROGQVpgnBOuAh618YL6vqIXSNmyGQ6BgLh xeB1GGV2njD8v5QVsgm97+FNEzbtLHDQYIeGwGe4LF/J2eqtHLkWrG3rsBA8+Mvl9PKE DUWA== X-Gm-Message-State: ALoCoQmifIqXbSiGD3Hb0BoJPWcs9F4P0oFxooGsUXNCYJ2+IZuKx90ZbzCtfgeHclPGxUGvu1Wid50foRhwABdUXWvVq7gPOA== X-Received: by 10.98.76.149 with SMTP id e21mr43952709pfj.89.1453203990741; Tue, 19 Jan 2016 03:46:30 -0800 (PST) Received: from santosh-Latitude-E5530-non-vPro.mvista.com ([111.93.218.67]) by smtp.gmail.com with ESMTPSA id 75sm41014170pfj.20.2016.01.19.03.46.27 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jan 2016 03:46:29 -0800 (PST) From: Santosh Shukla To: dev@dpdk.org Date: Tue, 19 Jan 2016 17:16:01 +0530 Message-Id: <1453203972-24855-1-git-send-email-sshukla@mvista.com> X-Mailer: git-send-email 1.7.9.5 Subject: [dpdk-dev] [PATCH v5 00/11] Add virtio support for arm/arm64 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: Tue, 19 Jan 2016 11:46:31 -0000 Hi, Patch series uses vfio-noiommu-way to access virtio-net pci interface. Tested for arm64 thunderX/ x86_64 platform. Patch builds for x86/i386/arm/armv8/thunderX. Tested with testpmd application. Patchset rebased on yuan's under review virtio-1.0 v2 patchset and using vfio-noiommu patch. Refer my public branch [1]. Step to enable vfio-noiommu mode: - modprobe vfio-pci echo 1 > /sys/module/vfio/parameters/enable_unsafe_* - then bind ./tools/dpdk_nic_bind.py -b vfio-pci 0000:00:03.0 - Testpmd application to try out for: ./app/testpmd -c 0x3 -n 4 -- -i --portmask=0x0 --nb-cores=1 --port-topology=chained On host side ping to tapX interface and observe pkt_cnt on guest side. v4 --> v5: - Introducing RTE_KDRV_VFIO_NOIOMMU driver mode - Incorporated v4 review comments, Pl. refer each patchset for review change. For older version(v4.. v1) patch history, refer [2]. Thanks. [1]https://github.com/sshukla82/dpdk.git branch master-virtio-vfio-v5 [2]http://comments.gmane.org/gmane.comp.networking.dpdk.devel/31402 Anatoly Burakov (1): vfio: Support for no-IOMMU mode Santosh Shukla (10): virtio: Introduce config RTE_VIRTIO_INC_VECTOR linuxapp: eal: arm: Always return 0 for rte_eal_iopl_init() linuxapp/vfio: ignore mapping for ioport region virtio_pci.h: build fix for sys/io.h for non-x86 arch eal: pci: vfio: add rd/wr func for pci bar space virtio: vfio: add api support to rd/wr ioport bar virtio: pci: extend virtio pci rw api for vfio interface eal: pci: introduce RTE_KDRV_VFIO_NOIOMMUi driver mode virtio_pci: do not parse if interface is vfio-noiommu virtio: pci: add dummy func definition for in/outb for non-x86 arch doc/guides/rel_notes/release_2_3.rst | 3 - drivers/net/virtio/virtio_ethdev.c | 302 ++++++++- drivers/net/virtio/virtio_ethdev.h | 3 +- drivers/net/virtio/virtio_pci.c | 793 +---------------------- drivers/net/virtio/virtio_pci.h | 120 +--- drivers/net/virtio/virtio_rxtx.c | 21 +- drivers/net/virtio/virtio_rxtx_simple.c | 12 +- drivers/net/virtio/virtqueue.h | 4 +- lib/librte_eal/bsdapp/eal/eal_pci.c | 4 +- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 7 - lib/librte_eal/common/eal_common_pci.c | 4 +- lib/librte_eal/common/eal_private.h | 18 + lib/librte_eal/common/include/rte_pci.h | 27 - lib/librte_eal/linuxapp/eal/eal_pci.c | 4 +- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 7 - 15 files changed, 380 insertions(+), 949 deletions(-) -- 1.7.9.5