버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...

코드 블럭
mlxconfig -d /dev/mst/mt4119_pciconf0 q | grep SRIOV_EN

# Set the Number of VFs in the firmware
# Run mst start.

# Using the IDs obtained in the previous task, type the following:

sudo mlxconfig -d /dev/mst/mt4119_pciconf0set SRIOV_EN=1 NUM_OF_VFS=<number between 0-127>

sudo mlxconfig -d /dev/mst/mt4119_pciconf0 set SRIOV_EN=1 NUM_OF_VFS=8

sudo mlxconfig -d /dev/mst/mt4119_pciconf0 query

sudo mlxconfig -d /dev/mst/mt4119_pciconf0 query


#Update the firmware

sudo mst start
sudo mst status -v
sudo flint -d /dev/mst/mt4119_pciconf0 -i fw-download-from-official-website-based-on-psid-of-your-nic.bin burn

# Reboot for the settings to take effect.


cat /sys/class/net/enp10s0np0/device/mlx5_num_vfs

echo 8 > /sys/class/infiniband/mlx5_0/device/mlx5_num_vfs
코드 블럭
wget https://git.dpdk.org/apps/pktgen-dpdk/snapshot/pktgen-dpdk-pktgen-23.06.1.tar.xz
tar xJf dpdk-23.03.tar.xz
or
echo 8 > /sys/class/net/ens785f0/device/sriov_numvfs
or
echo 8 > /sys/class/net/ens785f0/device/mlx5_num_vfs
정보

If you wanna build 'igb_uio', follow below.  In my case, it did not work for Mellanox Connect X5 (mlx_core driver was enough)

...