7. Running the OPAE in a Virtualized Environment
In SR-IOV mode, a host processor uses a physical function (PF) to access
management functions. A virtual machine (VM) uses a virtual function (VF) to access
the AFU.
Note:
Partial reconfiguration (PR) is not available in this mode.
Figure 4.
OPAE Driver in SR-IOV Mode
Virtual Machine
OPAE
(Driver in VF Mode)
OPAE
(Driver in SR-IOV Mode)
Host
FPGA
VF
PF
PCIe
Application
Application
An application running in a virtual machine that connects to a VF through OPAE cannot
initiate partial reconfiguration. The permission table in the FME enforces this
restriction. The permission table only allows partial reconfiguration through a PF.
Consequently, you must load the AFU image on the host before continuing with the
steps to create a virtualized environment.
Run the following command on the host to load the AFU image.
sudo fpgaconf \
$OPAE_PLATFORM_ROOT/hw/samples/nlb_mode_0/bin/nlb_mode_0.gbs
UG-20202 | 2019.08.05
Intel Corporation. All rights reserved. Agilex, Altera, Arria, Cyclone, Enpirion, Intel, the Intel logo, MAX, Nios,
Quartus and Stratix words and logos are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or
other countries. Intel warrants performance of its FPGA and semiconductor products to current specifications in
accordance with Intel's standard warranty, but reserves the right to make changes to any products and services
at any time without notice. Intel assumes no responsibility or liability arising out of the application or use of any
information, product, or service described herein except as expressly agreed to in writing by Intel. Intel
customers are advised to obtain the latest version of device specifications before relying on any published
information and before placing orders for products or services.
*Other names and brands may be claimed as the property of others.