From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by dpdk.org (Postfix) with ESMTP id 6547E325B for ; Sun, 17 Sep 2017 04:08:22 +0200 (CEST) Received: by mail-pf0-f178.google.com with SMTP id n24so3208646pfk.5 for ; Sat, 16 Sep 2017 19:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=0aXxlOxZQvxeZ6XjF3AGxWkqswZT2arnMC9vPAu7Bts=; b=OkHV4JxSR+Kud6obPKox3D5KkYYMACQNHv87vZcfKoEghGheovrSVby/j8eLGjw/rX vd69H7mW3vvUu3viLoh4sOZjrAKH3XgJV6X664WZRQa/ToLsZaPzo+w/Uen8FuxKptr7 /hX4EokJb4+mPoJJduNKxNucKT1Vudkm+H1wrzcRuktsG7VFS50+DcIhgWqSDE3OyQM5 ziHir2JMxlioBRV4KNjeT0YZqDKaQpnYUdgalKeYzaOXoKsBPZZQyaUxErx8pu91w9si pVFYQjRQ60arCxz2FlriX5W45xef5vVxICZ/l+yvAzIvd0WiVB9d7RwbcpYj1HmN942w 3Xtg== 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=0aXxlOxZQvxeZ6XjF3AGxWkqswZT2arnMC9vPAu7Bts=; b=GLKLldBE2sXMzlGAcI5zq7MH4xiR2KtlYSoLuT3VUOfJr1JuEr5tDFFKOX5k9Qvs9a GpcXoHlrfjqvEVAHcNNYBTMJA/vUlYvFZQ+TZqNG82EOQ1rWe3ij43X2uA9hNLsZDRtT 2MZjQvo6td2DJC/9eyxMjuRcZfd9hSdUMVjPNMvq/s/43d2f5kX6C6n9vc+7hLqKZGwX 7CgI8w7/SuZdSCuXjfyh61RwQsbpZnpMA1loM64LuefneWk5gXo0hix11j8feK0CLjd2 3pJi7vmdBdjH0lL4YE3sd6Kg+ONhGGvwRv7MWzELU3esld38baBnzoTQnH8xKGKc25Xw IUJA== X-Gm-Message-State: AHPjjUg46yGRIwvJ1aftfnLv4LkTS/16eHI3Zb6Mjp1haNroP9bHz8TN Uvb7eamFf33heA== X-Google-Smtp-Source: ADKCNb5Q5IptLPNp/EnhSdn5iDIfDVDBtM8aHLQXdVr1xwPgaJxZpVW9Z2aG2ufW8Vzm4HGS2JCvig== X-Received: by 10.98.212.94 with SMTP id u30mr29366403pfl.297.1505614101405; Sat, 16 Sep 2017 19:08:21 -0700 (PDT) Received: from [192.168.31.117] (c-67-188-113-47.hsd1.ca.comcast.net. [67.188.113.47]) by smtp.gmail.com with ESMTPSA id 78sm8571074pfk.70.2017.09.16.19.08.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Sep 2017 19:08:19 -0700 (PDT) From: Rex Shang Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Date: Sat, 16 Sep 2017 19:08:17 -0700 In-Reply-To: <092dab13-f764-95f4-d3c7-1ef9423f1990@intel.com> Cc: users@dpdk.org To: "Tan, Jianfeng" References: <3D8C6C5A-89DB-4965-8B71-53B3AC845988@gmail.com> <092dab13-f764-95f4-d3c7-1ef9423f1990@intel.com> X-Mailer: Apple Mail (2.3273) X-Mailman-Approved-At: Sun, 17 Sep 2017 16:56:35 +0200 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] 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: Sun, 17 Sep 2017 02:08:22 -0000 HI Jianfeng Thanks for the ideas. I=E2=80=99ve tried =E2=80=9C--disable-hw-vlan=E2=80= =9D, with my =E2=80=9Ctestpmd=E2=80=9D binary, it is not recognizing = this option=E2=80=A6 With the debug options for VIRTIO, I=E2=80=99ve now gotten the following = message. I can=E2=80=99t figure out whether the =E2=80=9Cvlan = filtering=E2=80=9D is the fatal error. Does anyone know? Configuring Port 0 (socket 0) PMD: virtio_dev_configure(): vlan filtering not available on this host Fail to configure port 0 Rex > On Sep 15, 2017, at 7:03 PM, Tan, Jianfeng = wrote: >=20 > Hi Rex, >=20 >=20 > On 9/14/2017 6:53 AM, Rex Shang wrote: >> Hi all >>=20 >> 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=99= t have testpmd pass the initialization. Before I spend too much time, = just wondering if I am working on mission impossible. ;) Your input is = greatly appreciated. >>=20 >> 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 = about this NIC but so far the NIC is up with =E2=80=9Cigb_uio" >>=20 >> Rex >>=20 >> ------------ >>=20 >> 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=3D2176, socket=3D0 >> Configuring Port 0 (socket 0) >> Fail to configure port 0 >> EAL: Error - exiting with code: 1 >> Cause: Start ports failed >=20 > When you start testpmd, please make sure the option, = --disable-hw-vlan, is added. >=20 > Besides, you can apply the below patch to enable the debug mode of = virtio to see what's wrong: >=20 > 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 >=20 > # >=20