From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f196.google.com (mail-qk0-f196.google.com [209.85.220.196]) by dpdk.org (Postfix) with ESMTP id ED2341B973 for ; Tue, 10 Apr 2018 10:40:11 +0200 (CEST) Received: by mail-qk0-f196.google.com with SMTP id o64so12473765qkl.7 for ; Tue, 10 Apr 2018 01:40:11 -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; bh=5BA1k+FaWMf6vPgSrr+M70wSaQVyhe6cE/fkf9wCEr0=; b=rHQOFFl132f5FPHmHKaiZafJc/qLcNdpX3w7v/Y0hZigPr4F7R1EWK9sYfaStBx6uv YZ87QPUuthWJGQ0cPNHgOjv5VXBCLZwyrwLJbfEeGnB1VFXJDVwOGylOWCfN8kXgkuas 52mmi5o4UZhmdUcIdiHnE1sOKh7Fo8eZeZ/Pd+afX22EgIZ65cAZDEU+RoB7sg4eR+p+ uCGZEb0YgXaIi5AlWW5t5Bk7VOVSqc5J1f6NthXJxF2BzMFT1ylm6YmdYMjgVS+rjQCm THVndZyEaTDuUH1TdJxRQtM9fV8ZHxQGBvPs0nBYeOPCWgCmUCk0tNcu4rLKUTK25yXS oFfA== 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=5BA1k+FaWMf6vPgSrr+M70wSaQVyhe6cE/fkf9wCEr0=; b=jyOAWi7horEPOkdfh/C8a76L6rY0dqTzD+XUMCtVE1BTkGfWoPpGeK4ysuP0v5qTMG KOOZM0bpFHRsoBfUBiZWmMTcTruYAYq4PZ1W3PV+UxZJ+HQVrPOjqpF4HxpdlcBaFQmR vcLVtytSP2QUKOp/LGQksUmIFy3ZX7zhR1EbCoEo6iUq88JTmYbwAGUqb4+2S2FcPLDF ESF4HoXxe5J3if+jlHwjxOdIUzafmQJOF4IHXuKoI0fMhIraPHcdu8IcfETEKFTTNA0m uT3IU5ulwelCei5P2vSW7768pUKilLe18ZuWTD1tBrq1utlM5+Nb98+jKwL/x/0MX6YY Zl+g== X-Gm-Message-State: ALQs6tBaWGMTYcZvPrtU7m4N6vVw56kn2ew96cxrA3bZD1fr2b20uhth sz7KpTcmMTImjg3QXLR8r50kYV3Kr3lr+MgsWkU= X-Google-Smtp-Source: AIpwx4+DZndb0tTLbWs3h3YOqpoZe6Dzvc+42BCxaibRwRp6h05hl/aa5gwnJO0RqNUvxL8E5R3RltY2cQY7yCI3YHA= X-Received: by 10.55.226.1 with SMTP id g1mr36228633qki.47.1523349611404; Tue, 10 Apr 2018 01:40:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.66.85 with HTTP; Tue, 10 Apr 2018 01:40:10 -0700 (PDT) In-Reply-To: <20180108074228.515774ea@xeon-e3> References: <2151087.Q62u2efIDs@xps> <20180101202732.6423d6b9@xeon-e3> <20180108074228.515774ea@xeon-e3> From: Hui Ling Date: Tue, 10 Apr 2018 16:40:10 +0800 Message-ID: To: Stephen Hemminger Cc: Andrew Bainbridge , "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: Tue, 10 Apr 2018 08:40:12 -0000 In case anyone else might need. I solved this issue by installing the mlx4 related libraries from mlxn ofed source for azure. 1) download source from: http://www.mellanox.com/page/firmware_table_Microsoft?mtag=oem_firmware_download Note: download the sources (48M), not the others. For some reason, only the source package works for me. 2) unpack and install ./install.pl --guest --dpdk --upstream-libs 3) after installation completes, run /etc/init.d/openibd restart this will insert mlx4 related module into kernels. After that, build dpdk and run testpmd seems working for me So not sure what is the deal with the MLNX packages for Azure, but this seems to be way for me to make it work. Hope this may help someone else. On Mon, Jan 8, 2018 at 11:42 PM, Stephen Hemminger wrote: > On Mon, 8 Jan 2018 11:01:09 +0800 > Hui Ling wrote: > >> Stephen, >> >> My last VM (DS3 v2, with 4 cores and 16GB memory) is in Canada East >> and I got AN enabled on my subscription so AN worked just fine. >> >> For DPDK, I saw from your slides in DPDK submit last year saying >> current DPDK solution in Azure needs: >> >> 1) Linux kerlnel 4.14 > > You need transparent bonding support which is in kernel netvsc driver. > It has been backported to Ubuntu Azure (4.13) package, RHEL 7 and SLES. > > > >> 2) 8 cores >> >> I am not sure if these are must. I tried to upgrade my Ubuntu to 4.14, >> but then I ran into compilation issues with DPDK 17.11 for MLX4 PMD. >> So I stayed with older version of kernel for Ubuntu 16.04. >> With my config of VM, however, I could not get the failsafe.sh I got >> from MS for azure to work. > > The number of cores requirement has been dropped, think it is available > with 4 now.