https://www.altera.com/documentation/swn1503506366945.html
https://files.cnblogs.com/files/shaohef/opae-driver-architecture.pdf
https://github.com/yongfengdu/fpga
# cat enablevf.sh
# SRIOV enable # https://opae.github.io/docs/drv_arch/drv_arch.html#fpga-virtualization # For slot 0, port 0 fpgaport release /dev/intel-fpga-fme.0 0 echo 1 > /sys/class/fpga/intel-fpga-dev.0/device/sriov_numvfs # For slot 1, port 0 fpgaport release /dev/intel-fpga-fme.1 0 echo 1 > /sys/class/fpga/intel-fpga-dev.1/device/sriov_numvfs