From: Hui Ling <kelvin.brookletling@gmail.com>
To: Andrew Bainbridge <andbain@microsoft.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>,
"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] DPDK mlx4 PMD on Azure VM
Date: Fri, 13 Apr 2018 22:50:52 +0800 [thread overview]
Message-ID: <CAPNMKd5-SyPVVE56Z4Y6bJyXEvXFRyo6jvb6he_eRZQ3UXBeSg@mail.gmail.com> (raw)
In-Reply-To: <HE1PR83MB01871F5D3FBB129F1D903701AEB30@HE1PR83MB0187.EURPRD83.prod.outlook.com>
The thing for me is that on my VM, I have always ran into the same error:
"MR creation failure: Operation not permitted" till I used the drivers
inserted with the specific commands.
It could be that the host my VM runs on is only compatible with some
specific version of MLNX drivers. And the steps I listed might just
happen
to work on my VM.
So as Andrew suggested, if you can't fix "MR creation failure:
Operation not permitted" error, you may want to ask Azure team to
check and fix the host your VM runs on first.
On Fri, Apr 13, 2018 at 8:47 PM, Andrew Bainbridge
<andbain@microsoft.com> wrote:
> Hi Hui
>
> That is very similar to the steps I found I needed to follow.
>
> Another useful fact: I found that sometimes when testpmd gives the, "MR
> creation failure: Operation not permitted" error, stopping the VM (via the
> Azure portal) and restarting it fixes it. Someone on the Azure team
> suggested that this is because of a problem on some VM hosts. Stopping and
> starting the VM is likely to move it to a new host that might not have the
> problem. I believe they are working on fixing the bad hosts.
>
> ________________________________
> From: Hui Ling <kelvin.brookletling@gmail.com>
> Sent: 10 April 2018 09:40
> To: Stephen Hemminger
> Cc: Andrew Bainbridge; users@dpdk.org
> Subject: Re: [dpdk-users] DPDK mlx4 PMD on Azure VM
>
> 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:
>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mellanox.com%2Fpage%2Ffirmware_table_Microsoft%3Fmtag%3Doem_firmware_download&data=02%7C01%7Candbain%40microsoft.com%7Ca8d12124d8ab49e8bf7508d59ebeacaa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636589464133550197&sdata=egGzdWoT9wZ13HRxzjdpBUWYXhA2Mm%2FjR4ARuowevUQ%3D&reserved=0
>
>
> 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
> <stephen@networkplumber.org> wrote:
>> On Mon, 8 Jan 2018 11:01:09 +0800
>> Hui Ling <kelvin.brookletling@gmail.com> 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.
prev parent reply other threads:[~2018-04-13 14:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-19 7:14 Hui Ling
2017-12-19 15:47 ` Thomas Monjalon
2017-12-19 16:22 ` Thomas Monjalon
2017-12-19 16:29 ` Ophir Munk
2017-12-20 2:00 ` Hui Ling
2017-12-20 13:39 ` Andrew Bainbridge
2017-12-21 7:35 ` Hui Ling
2018-01-02 4:27 ` Stephen Hemminger
2018-01-05 20:45 ` Stephen Hemminger
2018-01-08 3:01 ` Hui Ling
2018-01-08 15:42 ` Stephen Hemminger
2018-04-10 8:40 ` Hui Ling
2018-04-13 12:47 ` Andrew Bainbridge
2018-04-13 14:50 ` Hui Ling [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPNMKd5-SyPVVE56Z4Y6bJyXEvXFRyo6jvb6he_eRZQ3UXBeSg@mail.gmail.com \
--to=kelvin.brookletling@gmail.com \
--cc=andbain@microsoft.com \
--cc=stephen@networkplumber.org \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).