我要评分
获取效率
正确性
完整性
易理解

Environment Requirements

Networking

As shown in Figure 1, SR-IOV requires two servers (host 1 and host 2). The two hosts communicate with each other through direct network port connections.

Figure 1 Networking diagram

Server

IP Address

Mellanox CX5 Network Port

Host 1

192.168.48.60

  • enp1s0f0

    PCI port: 0000:01:00.0

  • enp1s0f1

    PCI port: 0000:01:00.1

Host 2

192.168.48.62

  • enp1s0f0

    PCI port: 0000:01:00.0

  • enp1s0f1

    PCI port: 0000:01:00.1

Hardware

Table 1 describes the hardware configuration.

Table 1 Hardware configuration

Item

Description

CPU

Kunpeng 920 processor

NIC

Mellanox CX5 NIC

Other

RAID controller cards must support pass-through.

OS and Software

Table 2 lists the openEuler 20.03 OS requirements.

Table 2 openEuler 20.03 OS requirements

Item

Version

How to Obtain

Host OS

openEuler 20.03 LTS SP1

https://mirrors.huaweicloud.com/openeuler/openEuler-20.03-LTS-SP1/ISO/aarch64/openEuler-20.03-LTS-SP1-aarch64-dvd.iso

Host OS kernel

4.19.90

Contained in the OS image

NIC firmware

16.29.2002

Contained in the Mellanox driver package

NIC driver

OFED-5.2-2.2.0

The name of the software package used in this document is MLNX_OFED_LINUX-5.2-2.2.0.0-openeuler20.03-aarch64.tgz.

Python

2.7.5

Contained in the OS image

GCC

7.3.0

Contained in the OS image

VM OS

CentOS Linux release 7.6.1810 (AltArch)

https://mirrors.huaweicloud.com/centos-vault/altarch/7.6.1810/isos/aarch64/

QEMU

6.2.0

Minimal Install > Standard (built-in)

libvirt

4.1.0

Minimal Install > Standard (built-in)

Table 3 lists the CentOS 7.6 OS requirements.

Table 3 CentOS 7.6 OS requirements

Item

Version

How to Obtain

Host OS

CentOS Linux release 7.6.1810 (AltArch)

https://mirrors.huaweicloud.com/centos-vault/altarch/7.6.1810/isos/aarch64/

Host OS kernel

4.14.0-115.el7a.0.1.aarch64

Contained in the OS image

NIC firmware

16.28.2006

Contained in the Mellanox driver package

NIC driver

OFED-5.1-2.3.7

The name of the software package used in this document is MLNX_OFED_LINUX-5.1-2.3.7.1-rhel7.6alternate-aarch64.tgz.

https://content.mellanox.com/ofed/MLNX_OFED-5.1-2.3.7.1/MLNX_OFED_LINUX-5.1-2.3.7.1-rhel7.6alternate-aarch64.tgz

QEMU

2.12.0 (ev)

qemu-kvm-tools-ev-2.12.0-33.1.el7.aarch64.rpm:

https://mirrors.huaweicloud.com/centos-altarch/7/virt/aarch64/kvm-common/Packages/q/qemu-kvm-tools-ev-2.12.0-33.1.el7.aarch64.rpm

qemu-img-ev-2.12.0-33.1.el7.aarch64.rpm:

https://mirrors.huaweicloud.com/centos-altarch/7/virt/aarch64/kvm-common/Packages/q/qemu-img-ev-2.12.0-33.1.el7.aarch64.rpm

qemu-kvm-common-ev-2.12.0-33.1.el7.aarch64.rpm:

https://mirrors.huaweicloud.com/centos-altarch/7/virt/aarch64/kvm-common/Packages/q/qemu-kvm-common-ev-2.12.0-33.1.el7.aarch64.rpm

qemu-kvm-ev-2.12.0-33.1.el7.aarch64.rpm:

https://mirrors.huaweicloud.com/centos-altarch/7/virt/aarch64/kvm-common/Packages/q/qemu-kvm-ev-2.12.0-33.1.el7.aarch64.rpm

libvirt

4.5.0

Contained in the OS image

Python

2.7.5

Contained in the OS image

GCC

4.8.5

Contained in the OS image

VM OS

CentOS Linux release 7.6.1810 (AltArch)

https://mirrors.huaweicloud.com/centos-vault/altarch/7.6.1810/isos/aarch64/