From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id A0CB81B21B for ; Thu, 21 Dec 2017 08:35:01 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id y82so18833219wmg.1 for ; Wed, 20 Dec 2017 23:35:01 -0800 (PST) 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; bh=1FPJ6mIUj6Wbf3uRBf1iF0iyMx6inm6S3KX1KuKagpM=; b=WBT45vNNBflTuDQcl1KHBfuaaxRz2pyEnxrogzmLA7smJetoyH3PKcowN7UnO5drzp 2Yl4Q1ekI/oXi9xTuVU2X9DH6HhxKGlqSRdnIlKova/0dNZ/mA2Ww+cjTPieDPQoeiea 1DIqzoMv4BuWQiROahUgrZmIxb9Q5eFY/jV46EjSeUY5b9Pai2NofoanwbCyj3OJYkY3 3NokPWkjZotE/p1DAXbDwssr4NL9+eX2yzYYq0O7OIKiLDM3Jj/FESi0VJyDFM1+KbnU V9TxOLrOVsC07HQblO546Ex2FCYQ7R7Bpar0htftBhMX2nL4aFgA8hJlFrqpemtHRtTL 6T0w== 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; bh=1FPJ6mIUj6Wbf3uRBf1iF0iyMx6inm6S3KX1KuKagpM=; b=ICtalW68hrC3M1HkFu+fO724zQWdWuvn+usZp1ziWAn3WPeqzHRXlTP/fXgc3bBZQH H7zEIZBMRO9TJ8Ewjqr62hd9feUwy5rSld2KUik/O8Fem5dDaH/8Odj0BPXyRSEoxet6 aSrbRXz54BgoMycF5hT+WEZgu7Bg44fw5xhmYy+xhbgsgTPwK8Zom+Nd0dDseK2N7Ue9 ljWiGvldxypBE6NVXoqsEuI2GAQdXaL8GkPV6v2fINfNUEdTjSYwQm1bok+4UrjF5mw2 7ckJdUCSMePM2VNzwkPOAIveeQJxImQn4Ub+PedhNRoifKtqysqwf2glzM5Bjio5DISn hiPQ== X-Gm-Message-State: AKGB3mKtVJKhOkRw00esY8mQoHvPeBrHu2jS30U3tIhuoTGy2e6OKERW Ru5iw3S1ef+h4HopyBJxGwb026n0CQxxaT83+8E= X-Google-Smtp-Source: ACJfBotwRP6e/LFy/ntKHj+7bFXoBy8m0EZbz1s/hdv0f0RLnz3Jqik0JdUZak5N0pamzcROv2GV8mxP0tiMzAtpk+0= X-Received: by 10.80.143.67 with SMTP id 61mr8816465edy.219.1513841701195; Wed, 20 Dec 2017 23:35:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.142.161 with HTTP; Wed, 20 Dec 2017 23:35:00 -0800 (PST) In-Reply-To: References: <2151087.Q62u2efIDs@xps> From: Hui Ling Date: Thu, 21 Dec 2017 15:35:00 +0800 Message-ID: To: Andrew Bainbridge Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-users] DPDK mlx4 PMD on Azure VM 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: Thu, 21 Dec 2017 07:35:01 -0000 Andy, My last VM is not in "Canada East" center since no AN type of instance was available to me at the time I created my VM. Just tried on a same type VM in Canada East, and it seems that the location does make a difference. This time, I was able to run testpmd without any explicit errors: root@myVM:/home/hling/dpdk-17.11# build/app/testpmd -l 1-2 -n 4 -w 0004:00:02.0 0002:00:02.0 -- --rxq=2 --txq=2 -i EAL: Detected 4 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles ! EAL: PCI device 0004:00:02.0 on NUMA socket 0 EAL: probe driver: 15b3:1004 net_mlx4 PMD: mlx4.c:465: mlx4_pci_probe(): PCI information matches, using device "mlx4_3" (VF: true) PMD: mlx4.c:492: mlx4_pci_probe(): 1 port(s) detected PMD: mlx4.c:586: mlx4_pci_probe(): port 1 MAC address is 00:0d:3a:f4:49:c4 Interactive-mode selected USER1: create a new mbuf pool : n=155456, size=2176, socket=0 Configuring Port 0 (socket 0) Port 0: 00:0D:3A:F4:49:C4 Checking link statuses... Done testpmd> start tx_first io packet forwarding - ports=1 - cores=1 - streams=2 - NUMA support enabled, MP over anonymous pages disabled Logical Core 2 (socket 0) forwards packets on 2 streams: RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00 io packet forwarding - CRC stripping enabled - packets/burst=32 nb forwarding cores=1 - nb forwarding ports=1 RX queues=2 - RX desc=128 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX queues=2 - TX desc=512 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX RS bit threshold=0 - TXQ flags=0x0 testpmd> stop Telling cores to stop... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 0 TX-packets: 32 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 0 TX-packets: 32 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 64 TX-dropped: 0 TX-total: 64 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 64 TX-dropped: 0 TX-total: 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. testpmd> Not sure why I don't see any packets transmission, but at least the MLX4 PMD seems to be able to talk to the mlx4_en driver, or is it? Will keep digging. Hui On Wed, Dec 20, 2017 at 9:39 PM, Andrew Bainbridge wrote: > Hi Hui > > Did you create your VM in the "Canada East" data center? This page suggests that is a requirement: > https://azure.microsoft.com/en-us/blog/azure-networking-updates-for-fall-2017/ > > Also, I seem to remember reading that the VM must have at least 8 cores. Sorry, I can't find a reference for that. > > - Andy > > -----Original Message----- > From: Hui Ling > > This is my VM info in case it is needed. > ======================================================================================================= > A Standard_DS3_v2 instance from Azure. (one of these models support AN) >