Identifying MZ522 Ports in Linux
To identify MZ522 ports in RHEL 7.2, perform the following steps:
Run the lspci | grep BCM57810 command on the Linux command line interface (CLI) to view MZ522 PCIe functions.
Figure 4-176 shows the MZ522 PCIe devices when NPAR is disabled.
The preceding information shows four MZ522 NIC devices.
Run the ifconfig -a command on the Linux CLI to view the four NIC ports. In RHEL 7.2, NIC ports are named in the format of enp[bus_num]s[dev_num]f[fun_num]. In the name, bus_num, dev_num, and fun_num indicate the PCIe bus number, device number, and function number respectively. See Figure 4-177.
In SLES and RHEL earlier than 7.0, eth[num] is used to name a network port by default and the value of num increases when NICs are replaced or the number of network ports increases.
The MZ522 allocates MAC addresses to physical ports. Table 4-4 lists the mapping between physical ports and MAC addresses.
Controller |
Physical Port |
BDF |
MAC Address |
---|---|---|---|
Controller 0 |
Port 0 |
04.00.0 |
20:17:02:04:14:00 |
Port 1 |
04.00.1 |
20:17:02:04:14:02 |
|
Controller 1 |
Port 0 |
05.00.0 |
20:17:02:04:14:10 |
Port 1 |
05.00.1 |
20:17:02:04:14:12 |
After NPAR is enabled, each physical port supports four PFs. Figure 4-178 lists the PCIe devices and each PCIe device is a PF.
After NPAR is enabled, the FCoE/iSCSI functions of each physical port can be allocated to any PF. Table 4-5 lists the mapping between physical ports and MAC addresses.
Controller |
Physical Port |
PF |
BDF |
MAC Address |
---|---|---|---|---|
Controller 0 |
Port 0 |
PF 0 |
04:00.0 |
20:17:02:04:14:00 |
PF 2 |
04:00.2 |
20:17:02:04:14:04 |
||
PF 4 |
04:00.4 |
20:17:02:04:14:08 |
||
PF 6 |
04:00.6 |
20:17:02:04:14:0C |
||
Port 1 |
PF 1 |
04:00.1 |
20:17:02:04:14:02 |
|
PF 3 |
04:00.3 |
20:17:02:04:14:06 |
||
PF 5 |
04:00.5 |
20:17:02:04:14:0A |
||
PF 7 |
04:00.7 |
20:17:02:04:14:0E |
||
Controller 1 |
Port 0 |
PF 0 |
05:00.0 |
20:17:02:04:14:10 |
PF 2 |
05:00.2 |
20:17:02:04:14:14 |
||
PF 4 |
05:00.4 |
20:17:02:04:14:18 |
||
PF 6 |
05:00.6 |
20:17:02:04:14:1C |
||
Port 1 |
PF 1 |
05:00.1 |
20:17:02:04:14:12 |
|
PF 3 |
05:00.3 |
20:17:02:04:14:16 |
||
PF 5 |
05:00.5 |
20:17:02:04:14:1A |
||
PF 7 |
05:00.7 |
20:17:02:04:14:1E |