Advanced vRouter SRIOV Mode Configurations¶
vRouter SRIOV can be used in the following combinations:
- SRIOV + Kernel mode
- standard
- vlan
- bond
- bond + vlan
- SRIOV + DPDK mode
- standard
- vlan
- bond
- bond + vlan
The snippets below only shows the relevant section of the NIC configuation.
Network environment configuration¶
vi ~/tripleo-heat-templates/environments/contrail/contrail-services.yaml
Enable the number of hugepages¶
SRIOV + kernel mode
parameter_defaults:
ContrailSriovHugepages1GB: 10
SRIOV + dpdk mode
parameter_defaults:
ContrailSriovMode: dpdk
ContrailDpdkHugepages1GB: 10
ContrailSriovHugepages1GB: 10
SRIOV PF/VF settings¶
NovaPCIPassthrough:
- devname: "ens2f1"
physical_network: "sriov1"
ContrailSriovNumVFs: ["ens2f1:7"]