Users Guide

Table Of Contents
B–Configuration File Examples
SR-IOV Configuration XML Files
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 197 Copyright © 2021 Marvell
SR-IOV Configuration XML Files
The following sections show examples of SR-IOV configuration XML files in single
function mode (for models BCM578xx, 41000 Series, and 45000 Series) and in
NPAR mode. For details about the command, see “Configure SR-IOV” on
page 77.
Single Function Mode
<?xml version="1.0" encoding="UTF-8"?>
<SriovConfigurations>
<Mode>SF Mode</Mode>
<SriovEnabled>Enabled</SriovEnabled>
<PortCfg>
<Port>0</Port>
<NumOfVF>64</NumOfVF>
</PortCfg>
<PortCfg>
<Port>1</Port>
<NumOfVF>64</NumOfVF>
</PortCfg>
</SriovConfigurations>
NPAR Mode
For the following SR-IOV configuration example XML file in NPAR mode:
SR-IOV is not allowed on NPAR’d partitions (functions) that have
FCoE-Offload or iSCSI-Offload enabled on them.
The SR-IOV configuration XML file does not take precedence in the current
NPAR configuration. However, the NPAR configuration XML file does take
precedence in the current SR-IOV configuration. Thus, you must set the
NPAR configuration first, and then set the SR-IOV configuration second.
SR-IOV is not enumerated on the following:
Port 0 Function 0 (with FCoE-Offload enabled)
Port 0 Function 2 (with iSCSI-Offload enabled)
Port 1 Function 5 (with FCoE-Offload enabled)
Port 1 Function 7 (with iSCSI-Offload enabled)
<?xml version="1.0" encoding="UTF-8"?>
<SriovConfigurations>
<Mode>MF Mode</Mode>
<SriovEnabled>Disabled</SriovEnabled>