Skip to content

Latest commit

 

History

History
83 lines (58 loc) · 2.05 KB

vf.md

File metadata and controls

83 lines (58 loc) · 2.05 KB

VF Guide for CVL

1. Update driver with patches

1.1 Get driver version with 1.11.14

Download CVL 1.11.14 driver from Intel website: https://www.intel.com/content/www/us/en/download/19630/intel-network-adapter-driver-for-e810-series-devices-under-linux.html.

1.2 Patch with RL patches

Apply the all patches under ice_driver

git am $imtl_source_cod/patches/ice_drv/1.11.14/0001-vf-support-kahawai-runtime-rl-queue.patch
git am $imtl_source_cod/patches/ice_drv/1.11.14/0002-ice-set-ICE_SCHED_DFLT_BURST_SIZE-to-2048.patch
git am $imtl_source_cod/patches/ice_drv/1.11.14/0003-version-update-to-kahawai-1.11.14.patch

1.3 Build and install the driver

Pls refer to below command for build and install

cd src
make
sudo make install
sudo rmmod ice
sudo modprobe ice

Double check the driver version is right from dmesg.

[1632263.337924] ice: Intel(R) Ethernet Connection E800 Series Linux Driver - version Kahawai_1.11.14_20230505

1.4 Update DDP package version to latest(>=1.3.30)

Double check the DDP version is right from dmesg.

The DDP package was successfully loaded: ICE OS Default Package (mc) version 1.3.30.0

Use below command to update if it's not latest.

cd /usr/lib/firmware/updates/intel/ice/ddp
cp <latest_ddp_dir>/ice-1.3.30.0.pkg ./
rm ice.pkg
ln -s ice-1.3.30.0.pkg ice.pkg
rmmod ice
modprobe ice

2. Create VF and bind to PMD

Below is the command to create VF on 0000:af:00.0, and bind the VFs to DPDK PMD.

./script/nicctl.sh create_vf 0000:af:00.0

Pls check the output to find the VF BDF info, ex 0000:af:01.0 in below example.

Bind 0000:af:01.0 to vfio success
Bind 0000:af:01.1 to vfio success
Bind 0000:af:01.2 to vfio success
Bind 0000:af:01.3 to vfio success
Bind 0000:af:01.4 to vfio success
Bind 0000:af:01.5 to vfio success

3. FAQs

3.1 vfio_pci not loaded

If you see below error while creating VF, run "modprobe vfio_pci" to install the VFIO_PCI kernel module.

Error: Driver 'vfio-pci' is not loaded.