From: Andrew Rybchenko <arybchenko@solarflare.com>
To: Filip Janiszewski <contact@filipjaniszewski.com>, <users@dpdk.org>
Subject: Re: [dpdk-users] Correct setup of sfc
Date: Wed, 13 Jun 2018 20:46:07 +0300 [thread overview]
Message-ID: <d96fc023-fed4-13d3-1f05-f6ad94fb72d4@solarflare.com> (raw)
In-Reply-To: <8e8c477b-066f-f909-d678-6623464b51c0@filipjaniszewski.com>
Hi Filip,
On 06/13/2018 12:46 PM, Filip Janiszewski wrote:
> Hi,
>
> I'm trying to test a SF card (Flareon Ultra SFN7142Q Dual-Port 40GbE) in
> our testing box, the details of the device are:
>
> .
> Solarstorm firmware update utility [v7.1.1]
> Copyright Solarflare Communications 2006-2018, Level 5 Networks 2002-2005
>
> enp101s0f0 - MAC: 00-0F-53-2C-3A-10
> Firmware version: v7.1.1
> Controller type: Solarflare SFC9100 family
> Controller version: v6.2.7.1000
> Boot ROM version: v5.1.0.1005
>
> The Boot ROM firmware is up to date
> The controller firmware is up to date
>
> enp101s0f1 - MAC: 00-0F-53-2C-3A-11
> Firmware version: v7.1.1
> Controller type: Solarflare SFC9100 family
> Controller version: v6.2.7.1000
> Boot ROM version: v5.1.0.1005
>
> The Boot ROM firmware is up to date
> The controller firmware is up to date
> .
>
> The DPDK lib (version 18.05) has been build with
> CONFIG_RTE_LIBRTE_SFC_EFX_PMD=y as per instructions, the sfc driver
> seems to be loaded, the output of 'lsmod | grep sfc' is:
>
> .
> sfc 470393 0
> .
PCI devices of Solarflare NIC should be bound to vfio, uio-pci-generic or
igb_uio (part of DPDK) module. In the case of Solarflare NICs, Linux
driver is
not required and not used in DPDK.
So, you should load one of above modules (depending on your server
IOMMU configuration), push already created interfaces down and rebind
Solarflare PCI functions to the driver, something like:
modprobe vfio-pci
ip link set enp101s0f0 down
ip link set enp101s0f1 down
dpdk-devbind.py --bind=vfio-pci 0000:65:00.0 0000:65:00.1
The above assumes that dpdk-devbind.py script is in PATH.
And start DPDK as you do before.
Regards,
Andrew.
next prev parent reply other threads:[~2018-06-13 17:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-13 9:46 Filip Janiszewski
2018-06-13 17:46 ` Andrew Rybchenko [this message]
2018-06-13 19:14 ` Filip Janiszewski
2018-06-15 9:44 ` Andrew Rybchenko
2018-06-15 17:02 ` Filip Janiszewski
2018-06-15 17:41 ` Filip Janiszewski
2018-06-15 15:34 ` Rosen, Rami
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=d96fc023-fed4-13d3-1f05-f6ad94fb72d4@solarflare.com \
--to=arybchenko@solarflare.com \
--cc=contact@filipjaniszewski.com \
--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).