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.