Users Guide

Table Of Contents
3–QCS CLI Commands
Configure Multifunction
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 65 Copyright © 2021 Marvell
Configure Multifunction
Configures a physical adapter with NIC partition settings. The parameters shown
in the Keywords section are used in the NPAR configuration XML file (see “NIC
Partition Configuration XML Files” on page 189).
Syntax cfg Multi-Function
["Multi-Function mode" | -s <filename> | -c <filename> | -p port# [-f function#]
key]
Additional syntax:
QCScli.exe -t phyadapters -f bdf -i <BDF values> "cfg multi-function -s
<filename>.xml" ' For saving multifunction configuration file
QCScli.exe -t phyadapters -f bdf -i <BDF values> "cfg multi-function -c
<filename>.xml" ' For upload the updated file
Keywords -s
Saves the current configuration to the specified XML file.
-c
Configures the NIC settings from the specified XML file.
See “NIC Partition Configuration XML Files” on page 189 for an example of the
multifunction (NPAR) and single function (SF) mode XML files, which you can edit
and use the files to change the configuration of an adapter. Changes to maximum
bandwidth and relative bandwidth weight (of an adapter in NPAR mode) can be
applied while traffic is running (you need not reboot). All other changes require a
system reboot.
-p
Specifies the port number.
-f
Specifies the function number. The default function number is the first function of
the specified port. For example, the cfg multi-function -p 0 -f 2
\"FCoE\" command displays port0 function2 FCoE configuration.
key
Specifies the key type used in the XML file, see the example page 66. All keys are
case insensitive. Refer to Table B-6 on page 194 for a list of valid keys.
-o
Overwrites the SR-IOV configuration if there is any conflict between multifunction
configuration and SR-IOV configuration. For example, cfg multi-function
-o <filename> configures the selected adapter settings with the specified XML
file.