Configuring NPAR
To configure NPAR, perform the following steps:
- When the following screen is displayed, press F11 to enter the Front Page screen.Figure 4-88 Pressing F11 to go to Front Page
- On the Front Page screen, select Device Manager and press Enter.Figure 4-89 Selecting Device Manager
- On the Device Manager screen, select Network Device List and press Enter.Figure 4-90 Selecting Network Device List
- Select a port and press Enter. On the displayed screen, press Enter again to confirm the selection.Figure 4-91 Selecting a portFigure 4-92 Confirming the selection
- On the Main Configuration Page screen, select Multi-Function Mode, press Enter, and select NPAR to enable NPAR.Figure 4-93 Selecting Multi-Function ModeFigure 4-94 Enabling NPAR
- Select NIC Partitioning Configuration Menu and press Enter.Figure 4-95 Selecting NIC Partitioning Configuration Menu
- Select a PF and press Enter. On the displayed PF configuration screen, set the working mode (FCoE, iSCSI, or Ethernet) and specify the channel bandwidth. Configure the other PFs in the same way.
In Figure 4-96, all the PFs (PF#0, PF#2, PF#4, and PF#6) are in Ethernet mode (NIC mode). Figure 4-97 shows the PF detail configuration screen.
- Set the PF working mode.
The PF working mode is FCoE, iSCSI, or Ethernet. A PF in Ethernet mode is used to transmit Ethernet data. A PF in FCoE mode is used to transmit Ethernet and FCoE data. A PF in iSCSI mode is used to transmit Ethernet and iSCSI data.
To set the mode to FCoE, set FCoE Offload Protocol to Enabled, as shown in Figure 4-98. To set the mode to iSCSI, set iSCSI Offload Protocol to Enabled.
Each PF can be set to only one mode at a time.
After setting the PF working mode, return to the NIC Partition Configuration screen and check the result, as shown in Figure 4-99.
- Specify the bandwidth weight and maximum bandwidth of each PF as follows: On the NIC Partition Configuration page, select Global Bandwidth Allocation Menu.Figure 4-100 Selecting Global Bandwidth Allocation Menu
On the screen shown in Figure 4-101, set the bandwidth weight (Relative Bandwidth) and maximum bandwidth (Maximum Bandwidth) for the four PFs.
- Press Esc repeatedly until the Front Page screen is displayed.
- Restart the compute node for the configuration to take effect.
Relative Bandwidth indicates the weight of the minimum committed bandwidth and the sum of Relative Bandwidth of the four PFs must be 100%. Otherwise, a message is displayed indicating bandwidth configuration errors. Maximum Bandwidth indicates that maximum shared bandwidth and can be set to 100% for each PF, indicating that the PF can use the bandwidth of other idle PFs.