From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by dpdk.org (Postfix) with ESMTP id 7B3C3374E for ; Sat, 16 Sep 2017 09:00:25 +0200 (CEST) Received: by mail-oi0-f46.google.com with SMTP id b1so981064oih.4 for ; Sat, 16 Sep 2017 00:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=W55iHtrqq9oy5IldT692vwM8q31GujRT+Jg63zLEYXg=; b=NjRphinaK/rpU90/95/IrjKw967uP4sQWEhlqCeuzqGrMtm9e5gp4r7IQsdcumSzpp fEabGedh4N6Oi4TWPoTm3vGizy9Of/SF3QQixtNd1uRcYa4vdD3NA125joK2QU2A6Bdb vU35GkAotC7cyqAA1DaB4mZsaqPa+jdcMFM84HCpDi2A+KrZvBZ8TOOD9jOU3PrCqzyl EdnZ2YLNhW8K3Z1TKN5QBjCwtrDigD0ztx7nxV/UaVAQeEasYhTVENTPJCDtJ5fDZjpg 5sg45hNrSF7qiaJNz6LRtAc+FTHgR/cbzoNcgb6B0dbFNzZecHSUI1i4k/I6FMTwAKuw 9c1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=W55iHtrqq9oy5IldT692vwM8q31GujRT+Jg63zLEYXg=; b=gYjq5vI5M+mn7s39l78SZeTwesdBVvNEex+YrejNXmQDgHRAYjvo5uVvMI8ihhC13Q ASwI/cZ/MSplNcI3UHOUQAs1gC+z7J7CRg0W49Vwu+vrj+XsWtM6MclYnrf69h/w3RGB fYs1ZtNqMYY4KacppdpediubVLPfOASG51kDIaK87D2+7vuQ//nfgC84icw0o00OZDvj yEEF8+kM5ziSLBtoN3+VGleVfHwl5uFjv9rNtEQR9KwRbGO0rwaOJfxEc8apc/BMMuvE OBfLLKsDbgDpNe1qnyiF2JYorNeBA3wL6jE8x36H6IFt7bTRV1rfZ1IJUfZlai4nvpcv LnKw== X-Gm-Message-State: AHPjjUiLUMmqmUEMYNCkzgfvaW4w5UYblovMSzdPszuLAIwuxebdu1+p x3mV5ezx2JQvqEeppN/wnxeAVEuirGOY30Ttd0g= X-Google-Smtp-Source: AOwi7QAPeiuWol3YR4/oELqV+acffK82mpvtST+qizfkJdxX4KQYiP3BFasN6/1KBI1Hz+x08gL6eFa3dtkadW+pXDo= X-Received: by 10.202.72.146 with SMTP id v140mr28891418oia.308.1505545224711; Sat, 16 Sep 2017 00:00:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.156.207 with HTTP; Sat, 16 Sep 2017 00:00:04 -0700 (PDT) In-Reply-To: <092dab13-f764-95f4-d3c7-1ef9423f1990@intel.com> References: <3D8C6C5A-89DB-4965-8B71-53B3AC845988@gmail.com> <092dab13-f764-95f4-d3c7-1ef9423f1990@intel.com> From: Learner Study Date: Sat, 16 Sep 2017 00:00:04 -0700 Message-ID: To: "Tan, Jianfeng" Cc: Rex Shang , users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] Running DPDK on Google Cloud Compute Engine (GCE) 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: Sat, 16 Sep 2017 07:00:25 -0000 Hello Rex, Could you please provide steps u used to configure the interfaces and how u r starting test_pmd? I am having somewhat similar issues on Centos7. Thanks a lot! On Fri, Sep 15, 2017 at 7:03 PM, Tan, Jianfeng wro= te: > Hi Rex, > > > On 9/14/2017 6:53 AM, Rex Shang wrote: >> >> Hi all >> >> Just wondering if anyone has successfully have DPDK running on VM inside >> Google Cloud. I=E2=80=99ve tried similar set up on my Mac Book Pro with= Virtual Box >> and had success. Using similar recipe, I can=E2=80=99t have testpmd pas= s the >> initialization. Before I spend too much time, just wondering if I am >> working on mission impossible. ;) Your input is greatly appreciated. >> >> Here is my setup: >> Google Cloud Compute Engine >> 4 vCore with 8 GB of memory >> Ubuntu 16.04 LTS >> 3 NIC with 2 used for DPDK (driver: net_virtio); I am a bit doubtful abo= ut >> this NIC but so far the NIC is up with =E2=80=9Cigb_uio" >> >> Rex >> >> ------------ >> >> EAL: Detected 4 lcore(s) >> EAL: No free hugepages reported in hugepages-1048576kB >> EAL: Probing VFIO support... >> EAL: VFIO support initialized >> EAL: PCI device 0000:00:04.0 on NUMA socket -1 >> EAL: Invalid NUMA socket, default to 0 >> EAL: probe driver: 1af4:1000 net_virtio >> EAL: PCI device 0000:00:05.0 on NUMA socket -1 >> EAL: Invalid NUMA socket, default to 0 >> EAL: probe driver: 1af4:1000 net_virtio >> EAL: PCI device 0000:00:06.0 on NUMA socket -1 >> EAL: Invalid NUMA socket, default to 0 >> EAL: probe driver: 1af4:1000 net_virtio >> Interactive-mode selected >> USER1: create a new mbuf pool : n=3D163456, size=3D2= 176, >> socket=3D0 >> Configuring Port 0 (socket 0) >> Fail to configure port 0 >> EAL: Error - exiting with code: 1 >> Cause: Start ports failed > > > When you start testpmd, please make sure the option, --disable-hw-vlan, i= s > added. > > Besides, you can apply the below patch to enable the debug mode of virtio= to > see what's wrong: > > diff --git a/config/common_base b/config/common_base > index 5e97a08..5863203 100644 > --- a/config/common_base > +++ b/config/common_base > @@ -328,10 +328,10 @@ CONFIG_RTE_LIBRTE_DPAA2_DEBUG_TX_FREE=3Dn > # Compile burst-oriented VIRTIO PMD driver > # > CONFIG_RTE_LIBRTE_VIRTIO_PMD=3Dy > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DRIVER=3Dn > +CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_INIT=3Dy > +CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=3Dy > +CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=3Dy > +CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DRIVER=3Dy > CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=3Dn > > # >