From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [209.85.192.182]) by dpdk.org (Postfix) with ESMTP id 50FE42A5D for ; Wed, 14 Dec 2016 11:02:17 +0100 (CET) Received: by mail-pf0-f182.google.com with SMTP id c4so3427501pfb.1 for ; Wed, 14 Dec 2016 02:02:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudsimple-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Vo/+2G8QB2gG5i0fCEALbxQR1TRvYyd/KFMHtg8BcdI=; b=b/aO8pVYXP5JxRDUJu+WEPiUycQXNTfKjpZx8nk8PKiy0YrzpOcu9K5v1uW1fRUQCx MHeikKWIJYJNIhqJ/tHEejnS24IeeNH9hPo9vimuELRLSNyGoO4s/vfjArB4dVZe+nAN GRoSxCtWFUBuqQl3PR8EPPuUuxM3L316ilBs3fC6Lw6WIjD3F1P97XE44fM1LzfupnHg HRPL6qP/IPetHGmc1PRxv/DsOhgFCKEAMr1nUF2iYwnMuWawi3SgcCLV4ymXggtdNjYe F1d6dhis8zWMgHyxZt/Rz/vogpueHstgQnBB7CM84ESo/WLIQXrcPl9AGgBhdeayfN+0 3vbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Vo/+2G8QB2gG5i0fCEALbxQR1TRvYyd/KFMHtg8BcdI=; b=fw7xK5KjB2XbaKVxmFRKk2BWvicT4GMqTg5l+fek+gmwnyREMYqM9RTg1nZa9hWHMq OofbKyKRKXElrVWAL/e8NDZcMzdZNi2cz7xE2n+NIdLKcJ0tQDqsLNVGOH7Q72SPK94y U/Q2ZZPG06RGXgrPaBwD99sQ47sFZYZAC+p0RNaysgk9697c9YLwP+qG5QtOJe99A2VB HcPLxf5n4Nr5N7qo0PlBOcg8ip/exPYUqqme8Mw15oouokcierqIIqMADyw01Dmcbg5U ktnZ0FwxAPP3ucG46k70Oc+//8mGAEhpFUC6gsX/l+wfGOtAGuaVbEFoVBX0Io+sDWgJ GA0Q== X-Gm-Message-State: AKaTC023BCIrqyW5LByRwY1NGrQ4GfaoACVcE8bjd0SmKgAjVbAx2gGAWe+88TZt60I+lVuR X-Received: by 10.84.216.28 with SMTP id m28mr51298036pli.107.1481709736436; Wed, 14 Dec 2016 02:02:16 -0800 (PST) Received: from [192.168.0.100] ([106.51.65.217]) by smtp.gmail.com with ESMTPSA id 72sm86009812pfw.37.2016.12.14.02.02.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Dec 2016 02:02:16 -0800 (PST) From: Kumaraparameshwaran Rathnavel Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Date: Wed, 14 Dec 2016 15:32:13 +0530 In-Reply-To: <2724477.26M6RAmHcu@xps13> Cc: users@dpdk.org To: Thomas Monjalon References: <0E45546B-1C54-4673-B932-867C6ED6683F@cloudsimple.com> <2724477.26M6RAmHcu@xps13> X-Mailer: Apple Mail (2.3251) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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 10:02:17 -0000 Sure I will try that. I am getting an error called =E2=80=9CEmpty set of = forwarding logical cores - check the core mask supplied in the command = parameters=E2=80=9D. What does this mean? I have 2 cores and I give core = mask argument as -c f Thanking You, Param. > On 14-Dec-2016, at 3:22 PM, Thomas Monjalon > wrote: >=20 > Hi, >=20 > 2016-12-14 15:08, Kumaraparameshwaran Rathnavel: >> Hi All, >>=20 >> I have been trying to use network drivers provided by the DPDK to = write a small client - server application. I will explain the = configuration >=20 > I suggest to start your tests with testpmd in txonly mode. >=20 >> 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. >>=20 >> The sequence of calling the functions as=20 >>=20 >> rte_eth_dev_count >> rte_eth_dev_configure >> tx_queue_setup >> rte_pkt_mbuf_alloc >>=20 >> 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. >>=20 >> Can you suggest what should be done and how it should be done. >>=20 >> Does Drivers work in Virtual Box? If not which is prefered ESX or KVM = and does Virtual NICs work? >=20 > 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.