background image

Huawei IN200 NIC

User Guide

Issue

06

Date

2019-07-27

HUAWEI TECHNOLOGIES CO., LTD.

Summary of Contents for IN200

Page 1: ...Huawei IN200 NIC User Guide Issue 06 Date 2019 07 27 HUAWEI TECHNOLOGIES CO LTD ...

Page 2: ...scribed in this document may not be within the purchase scope or the usage scope Unless otherwise specified in the contract all statements information and recommendations in this document are provided AS IS without warranties guarantees or representations of any kind either express or implied The information in this document is subject to change without notice Every effort has been made in the pre...

Page 3: ...an imminently hazardous situation which if not avoided will result in death or serious injury Indicates a potentially hazardous situation which if not avoided could result in death or serious injury Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury Indicates a potentially hazardous situation which if not avoided could result in equipment damage...

Page 4: ...2 Maintaining the NIC Driver l Added preparation before installing the RoCE Driver to 2 3 Maintaining the RoCE Driver l Added 4 Configuring QoS l Added 5 Configuring RoCE Bonding l Added 6 1 4 44 Setting NIC Packet Data to Be Sent and Triggering NIC Packet Sending When AC Power Is Lost reboot_notice 6 1 4 47 3 Setting DWRR Scheduling t p 04 2019 05 10 This issue is the fourth official release l Ad...

Page 5: ...on 02 2018 08 10 This issue is the second official release 01 2018 05 20 This issue is the first official release Huawei IN200 NIC User Guide About This Document Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd iv ...

Page 6: ...r 19 2 3 1 Preparing OSs Supported by Huawei In House OFED 19 2 3 2 Installing the Driver 19 2 3 3 Upgrading the Driver 23 2 3 4 Uninstalling the Driver 26 2 4 Upgrading the IN200 Firmware 27 3 Configuring SR IOV 29 3 1 x86 Version 29 3 1 1 Configuring the Server BIOSs 29 3 1 2 Modifying the GRUB Configuration File 36 3 2 ARM Version 37 3 2 1 Configuring the Server BIOSs 37 3 2 2 Modifying the GRU...

Page 7: ...istics counter 61 6 1 4 5 1 Querying the Statistics of a Specified Device t x 61 6 1 4 5 2 Parsing Inspection Information Offline o 63 6 1 4 6 Querying the Linear Table of a Specified Device table 63 6 1 4 7 Querying MAC Addresses mac 65 6 1 4 8 Querying and Setting the Port FEC Mode fec 66 6 1 4 8 1 Querying and Setting the Port FEC Mode p 66 6 1 4 8 2 Setting the Port FEC Mode p m 66 6 1 4 8 3 C...

Page 8: ...31 Querying the Usage of Chip CPB Cells cpb 92 6 1 4 32 Reading Chip Register csr_rd 92 6 1 4 33 Writing Chip Register csr_wr 93 6 1 4 34 Reading Chip Register Values in Batches csr_dump 94 6 1 4 35 Queryingthe CPB CELL Resource Allocation and Current Resource Usage pdm 95 6 1 4 35 1 Querying the CPB CELL Resource Allocation and Current Resource Usage of an Index m x 95 6 1 4 35 2 Querying the CPB...

Page 9: ...t reboot_notice 109 6 1 4 45 Querying and Setting the DCB Function dcb 110 6 1 4 46 Querying and Setting the PFC Function pfc 110 6 1 4 47 Setting the ETS Function ets 111 6 1 4 47 1 Querying and Setting the ETS Function e 111 6 1 4 47 2 Setting SP Scheduling t 112 6 1 4 47 3 Setting DWRR Scheduling t p 113 6 1 5 Upgrading hinicadm 114 6 1 6 Uninstalling hinicadm 115 6 2 Standard Management Tools ...

Page 10: ... external service ports The IN200 is a PCIe card based on the Huawei HiSilicon Hi1822 NIC chip It supports PCIe 3 0 x16 and Inter integrated Circuit I2C channel supports System Management Bus SMBus and Management Component Transport Protocol MCTP out of band management Figure 1 1 shows the architecture of the IN200 Figure 1 1 IN200 architecture Huawei IN200 NIC User Guide 1 Getting to Know the IN2...

Page 11: ...nk 4 Mainboard Table 1 1 describes the components of the IN200 Table 1 1 IN200 component descriptions Component Description Mainboard Includes a NIC module network port module and power module Hi1822 A NIC chip implementing NIC functions Huawei IN200 NIC User Guide 1 Getting to Know the IN200 Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 2 ...

Page 12: ... 6 Speed indicator Indicators The indicators display the working status of the IN200 Table 1 2 describes the indicators on the IN200 panel Table 1 2 Indicator description Indicator Meaning Color Description Active Link indicator Network connection status indicator Green l Off No link is established l Steady on A link is established and no data is being transmitte l Blinking A link is established a...

Page 13: ...tual eXtensible Local Area Network VXLAN Network Virtualization using Generic Routing Encapsulation NVGRE offload l Supports Pause frames Priority based Flow Control PFC and Enhanced Transmission Selection ETS l Supports NetQueue l Supports Single Root I O Virtualization SR IOV l Supports PF passthrough VMs l Supports PF hybrid mode unicast list filtering multicast list filtering and full multicas...

Page 14: ...s SR IOV DPDK and RoCE 1 4 Technical Specifications Table 1 3 lists the basic technical specifications of the IN200 Table 1 3 Technical Specifications Item Specifications Form factor Low profile NIC supporting a full height or half height bracket PCIe port PCIe x16 port compatible with x8 x4 x2 and x1 PCIe 3 0 compatible with 2 0 1 0 NIC chip Huawei HiSilicon Hi1822 NIC chip Network port Four Ethe...

Page 15: ... 12 3 12 4 15 Ubuntu 14 04 5 LTS 16 04 LTS 16 04 1 LTS 16 04 2 LTS 16 04 3 LTS 16 04 4 LTS 16 04 5 LTS 18 04 LTS 18 04 1 LTS 18 04 2 LTS 16 04 3 LTS 16 04 4 LTS 16 04 5 LTS 18 04 LTS 18 04 1 LTS 18 04 2 LTS Euler OS V2 0 SP2 V2 0 SP3 V2 0 SP7 V2 0 SP2 V2 0 SP3 V2 0 SP8 UVP V2R5 V3R0 V2R5 V3R0 Vmware ESXi 6 0 3 6 5 6 5 1 6 5 2 6 7 6 7 1 Microsoft Windows Windows Server 2012 R2 Windows Server 2016 l...

Page 16: ...ding OSs are for reference only For details about the OSs that can be purchased see the Intelligent Computing Compatibility Checker or consult the local Huawei sales representatives Huawei IN200 NIC User Guide 1 Getting to Know the IN200 Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 7 ...

Page 17: ...aining Software Packages Downloading Installation Packages Step 1 Log in to the Huawei Enterprise Website Step 2 Choose TECHNICAL SUPPORT Product Support Accelerator Components IN500 Solution Step 3 Click the software Download tab Step 4 Click the target version Step 5 Download the IN200 software package IN500_solution_5 1 0 zip NOTE The IN200 IN300 IN500 software package is named IN500_solution_5...

Page 18: ...ce OS name rpm 2 3 Maintaining the RoCE Driver Firmware upgrade package firmware update_bin cfg_data_nic_prd _1h_4x25G bin 2 4 Upgrading the IN200 Firmware Firmware log offline parsing dictionary file firmware dictionary index Hinicadm tool package Linux tools linux nic rpm 6 1 Customized Management Tool hinicadm tools linux nic collect_scripts NOTE This is a one click information collection scrip...

Page 19: ...Optional Obtain the SUSE gpg public keytaining SUSE Linux Certificate and Public Key The driver packages of SUSE Linux are certificated Before installing the driver install the corresponding certificate and public key on the server l Obtain the SUSE Linux PLDP certificate l Obtain the SUSE gpg public key 2 2 Maintaining the NIC Driver 2 2 1 Preparations SUSE Linux The IN200 has been certificated b...

Page 20: ...rting the SUSE gpg Public Key You only need to import the gpg public key of the SUSE installation package once Step 1 Obtain the SUSE gpg public key For details about the certificate address see 2 1 Obtaining Software Packages Step 2 Upload the public file such as gpg pubkey c2bea7e6 4c2de264 asc to any directory of the operating system on the server Step 3 Run the rpm import command to import the...

Page 21: ...L as an example root localhost rpm ivh kmod hinic 1 8 2 8_3 10 0_957 1 el7 x86_64 rpm Preparing 100 Updating installing 1 kmod hinic 1 8 2 8_3 10 0_957 1 e 100 l Ubuntu and Debian NOTE The NIC driver installation depends on the module init tools component If the module init tools component is not installed on the OS download and install the module init tools component based on the OS version from ...

Page 22: ...b install v hinic version kernel_version arch vib command NOTE Enter a full path after v Example root localhost esxcli software vib install v hinic 1 6 2 2 1OEM 650 0 0 4598673 x86_64 vib Installation Result Message The update completed successfully but the system needs to be rebooted for the changes to be effective Reboot Required true VIBs Installed Huawei_bootbank_hinic_1 6 2 2 1OEM 650 0 0 459...

Page 23: ...oad_mod l grep hinic command on VMware ESXi to check whether the driver has taken effect If no command output is displayed the driver has not taken effect and you need to perform the operation again If the command output about the IN200 driver is displayed the driver has taken effect 2 Run the version command to query the current driver version using hinicadm tool 3 In Microsoft Windows you can sc...

Page 24: ... Server Desktop Step 2 Go to the directory where the driver package is stored Step 3 Upgrade the driver l RHEL CentOS Oracle and SUSE Run the rpm Uvh driver software package name command Example root localhost rpm Uvh kmod hinic 2 3 0 0_3 10 0_957 1 el7 x86_64 rpm Preparing 100 Updating installing 1 kmod hinic 2 3 0 0_3 10 0_957 1 e 50 Cleaning up removing 2 kmod hinic 1 8 2 8_3 10 0_957 1 e 100 l...

Page 25: ...river perform operations in 2 2 2 Installing the Driver The system automatically replaces the original vib driver package based on the version and restarts for the update to take effect Upgrading the Driver on Microsoft Windows Step 1 Log in to the server OS For details see A 1 An Exception Occurs During Driver Installation or Uninstallation Step 2 Go to the directory where the driver package is s...

Page 26: ...es l The driver of the IN200 already exists on the OS l To upgrade the driver corresponding to SUSE Linux ensure that the preparations are ready For details see 2 2 1 Preparations SUSE Linux Impact During the uninstallation the OS cannot be restarted Otherwise the OS may be abnormal or cannot be started Uninstalling the Driver from Linux Step 1 Log in to the server OS For details see 7 1 Logging I...

Page 27: ...o to the directory where the driver package is installed Step 3 Uninstall the driver For example to uninstall the driver run the esxcli software vib remove n hifc command root localhost esxcli software vib remove n hinic Removal Result Message The update completed successfully but the system needs to be rebooted for the changes to be effective Reboot Required true VIBs Installed VIBs Removed Huawe...

Page 28: ... Huawei in house OFED package is included in the RoCE driver package Table 2 2 lists the OSs supported by the OFED Table 2 2 Preparing OSs supported by Huawei in house OFED OS x86 ARM CentOS 7 4 7 5 and 7 6 7 5 and 7 6 RHEL 7 5 and 7 6 Ubuntu 16 04 4 and 18 04 1 18 04 2 EulerOS V200R007C00SPC500B005 V200R008C00SPC100B220 2 3 2 Installing the Driver Prerequisites l The RoCE driver package has been ...

Page 29: ...p 4 Run the following command in the directory where the RoCE driver package is stored to decompress the OFED package tar xvf OFED tar gz Step 5 Run the following command to go to the OFED package directory cd OFED Step 6 Run the following commands to install the OFED package bash ofed_install sh The command output is as follows 2019 07 10 09 30 43 2019 07 10 09 30 43 2019 07 10 09 30 43 INSTALL i...

Page 30: ...ersion from the official Ubuntu Debian website 1 Download the module init tools component n Official Ubuntu website download address n Official Debian website download address 2 Upload the module init tools component file to the OS by referring to 7 3 Transferring a File Using the Virtual Directory 3 Run the following command to install the module init tools component dpkg i module init tools deb ...

Page 31: ...e Virtual Directory Step 7 Run therpm ivh rpm or dpkg i deb command to install the OFA OFED V4 8 2 Step 8 Install the RoCE driver in the directory where the RoCE driver package is stored l On the CentOS SUSE EulerOS or RHEL Run the rpm ivh name of the driver software package command to install the driver package The following commands use RHEL 7 3 as an example root localhost driver rpm ivh hiroce...

Page 32: ...has taken effect after the installation 1 Run the lsmod grep hiroce command on the OS If no command output is displayed the driver has not taken effect Reinstall the driver If the command output about the IN200 driver is displayed the driver has taken effect 2 Run the hiroce gids command view the command output and check whether the driver takes effect If the command output is displayed the driver...

Page 33: ...sh ofed_install sh 2019 07 10 09 30 43 2019 07 10 09 30 43 2019 07 10 09 30 43 INSTALL install OFED software start 2019 07 10 09 30 43 INSTALL check RPMS compat rdma devel rpm ok 2019 07 10 09 30 43 INSTALL check RPMS compat rdma rpm ok 2019 07 10 09 30 43 INSTALL check RPMS rdma core devel rpm ok 2019 07 10 09 30 43 INSTALL check RPMS rdma core rpm ok 2019 07 10 09 30 43 INSTALL check RPMS libibv...

Page 34: ...ng to unpack hiroce 2 3 0 2 4 15 0_29_generic ubuntu amd64 deb Unpacking hiroce 2 3 0 2 Setting up hiroce 2 3 0 2 Installing Please wait for a moment Install hiroce driver package successfully Step 6 Make the driver take effect Run the following commands on the OS rmmod hiroce modprobe hiroce NOTE This method takes effect temporarily If you require the OS to automatically load the driver upon star...

Page 35: ...elected package hiroce Reading database 80445 files and directories currently installed Preparing to unpack hiroce 2 3 0 2 4 15 0_29_generic ubuntu amd64 deb Unpacking hiroce 2 3 0 2 Setting up hiroce 2 3 0 2 Installing Please wait for a moment Install hiroce driver package successfully Step 7 Make the driver take effect Run the following commands on the OS rmmod hiroce modprobe hiroce NOTE This m...

Page 36: ... the OFED driver l On the OS supported by Huawei in house OFED run the bash uninstall sh command to uninstall the OFED driver l On the OS supported by non Huawei OFED run the rpm e X or dpkg r X command to uninstall the OFED driver Step 5 Make the uninstallation operation take effect You can select either of the following methods l Method 1 Run the reboot command on the OS l Method 2 a Check that ...

Page 37: ...vice name f Firmware file path command In the preceding command NIC device name indicates the name of the NIC in the system For example hinic0 indicates the first NIC and hinic1 indicates the second NIC Example hinicadm updatefw i hinic0 f Hi1822_nic_prd_1h_4x25G bin Please do not remove driver or network device Loading 100 Loading firmware image succeed Please reboot OS to take firmware effect 2 ...

Page 38: ...on in the BIOS NOTE Set the server boot mode to the UEFI mode before performing this operation Step 1 Log in to the real time server desktop using the Remote Virtual Console For details see 7 1 Logging In to the Real Time Server Desktop Step 2 Restart the server Step 3 The BIOS configuration screen is displayed l If the BIOS version is V363 or earlier the message shown in Figure 3 1 is displayed H...

Page 39: ...S screen as shown in Figure 3 2 Go to Step 5 Figure 3 2 BIOS screen 1 l If the BIOS version is V658 or later the message shown in Figure 3 3 is displayed Huawei IN200 NIC User Guide 3 Configuring SR IOV Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 30 ...

Page 40: ... 4 Figure 3 4 BIOS screen 2 Step 4 Use arrow keys to select BIOS Configuration in the lower right corner and press Enter The Setup Utility configuration screen is displayed Go to Step 6 Huawei IN200 NIC User Guide 3 Configuring SR IOV Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 31 ...

Page 41: ...vanced as shown in Figure 3 5 Figure 3 5 Advanced screen Step 7 Use arrow keys to select Peripheral Configuration and press Enter The Peripheral Configuration configuration screen is displayed as shown in Figure 3 6 Set PCIe SR IOV to Enbled Press Esc to return to the Advanced screen Huawei IN200 NIC User Guide 3 Configuring SR IOV Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 32 ...

Page 42: ...tep 8 Use the arrow keys to select Socket Configuration and press Enter to access the Socket Configuration screen as shown in Figure 3 7 Huawei IN200 NIC User Guide 3 Configuring SR IOV Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 33 ...

Page 43: ...n Step 9 Use arrow keys to select IIO Configuration and press Enter to access the IIO Configuration screen as shown in Figure 3 8 Huawei IN200 NIC User Guide 3 Configuring SR IOV Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 34 ...

Page 44: ...ted I O TV d and press Enter to access the Intel R TV for Directed I O TV d screen as shown in Figure 3 9 Set Intel R TV for Directed I O TV d to Enabled Press Esc to exit the screen Huawei IN200 NIC User Guide 3 Configuring SR IOV Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 35 ...

Page 45: ...add intel_iommu on to the GRUB file l To avoid memory mapping and performance problems on the host add iommu pt to the GRUB file when SR IOV is enabled Procedure This section uses RHEL 7 4 as an example to describe how to modify the system GRUB configuration file Step 1 Run the following command to check whether SR IOV is enabled l If yes no further action is required l If no go to Step 2 Step 2 I...

Page 46: ...s no further action is required l If no repeat Step 2 to Step 5 End 3 2 ARM Version 3 2 1 Configuring the Server BIOSs The following uses the BIOS of the TaiShan 2280 V2 as an example to describe how to enable the SR IOV function in the BIOS Step 1 Log in to the real time server desktop using the Remote Virtual Console For details see 7 1 Logging In to the Real Time Server Desktop Step 2 Restart t...

Page 47: ...up information The Setup Utility screen is displayed as shown in Figure 3 11 Figure 3 11 Setup Utility screen Huawei IN200 NIC User Guide 3 Configuring SR IOV Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 38 ...

Page 48: ...Press or to select MISI Config and press Enter The MISI Config screen is displayed Step 6 Set Support Smmu to Enabled and keep default values of other options as shown in Figure 3 13 Press F10 to exit BIOS configuration Huawei IN200 NIC User Guide 3 Configuring SR IOV Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 39 ...

Page 49: ...d This section describes how to configure the iommu passthrough 1 parameters in the SR IOV pass through mode Procedure This section uses RHEL 7 6 as an example to describe how to modify the system GRUB configuration file Step 1 Run the following command to check whether SR IOV is enabled l If yes no further action is required l If no go to Step 2 Step 2 In the system run the find command to search...

Page 50: ...cation is complete press Esc to exit the editing mode and enter wq to save the settings and exit Step 4 Restart the system reboot Step 5 Check whether intel_iommu on iommu pt is added to proc cmdline l If yes no further action is required l If no repeat Step 2 to Step 5 End Huawei IN200 NIC User Guide 3 Configuring SR IOV Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 41 ...

Page 51: ...NIC has been installed l The VLAN has been configured Procedure To configure QoS perform the following procedure 1 Configure the Data Center Bridging DCB Use the hinicadm management tool For command details see 6 1 4 45 Querying and Setting the DCB Function dcb 2 Configure PFC Use the hinicadm management tool For command details see 6 1 4 46 Querying and Setting the PFC Function pfc 3 Configure ET...

Page 52: ...ve backup mode1 Only one device is active If the active device fails the other device becomes active The MAC address is visible externally The MAC address of the bonding in this mode is unique preventing switch access disorders This mode provides only the fault tolerance capability and high availability of network connections but the resource utilization is low Figure 5 1 shows Active backup mode1...

Page 53: ...5 and 7 6 UVP 2 5 RC10 SPC110B055d and 2 5 RC9 B057 3 0 RC1 SPC800B050 3 0 RC2 B033 and 2 5 RC8 SPC800 B010 Ubuntu 18 04 1 18 04 2 EulerOS V200R007C00SPC500B005 and V200R005C00SPC310B056 2 2 RC3 V200R008C00SPC100B220 V200R008C00B180 and V200R005C00SPC310B056 5 3 Configuring RoCE Bonding You can implement bonding by creating destroying and configuring bonding devices using commands or a configurati...

Page 54: ...red with a trunk If mode is set to 4 the trunk of the switch must be configured to the static LACP mode It is recommended that the rate be set to the same value as that of bonding l If mode is set to 4 you need to configure lacp_rate echo 1 sys class net bond0 bonding lacp_rate ifconfig bond0 up ifenslave bond0 enp6s0 enp7s0 echo 100 sys class net bond0 bonding miimon miimon interval for checking ...

Page 55: ...et to the same value as that of bonding l If the bonding mode is set to 4 in the BONDING_OPTS item you are advised to set lacp_rate After the modification is complete press Esc to exit editing mode and enter wq to save the modification and exit Step 5 This step uses ports enp8s0 and enp9s0 as an example to describe how to bind fsb_bond In the etc sysconfig network scripts directory modify ifcfg en...

Page 56: ...e server OS Installing hinicadm on Linux Step 1 Log in to the server OS For details see 7 1 Logging In to the Real Time Server Desktop Step 2 Install the hinicadm tool l RPM package installation Run the rpm ivh hinicadm xxxx xxxx xxx rpm command Example linux uueJIR Hi1822 tools linux rpm ivh hinicadm 1 2 8 0 1 x86_64 rpm Preparing 100 Updating installing 1 hinicadm 1 2 8 0 1 100 l DEB package ins...

Page 57: ...ct_log exe and log packing tool 7z End 6 1 2 Using hinicadm Command Format The hinicadm supports the following command format hinicadm major cmd minor cmd parameter minor cmd parameter The command function is determined by the major command major cmd and minor commands minor cmd NOTE On Microsoft Windows you cannot double click hinicadm exe to use to the tool The following describes how to use the...

Page 58: ...rsion information info Queries the system device list or the basic information about a specified device log Obtains online logs and parses offline logs updatefw Upgrades and activates the firmware counter Collects statistics table Prints linear table information mac Queries the fixed MAC address fec Queries and sets the Forward Error Correction FEC mode of a specified port rate Queries and sets th...

Page 59: ... CentOS 7 4 7 5 7 6 l EulerOS V2 0 SP8 ARM l NeoKylin Server V5 0U5 V7 0U5 V7 0U6 NOTE l These commands are used only by developers for troubleshooting and do not affect your use of the hinicadm tool l These commands can be used only after the iommu for an x86 version or Smmu for an ARM version parameter is enabled in the SR IOV pass through mode For details see 3 Configuring SR IOV dp Queries sta...

Page 60: ...inux only sdi_cfg Queries and Sets the SDI Configuration roce_port_traffic Queries the real time traffic sent and received by each port of a NIC where a RoCE device is located reboot_notice Sets NIC Packet Data to Be Sent and Triggering NIC Packet Sending When AC Power Is Lost for ARM versions of Linux only dcb Queries and sets the DCB function Currently QoS can be configured only in Linux pfc Que...

Page 61: ... The version command is used to query the version information about the IN200 driver firmware and tools Format hinicadm version i devicename Parameters Parameter Description Value devicename Indicates the name of the IN200 to be queried in the system Example hinic0 and hinic1 Usage Instruction None Example Query the version information of a specified IN200 root localhost tool hinicadm version i hi...

Page 62: ...th5 08 00 1 NIC eth6 08 00 2 NIC eth7 08 00 3 NIC eth8 hinic1 ETH 09 00 0 NIC eth9 09 00 1 NIC eth10 09 00 2 NIC eth11 09 00 3 NIC eth12 Query the basic information of a specified IN200 root localhost tool hinicadm info i hinic0 Card information card type ETH port num 4 port speed 25GE pcie width 16 host num 1 pf num 4 vf total num 240 tile num 2 qcm num 6 core num 4 work mode 0 service mode 2 pci...

Page 63: ...fwlog ucode_ram_hinic0_2018_01_15_17_05_41 log create succeed opt hinic fwlog ucode_lastword_flash_hinic0_2018_01_15_17_05_41 log create succeed opt hinic fwlog up_lastword_flash_hinic0_2018_01_15_17_05_41 log create succeed opt hinic fwlog up_flash_hinic0_2018_01_15_17_05_41 log create succeed opt hinic fwlog up_ram_hinic0_2018_01_15_17_05_40 log create succeed root localhost tool opt hinic fwlog...

Page 64: ...ates the last words of the firmware and microcode Usage Instruction None Example Query the firmware logs in the flash memory on a specified IN200 root localhost tool hinicadm log i hinic0 t 1 opt hinic fwlog up_flash_hinic0_2018_01_15_17_05_41 log create succeed 6 1 4 3 3 Parsing Run Logs Offline o1 Function The log o1 command is used to parse firmware and microcode run logs offline and save the p...

Page 65: ...ed to the installation directory of the tool When running this command you can specify either m or u or both Example Parse the logs of the IN200 offline root localhost tool hinicadm log o1 error_log bin m up_index u ucode_index opt hinic fwlog up_ram_offline_2018_01_15_18_52_32 log create succeed opt hinic fwlog up_flash_offline_2018_01_15_18_52_32 log create succeed opt hinic fwlog ucode_ram_offl...

Page 66: ... of the IN200 offline root localhost tool hinicadm log o2 last_word bin opt hinic fwlog ucode_lastword_flash_offline_2018_01_15_18_58_25 log create succeed opt hinic fwlog up_lastword_flash_offline_2018_01_15_18_58_25 log create succeed root localhost tool opt hinic fwlog ls ucode_lastword_flash_offline_2018_01_15_18_58_25 log up_lastword_flash_offline_2018_01_15_18_58_25 log 6 1 4 3 5 Exporting W...

Page 67: ...ates the path to the firmware upgrade package Format Path Upgrade package name Usage Instruction None Example Cold upgrade the IN200 firmware root localhost tool hinicadm updatefw i hinic0 f Hi1822_nic_prd_1h_4x25G bin Please do not remove driver or network device Loading Firmware update start 2018 07 14 22 22 48 100 Firmware update finish 2018 07 14 22 23 10 Firmware update time uesd 22s Loading ...

Page 68: ...None Example Cold upgrade the firmware and configuration file of the IN200 root localhost tool hinicadm updatefw i hinic0 f OSM modules port Hi1822_fw bin c OSM modules Hi1822 update_cfg Hi1822_cfg_nic_smart_4x25G bin Please do not remove driver or network device Loading Firmware update start 2018 07 14 22 22 48 100 Firmware update finish 2018 07 14 22 23 10 Firmware update time uesd 22s Loading f...

Page 69: ...e activation type l up activates the uP firmware l ucode activates the microcode firmware NOTE If the command does not contain t all firmware is activated Usage Instruction None Example Upgrade abd activate the IN200 firmware root localhost tool hinicadm updatefw i hinic0 f Hi1822_nic_std_4_25G bin a now Please do not remove driver or network device Loading Firmware update start 2018 07 14 22 54 4...

Page 70: ...firmware succeed 6 1 4 5 Querying Statistics counter 6 1 4 5 1 Querying the Statistics of a Specified Device t x Function The counter command is used to query all statistics of a specified device including the MIB microcode firmware driver and IPSU statistics The counter t command is used to query the statistics of a specified device type The counter t x command is used to query the statistics of ...

Page 71: ...istics of the IN200 root localhost tool hinicadm counter i hinic0 uP Statistics uP Common Counter mag module except 117 general level except 246 suggest level except 127 mag err_mag_rf_lf 252 mag err_mag_linkdown 250 mag err_mag_linkup 127 Query the microcode statistics of the IN200 root localhost tool hinicadm counter i hinic0 t 1 uCode Statistics NIC MIB TX UC Counter func1 tx_uc 0x00000193b7694...

Page 72: ... NOTE This file is the out of band inspection information file of the IN200 obtained using the one click information collection function of the iBMC For details about the file obtaining method and save path see the iBMC User Guide Example running_log bi n Usage Instruction Before running this command transfer the inspection information file to be parsed to the installation directory of the tool Ex...

Page 73: ...index ranges from 0 to 511 l If the value of tabletype is 3 the value of tableindex ranges from 0 to 7 l If the value of tabletype is 4 the value of tableindex ranges from 0 to 4095 Usage Instruction None Example Query information about the linear table of the IN200 root localhost tool hinicadm table i hinic0 t 0 static er_id mac vlan_id forward_type forward_id 1 1 01 00 5e 00 00 01 0 6 9 1 1 33 3...

Page 74: ...sses mac Function The mac command is used to query the MAC address of a specified device Format hinicadm mac i devicename Parameters Parameter Description Value devicename Indicates the name of the IN200 to be queried in the system Example hinic0 and hinic1 Usage Instruction None Example Query the MAC address of the IN200 root localhost tool hinicadm mac i hinic0 mac 0 00 02 03 04 05 06 mac 1 00 0...

Page 75: ... whose FEC mode is to be set or queried in the system Example hinic0 and hinic1 portid Indicates the number of the port to be set or queried Usage Instruction None Example Query the FEC mode of port 0 of the IN200 root localhost tool hinicadm fec i hinic0 p 0 Port0 FEC mode nofec 6 1 4 8 2 Setting the Port FEC Mode p m Function The fec p m command is used to set the forward error correction FEC mo...

Page 76: ... a restart l The FEC mode takes effect only when the current optical module supports the FEC mode or an optical module that supports the FEC mode is install otherwise the original mode is used Example Set the FEC mode of port 0 of the IN200 to rsfec and use persistent configurations root localhost tool hinicadm nic_fec i hinic0 p 0 m rsfec d Set default FEC mode succeed Active default configuratio...

Page 77: ...efault configuration succeed 6 1 4 9 Querying and Setting a Port Rate Limit rate Function The rate command is used to query and set the rate limit parameters for the sending direction of a specified device port Format hinicadm rate i devicename hinicadm rate i devicename l limitvalue d Parameters Parameter Description Value devicename Indicates the name of the IN200 port to be set or queried in th...

Page 78: ...uerying the Chip and Optical Module Temperatures temperature Function The temperature command is used to query and set the chip and optical module temperatures of a specified IN200 Format hinicadm temperature i devicename Parameters Parameter Description Value devicename Indicates the name of the IN200 to be queried in the system Example hinic0 and hinic1 Usage Instruction None Example Query the c...

Page 79: ...cs Heartbeat Lost Counter heartbeat lost 0 CQM Counter cqm cmd alloc 0 cqm cmd free 0 cqm send cmd box 0 cqm send cmd imm 0 cqm db addr alloc 0 cqm db addr free 0 cqm fc srq create 0 cqm srq create 0 cqm rq create 0 cqm qpc mpt create 0 cqm nonrdma queue create 0 cqm rdma queue create 0 cqm rdma table create 0 cqm qpc mpt delete 0 cqm nonrdma queue delete 0 cqm rdma queue delete 0 cqm rdma table d...

Page 80: ...of all network devices on hinic0 are cleared If the object name used to clear the driver statistics is a network device name for example eth0 the statistics on the specified network device eth0 are cleared type Indicates the statistics type to be cleared l 0 asynchronous information statistics l 1 DFX information statistics l 2 Basic I O statistics Usage Instruction When type 2 the device name mus...

Page 81: ...red l The value range of each element in the sequence is 0 to 7 l The sequence must be in descending mode l The number of elements contained in the sequence must be the same as the number of supported classes of service CoSs the number of CoSs can be obtained by running the query command cge pause time Indicates the pause frame flow control time of the CGE module on the current chip port id Indica...

Page 82: ...Indicates the type of the register to be queried l 0 mag register l 1 read register address Indicates the address of the register to be queried The value must be a hexadecimal address num Indicates the number of registers to be queried The value must range from 1 to 32 channel Indicates the channel type of registers to be queried The value must range from 0 to 1 Usage Instruction If the command do...

Page 83: ...ried and set in the system Example hinic0 and hinic1 portid Indicates the number of the port to be queried or set mode Indicates the auto negotiation mode to be set l 25g auto negotiation mode defined by the 25G Ethernet Consortium l ieee auto negotiation mode defined by IEEE For details about the differences between the two modes see the protocol details of the IEEE 802 3 and 25G Ethernet Consort...

Page 84: ...1 direction Indicates the direction of the queue to be queried l 0 sending direction tx l 1 receiving direction rx type Indicates the information type to be queried l 0 queue information l 1 work queue entry WQE information l 2 CI table information only tx l 3 completion queue entry CQE information only rx queueid Indicates the ID of the queue to be queried wqeid Indicates the ID of the WQE to be ...

Page 85: ...e Indicates the work mode to be configured l nic indicates the standard NIC work mode l ovs indicates the open virtual switch work mode Usage Instruction Restart the operating system for the setting to take effect Example Set the work mode to ovs root localhost tool hinicadm mode i hinic0 m ovs Set work mode to ovs succeed Please reboot OS for the new mode to take effect Query the IN200 work mode ...

Page 86: ...he number of FE error records Usage Instruction The b is used to display all abnormal records Example Query all the error information about history FE threads of the IN200 root localhost tool hinicadm fe_epc i hinic0 show b index 192 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0...

Page 87: ...ed Usage Instruction If the command contains a all the threads are triggered Example Query all the error information about all FE threads of the IN200 root localhost tool hinicadm fe_epc i hinic0 a index 192 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...

Page 88: ... Usage Instruction None Example Queries basic information of port 0 root localhost tool hinicadm hilink_port i hinic0 p 0 gpio_insert present link_state no link an_state on alos 1 rx_los 0 speed 25 fec rsfec rf_lf 0x0 pma_fifo_reg 0x00000029 pma_signal_ok_reg 0x00000001 pcs_64_66b_reg 0x00001001 pcs_err_cnt 0x00000000 pcs_link no link vendorName Amphenol port_type copper port_sub_type unknow cable...

Page 89: ...cadm hilink_count i hinic0 p 0 err_bloack 0x00000000 base_fec 0x00000000 0x00000000 rs_fec 0x00000000 0x00000000 0x00000000 base_fec_idle 0x00000000 MAG RXTP TXDP 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 6 1 4 21 Quering Information About the an_train Register hili...

Page 90: ...0 6 1 4 22 Querying Physical Parameters of a Device in Specified Mode hilink_param Function The hilink_param command is used to query the ctle dfe and ffe parameters of a device in specified mode Format hinicadm hilink_param i devicename t type p portid Parameters Parameter Description Value devicename Indicates the name of the IN200 to be queried in the system Example hinic0 or hinic1 type Indica...

Page 91: ... of a Specified Port Function The hilink_speed command is used to query the transmission rate of a specified port Format hinicadm hilink_speed i devicename p portid Parameters Parameter Description Value devicename Indicates the name of the IN200 to be configured in the system Example hinic0 or hinic1 portid Indicates the number of the port to be set Usage Instruction None Example Query the transm...

Page 92: ...nd contains d the setting is permanent and takes effect after a restart l If the command does not contain d the setting is not permanent and will be restored to the factory setting after a restart Example Set the transmission rate of port 0 to 25 GB and make the setting take effect permanently root localhost tool hinicadm hilink_speed i hinic0 p 0 s 25 d Set forced speed succeed Set default config...

Page 93: ...ation mode of port 0 and make the setting take effect permanently root localhost tool hinicadm hilink_speed i hinic0 p 0 an on d Set auto negotiation succeed Set default configuration succeed Active default configuration succeed 6 1 4 23 4 Setting the Network Port Connection Mode m Function The hilink_speed m command is used to set the network port connection mode Format hinicadm hilink_speed i de...

Page 94: ...tart After the GE mode is adopted the FEC forced rate and auto negotiation cannot be configured Example Enable the GE mode for port 0 root localhost hinicadm hilink_speed i hinic0 p 0 m enable Set default configuration succeed Active default configuration succeed 6 1 4 23 5 Clearing Rate Permanence Configuration of a Specified Port c Function The hilink_speed c command is used to clear rate perman...

Page 95: ...inicadm serdes i devicename hinicadm serdes i devicename t hilink_type m macro Parameters Parameter Description Value devicename Indicates the name of the IN200 or port to be queried in the system Example hinic0 eth0 and eth1 hilink_type Indicates the configuration type 0 hi16 and hi30 1 hi16 or hi30 macro Indicates the macro digit Usage Instruction If the value of ethdevicename is an IN200 name t...

Page 96: ...m sfp i devicename p portid a Parameters Parameter Description Value devicename Indicates the name of the IN200 to be queried in the system Example hinic0 or hinic1 portid Indicates the number of a port to be queried This parameter takes effect when type is set to 1 Usage Instruction If the command contains a all information about the optical module is displayed in hexadecimal format Example Queri...

Page 97: ... control status of a port Format hinicadm sriov i devicename p portid hinicadm sriov i devicename p portid s sriov Parameters Parameter Description Value devicename Indicates the name of the IN200 to be queried or set in the system Example hinic0 and hinic1 portid Indicates the number of the port to be queried or set in the system sriov Indicates the status of the virtualization control mode l ena...

Page 98: ...on to take effect after the command is executed Example Restore factory settings of all IN200 ports root localhost tool hinicadm reset i hinic0 WARNING reset operation will cause all data be cleared WARNING You have selected to do reset operation Proceed with the reset Y N Y Pf0 restore factory settings succeed Pf1 restore factory settings succeed Pf2 restore factory settings succeed Pf3 restore f...

Page 99: ...p history counter RX link level bp Hi1822 TX bp status TX link level bp TX sub_level bp Hi1822 RX bp status RX link level bp RX sub_level bp 6 1 4 29 Querying Statistics on Chip Data Path Modules dp Function The dp command is used to query statistics on chip data path modules Format hinicadm dp i devicename Parameters Parameter Description Value devicename Indicates the name of the target IN200 in...

Page 100: ...ile_io i devicename Parameters Parameter Description Value devicename Indicates the name of the target IN200 in the system Example hinic0 and hinic1 Usage Instruction None Example Query the status of microcode threads root localhost tool hinicadm tile_io i hinic0 tile IO status core0_tc0_IO_0 WAIT core0_tc1_IO_0 WAIT core0_tc2_IO_0 WAIT core0_tc3_IO_0 WAIT core1_tc0_IO_0 WAIT core1_tc1_IO_0 WAIT c...

Page 101: ...e usage of chip CPB cells Format hinicadm cpb i devicename Parameters Parameter Description Value devicename Indicates the name of the target IN200 in the system Example hinic0 and hinic1 Usage Instruction None Example Query the usage of chip CPB cells root localhost tool hinicadm cpb i hinic0 CPB CELL NUM STATIC total_cell_num 30720 free_cell_num 30720 pdm_glb_num 178 cpi_octl_cell_num 178 leak_c...

Page 102: ...hip Register csr_wr Function The csr_wr command is used to write the value of a chip register Format hinicadm csr_wr i devicename m module name a address x index d data Parameters Parameter Description Value devicename Indicates the name of the target IN200 in the system Example hinic0 and hinic1 module name Module type cpb ipsurx ipsutx qu pe esch mqm lcam sml0 sml1 smf tile0 ppe0 tile1 or ppe1 a...

Page 103: ...of the target IN200 in the system Example hinic0 and hinic1 module name Module type cpb ipsurx ipsutx qu pe esch mqm lcam sml0 sml1 smf tile0 ppe0 tile1 ppe1 or all type Register type cfg err merr int cnt ctp cap hst mem dummy or all Usage Instruction l Stop the services before running this command l Do not run this command twice on the same IN200 l When this command is run the registers of the ch...

Page 104: ...nic1 module name Indicates the resource type all glb pg tx rx yzone rzone nport ncos host hsrv hport hpri hep or hque index Indicates the entry index of a resource type Usage Instruction None Example Query the host resource information root localhost hinicadm pdm i hinic0 m host x 0 HOST RESOURCE tbl_idx nm_th mqm_th gap_th nm_cnt host0 10292 10036 150 0 6 1 4 35 2 Querying the CPB CELL Resource A...

Page 105: ...ource type has a unique index range which must be greater than or equal to the start index Usage Instruction None Example Query the host resource information in a specified range root localhost hinicadm pdm i hinic0 m host s 0 e 3 HOST RESOURCE tbl_idx nm_th mqm_th gap_th nm_cnt host0 10292 10036 150 0 host1 10292 10036 150 0 host2 10292 10036 150 0 host3 10292 10036 150 0 6 1 4 36 Querying the In...

Page 106: ...ormat hinicadm self_adaption i devicename p portid hinicadm self_adaption i devicename p portid s status d Parameters Parameter Description Value devicename Indicates the name of the target IN200 in the system Example hinic0 and hinic1 portid Indicates the target port number status Indicates the status of the port auto adaptation mode l enable l disable default value Usage Instruction l If the com...

Page 107: ... Function The lro command is used to set the LRO coalesce time Format hinicadm lro i devicename Parameters Parameter Description Value devicename Indicates the name of the IN200 whose FEC mode is to be queried in the system Example hinic0 and hinic1 Usage Instruction None Example Query the LRO coalesce time root localhost tool hinicadm lro i hinic0 LRO coalesce time 10us 6 1 4 38 2 Setting the LRO...

Page 108: ...Statistics of Received and Sent Packets of a NIC Port xstats Function The xstats command is used to query the statistics of received and sent packets of a NIC port Format hinicadm exe xstats i devicename Parameters Parameter Description Value devicename Indicates the name of the IN200 to be queried in the system Example hinic0 or hinic1 Usage Instruction None Example Query the statistics of receiv...

Page 109: ...h ph pend_high Parameters Parameter Description Value devicename Indicates the name of the IN200 to be queried in the system Example hinic0 or hinic1 coal_timer Indicates the coalescence time pend_limit Indicates the number of coalescence packets rate_low Indicates the lower threshold of the packet rate usecs_low Indicates the lower threshold of the receive time pend_low Indicates the lower coales...

Page 110: ... parameters succeed 6 1 4 41 Querying and Setting the SDI Card Mode sdi_mode 6 1 4 41 1 Querying the SDI Card Mode Function The sdi_mode command is used to query the SDI card mode Format hinicadm sdi_mode i devicename Parameters Parameter Description Value devicename Indicates the name of the IN200 whose FEC mode is to be queried in the system Example hinic0 and hinic1 Usage Instruction None Examp...

Page 111: ...he SDI card mode linux EXvCVE hinicadm sdi_mode i hinic0 m bm Set sdi mode to bm succeed Please reboot OS for the new mode to take effect 6 1 4 42 Querying and Setting the SDI Configuration sdi_cfg The sdi_cfg command is used to query and set the SDI configuration including the management VLAN and PF rate limit parameters 6 1 4 42 1 Querying the Configured Management VLAN t cpath_vlan Function The...

Page 112: ...n v s command is used to configure a management VLAN Format hinicadm sdi_cfg i devicename t cpath_vlan v vlan s Parameters Parameter Description Value devicename Indicates the name of the IN200 whose FEC mode is to be set in the system Example hinic0 and hinic1 vlan Indicates the VLAN ID It is an integer ranging from 0 to 4095 Usage Instruction None Example Configure a management VLAN linux xvUVkf...

Page 113: ...sage Instruction None Example Delete the configured management VLAN linux xvUVkf hinicadm sdi_cfg i hinic0 t cpath_vlan v 4095 c Clear control path vlan 4095 succeed 6 1 4 42 4 Querying the TX Rate Limit of a Specified PF t pf_tx_rate Function The t pf_tx_rate command is used to query the TX rate limit of a specified PF Format hinicadm sdi_cfg i devicename t pf_tx_rate Parameters Parameter Descrip...

Page 114: ... the IN200 whose FEC mode is to be set in the system Example hinic0 and hinic1 cir cbs pir pbs Indicates the TX rate limit l The unit of cir and pir is kbit s l The unit of cbs and pbs is kbit Usage Instruction None Example Set the TX rate limit of a specified eth4 device linux xvUVkf hinicadm sdi_cfg i eth4 t pf_tx_rate l 1000000 800000 1000000 800000 Set eth4 pf rate succeed 6 1 4 42 6 Deleting ...

Page 115: ...rx_rate Function The t pf_rx_rate command is used to query the RX rate limit of a specified PF Format hinicadm sdi_cfg i devicename t pf_rx_rate Parameters Parameter Description Value devicename Indicates the name of the IN200 whose FEC mode is to be queried in the system Example hinic0 and hinic1 Usage Instruction None Example Query the RX rate limit of a specified eth4 device linux xvUVkf hinica...

Page 116: ...is kbit Usage Instruction None Example Set the RX rate limit of a specified eth4 device linux xvUVkf hinicadm sdi_cfg i eth4 t pf_rx_rate l 1000000 800000 Set eth4 pf rate succeed 6 1 4 42 9 Deleting the RX Rate Limit of a Specified PF t pf_rx_rate c Function The t pf_rx_rate c command is used to delete the RX rate limit of a specified PF Format hinicadm sdi_cfg i devicename t pf_rx_rate c Paramet...

Page 117: ...he execution time Unit second Usage Instruction None Example Run the perftest test command ib_send_lat to enable the RoCE device hrn0_bond_0 to receive and send data root localhost service ib_send_lat d hrn0_bond_0 F a x 1 root localhost client ib_send_lat d hrn0_bond_0 F a x 1 127 0 0 1 Use hrn_bond_0 to show the real time traffic information of all RoCE ports view the traffic data of hrn0_bond_0...

Page 118: ...om the NIC or writes data to the NIC l read obtains packet data to be sent from the NIC and saves the data to the file specified by filename l write writes data to be sent to the NIC The data is from the file specified by filename filename Name of the file that stores the packet data Usage Instruction l s triggers all ports of the NIC to send packet data l This command supports only NICs of the Ta...

Page 119: ...r enp7s0 mode Enables or disables the DCB function l 1 Enables the DCB function l 0 Disables the DCB function Usage Instruction None Example Check whether DCB is enabled for enp6s0 root localhost hinicadm dcb i enp6s0 enp6s0 dcb state disable Enable DCB for enp6s0 root localhost hinicadm dcb i enp6s0 e 1 Set enp6s0 dcb to enable succeed 6 1 4 46 Querying and Setting the PFC Function pfc Function T...

Page 120: ...le Check whether PFC is enabled for enp6s0 root localhost hinicadm pfc i enp6s0 enp6s0 pfc state disable pfcup 1 1 1 1 1 1 1 1 num TC s 4 Enable PFC for enp6s0 root localhost hinicadm pfc i enp6s0 e 1 Set enp6s0 pfc to enable succeed Enable the PFC for priority 2 and priority 3 of enp6s0 root localhost hinicadm pfc i enp6s0 p 00110000 Set enp6s0 pfc to enable succeed Set enp6s0 pfc succeed 6 1 4 4...

Page 121: ... 0 0 0 0 0 0 0 Enable ETS for enp6s0 root localhost hinicadm ets i enp6s0 e 1 Set enp6s0 ets succeed 6 1 4 47 2 Setting SP Scheduling t Function The ets t command is used to set SP scheduling of a device Format hinicadm ets i devicename e mode t tc hinicadm ets i devicename t tc Parameters Parameter Description Value devicename Indicates the name of the IN200 to be queried and set in the system Fo...

Page 122: ...s0 to SP scheduling root localhost hinicadm ets i enp6s0 e 1 t 00120000 Set enp6s0 ets succeed 6 1 4 47 3 Setting DWRR Scheduling t p Function The ets t p s command is used to set Deficit Weighted Round Robin DWRR scheduling of a device Format hinicadm ets i devicename e mode t tc p percent hinicadm ets i devicename t tc p percent Parameters Parameter Description Value devicename Indicates the nam...

Page 123: ... be manually reconfigured Example Set the priority 2 and priority 3 ETS of enp6s0 to DWRR scheduling The bandwidth of priority 2 accounts for 20 and the bandwidth of priority 3 accounts for 80 root localhost hinicadm ets i device e 1 t 00120000 p 0 0 20 80 0 0 0 0 Set enp6s0 ets succeed 6 1 5 Upgrading hinicadm Prerequisites l The hinicadm installation package has been downloaded For the package n...

Page 124: ... the upgrade is successful 6 1 6 Uninstalling hinicadm Uninstalling hinicadm from Linux Step 1 Log in to the server OS For details see 7 1 Logging In to the Real Time Server Desktop Step 2 Go to the hinicadm installation directory Step 3 Uninstall hinicadm l RPM Package Run the rpm e hinicadm command linux uueJIR Hi1822 tools linux rpm e hinicadm NOTE There are some user files under the directory ...

Page 125: ...ce run the ethtool s ethx autoneg off command to disable auto negotiation on the corresponding IN200 port ethtool a ethx Displays the pause status of a specified Ethernet port ethtool A ethx Sets the pause status of a specified Ethernet port ethtool c ethx Displays the interrupt aggregation parameter of a specified Ethernet port ethtool C ethx Configures the interrupt aggregation parameter of a sp...

Page 126: ...mmon ifconfig commands supported by the IN200 and their functions For details about how to use the commands see the help information provided on the CLI Table 6 3 Common ifconfig commands Command Function ifconfig ethx hw Configures the NIC address ifconfig ethx mtu Configures the network port MTU ifconfig ethx allmulti Enables or disables the full multicast feature ifconfig ethx promisc Enables o...

Page 127: ...rovided on the CLI Table 6 6 Common dcbtool commands Command Function dcbtool sc ethx dcb on off Enables or disables Data Center Bridgin DCB dcbtool gc ethx dcb Queries the DCB status dcbtool gc ethx pg Queries the priority group settings dcbtool sc ethx pg pgid xxx Specifies the priority bandwidth group to which a specified priority is mapped dcbtool sc ethx pg pgpct x x x x x x x x Specifies the...

Page 128: ...nsole provided by the server iBMC to log in to the real time server desktop Step 1 Configure the login environment 1 Connect the PC to the iBMC management network port using a network cable 2 Set an IP address for the PC and ensure that the IP address is on the same network segment as that of the iBMC management network port For example set the IP address to 192 168 2 10 and the subnet mask to 255...

Page 129: ...avigation tree choose Remote Control The Remote Control page is displayed 2 Click the Remote Virtual Console button If Java is integrated click Java Integrated Remote Console If HTML5 is integrated click HTML5 Integrated Remote Console The following uses the Java integrated Remote Virtual Console as an example The Remote Virtual Console screen is displayed as shown in Figure 7 2 Huawei IN200 NIC U...

Page 130: ... take effect Restarting the Server on the iBMC WebUI Step 1 Log in to the iBMC WebUI For details see 7 1 Logging In to the Real Time Server Desktop Step 2 In the navigation tree choose Power Power Control The Power Control page is displayed as shown in Figure 7 3 Huawei IN200 NIC User Guide 7 Appendix Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 121 ...

Page 131: ... Remote Virtual Console Step 1 Log in to the real time server desktop using the Remote Virtual Console For details see 7 1 Logging In to the Real Time Server Desktop Step 2 On the toolbar of the Remote Virtual Console click The power control menu is displayed as shown in Figure 7 4 Huawei IN200 NIC User Guide 7 Appendix Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 122 ...

Page 132: ...emote Virtual Console For details see 7 1 Logging In to the Real Time Server Desktop Step 2 On the toolbar of the Remote Virtual Console click The virtual device list is displayed as shown in Figure 7 5 Figure 7 5 Virtual device menu Step 3 Select Directory and click Browse Step 4 Select the local path where the file is Step 5 Click Connect Step 6 Copy the file to the server OS The device type and...

Page 133: ...the Real Time Server Desktop Step 2 Restart the server Step 3 The BIOS configuration screen is displayed l If the BIOS version is V363 or earlier the message shown in Figure 7 6 is displayed Figure 7 6 Startup information 1 Press F11 to access the BIOS screen as shown in Figure 7 7 Go to Step 4 Huawei IN200 NIC User Guide 7 Appendix Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 124 ...

Page 134: ... or later the message shown in Figure 7 8 is displayed Figure 7 8 Startup information 2 Press Delete to access the BIOS screen as shown in Figure 7 9 Go to Step 4 Huawei IN200 NIC User Guide 7 Appendix Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 125 ...

Page 135: ...row keys to select Device Manager and press Enter The Device Manager screen is displayed as shown in Figure 7 10 Figure 7 10 Device Manager screen Huawei IN200 NIC User Guide 7 Appendix Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 126 ...

Page 136: ...e 7 11 Figure 7 11 Network Device List screen Step 6 Select the MAC address of the target NIC and press Enter The NIC configuration screen is displayed as shown in Figure 7 12 Figure 7 12 NIC configuration screen Huawei IN200 NIC User Guide 7 Appendix Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 127 ...

Page 137: ...er Configuration screen Table 7 1 Parameter description Parameter Description Value Range PXE Indicates whether to enable the PXE function l ENABLE l DISABLE PXE VLAN Indicates whether to enable the VLAN function l ENABLE l DISABLE Bandwidth Indicates the rate limit of the network port 1 to 100 Work Mode Indicates the NIC working mode l Basic NIC Mode l OVS Offload Mode Huawei IN200 NIC User Guide...

Page 138: ...F Auto Negotiation When GE Mode is set to Disable the auto negotiation function of the port is enabled NOTE When Auto Negotitaion is set to OFF Link Speed and FEC can be configured l ON l OFF Link Speed and FEC Indicates the network port speed and the FEC mode l If the NIC supports 25GE and 10GE the network port speed and FEC mode options are as follows 25GE NO FEC 25GE BASE FEC 25GE RS FEC 10GE N...

Page 139: ...fault Specifies whether to restore the port to factory settings l Disable l Enable Step 8 Set parameters as required Step 9 Save the settings and exit End Huawei IN200 NIC User Guide 7 Appendix Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 130 ...

Page 140: ...PsExec exe tool to delete the residual registry entries Step 1 Download the PsExec exe tool Step 2 Open the registry and find the name of the residual registry entries The paths are HKEY_LOCAL_MACHINE DRIVERS DriverDatabase DriverPackages hinic inf_amd64xxxx Step 3 Open the cmd window and run the following command to delete the residual registry entries PsExec exe d i s reg delete HKEY_LOCAL_MACHI...

Page 141: ...TS Enhanced Transmission Selection F FEC Forward Error Correction I I2C Inter integrated Circuit L LRO large receive offload LACP Link Aggregation Control Protocol M MAC Media Access Control MCTP Management Component Transport Protocol Huawei IN200 NIC User Guide B Acronyms and Abbreviations Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 132 ...

Page 142: ...erged Ethernet RSS Receive Side Scaling S SMBus System Management Bus SR IOV Single Root I O Virtualization T TC Traffic Classifier TSO TCP Segmentation Offload U UEFI Unified Extensible Firmware Interface V VLAN Virtual Local Area Network VXLAN Virtual eXensible Local Area Network Huawei IN200 NIC User Guide B Acronyms and Abbreviations Issue 06 2019 07 27 Copyright Huawei Technologies Co Ltd 133...

Reviews: