From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f179.google.com (mail-wj0-f179.google.com [209.85.210.179]) by dpdk.org (Postfix) with ESMTP id 7A6EA2A5D for ; Wed, 14 Dec 2016 10:52:40 +0100 (CET) Received: by mail-wj0-f179.google.com with SMTP id tk12so24082818wjb.3 for ; Wed, 14 Dec 2016 01:52:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=a2HRgU8QNPccxeypSpqqBeZIhWr8IH+EBttVXlrlNew=; b=SNpTnyCsEnMWn0sXconIn+iMvmvGxcA48Z+zMzdjyq6EU8nC90cmGgap0XHuphY+6i tN2ieEUclM+eU/Wo40Xz33nwSgANcfR8uP2YVZ3H1At7630GLqH2MhwtiqBNOpgo//BQ Feyeq0U7TDAzcgoaZl4Bvh8l6Ip4x4JtTc2q6V4KGw+wUhHw4Xow1uWzKfLD5spIsxky BjmDdoxjdsyNBvsAJyr8DjLqXivDkCYBPTEBiHK7F2Dh5YHdkJmyiylbRdWM9gradXAx pfwLxH+RkQBOM/NfFCokCFTFpkX3mOFAdeJlg/XXZ+DXNOFy5LW1kXrIBomgTn4Saqc9 +X/A== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=a2HRgU8QNPccxeypSpqqBeZIhWr8IH+EBttVXlrlNew=; b=GemAhHNBOuaXzuTYU7CRWSi2nMuxxeZjtOknhIl0kwkCSc1or7d1wPa0Ujls0QvxiQ 6oRfuwxRiBeEtwfCBeZzNslHT4zb09AZusNFreiOldrTGw+fvwrw2clyhzs0j//Qkzsm KBie5JL7K9mu3QzwW1iB6IT7ax1JCbEBSAtrUpZq4S3q4pUFgOlHBfIyuXHotuIsrfQE a4ZtrEfxd/YBsEj3tNUTd063W5bMOzg8m70H5fj/Lwzcj9K7o/j75G/XyywBO57CsTDy n9bXtqIeWQOxVZ+qdDf7FrYoMb4wA+KdweOd87r097kLTbwT3UmMcgD61LGjHF7LoRs5 ItTg== X-Gm-Message-State: AKaTC01zjFlgYjqauorDB5j5nzLHix2iHL+Zjj7ZQZO2pD/zxcZRaESK7FGf5TGQZXLwQY2X X-Received: by 10.194.173.73 with SMTP id bi9mr87771591wjc.120.1481709160203; Wed, 14 Dec 2016 01:52:40 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id i132sm6717451wmf.14.2016.12.14.01.52.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Dec 2016 01:52:39 -0800 (PST) From: Thomas Monjalon To: Kumaraparameshwaran Rathnavel Cc: users@dpdk.org Date: Wed, 14 Dec 2016 10:52:38 +0100 Message-ID: <2724477.26M6RAmHcu@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <0E45546B-1C54-4673-B932-867C6ED6683F@cloudsimple.com> References: <0E45546B-1C54-4673-B932-867C6ED6683F@cloudsimple.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-users] Network - Drivers X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 09:52:40 -0000 Hi, 2016-12-14 15:08, Kumaraparameshwaran Rathnavel: > Hi All, > > I have been trying to use network drivers provided by the DPDK to write a small client - server application. I will explain the configuration I suggest to start your tests with testpmd in txonly mode. > I used uio_pci_generic and igb_uio both modules in the Kernel for DPDK Network drivers in userspace. The client and server were run on Centos VM with virtual box as the Host and made sure that Virtual NIC had the driver. > > The sequence of calling the functions as > > rte_eth_dev_count > rte_eth_dev_configure > tx_queue_setup > rte_pkt_mbuf_alloc > > I filled the packet with Ethernet Header and Ethertype as 0x8870. I did fill the pkt_len and l2_hdr len. I did not fill the VLAN Tag, Outer VLAN tag, > flags. Transmission is showing success but I am not receiving any packet in the other side wheree i run the receiver setup. > > Can you suggest what should be done and how it should be done. > > Does Drivers work in Virtual Box? If not which is prefered ESX or KVM and does Virtual NICs work? The supported NICs are listed here: http://dpdk.org/doc/nics Virtualbox is not known to be fully compatible, but virtio works with Qemu/KVM and vmxnet3 works with ESX.