1 What: /sys/devices/platform/HISI04Bx 1 What: /sys/devices/platform/HISI04Bx:00/chipX/all_linked 2 What: /sys/devices/platform/HISI04Bx 2 What: /sys/devices/platform/HISI04Bx:00/chipX/linked_full_lane 3 What: /sys/devices/platform/HISI04Bx 3 What: /sys/devices/platform/HISI04Bx:00/chipX/crc_err_cnt 4 Date: November 2023 4 Date: November 2023 5 KernelVersion: 6.6 5 KernelVersion: 6.6 6 Contact: Huisong Li <lihuisong@huawei.co !! 6 Contact: Huisong Li <lihuisong@huawei.org> 7 Description: 7 Description: 8 The /sys/devices/platform/HISI 8 The /sys/devices/platform/HISI04Bx:00/chipX/ directory 9 contains read-only attributes 9 contains read-only attributes exposing some summarization 10 information of all HCCS ports 10 information of all HCCS ports under a specified chip. 11 The X in 'chipX' indicates the 11 The X in 'chipX' indicates the Xth chip on platform. 12 12 13 There are following attributes 13 There are following attributes in this directory: 14 14 15 ================= ==== ======= 15 ================= ==== ========================================= 16 all_linked: (RO) if all 16 all_linked: (RO) if all enabled ports on this chip are 17 linked 17 linked (bool). 18 linked_full_lane: (RO) if all 18 linked_full_lane: (RO) if all linked ports on this chip are full 19 lane (b 19 lane (bool). 20 crc_err_cnt: (RO) total C 20 crc_err_cnt: (RO) total CRC err count for all ports on this 21 chip. 21 chip. 22 ================= ==== ======= 22 ================= ==== ========================================= 23 23 24 What: /sys/devices/platform/HISI04Bx 24 What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/all_linked 25 What: /sys/devices/platform/HISI04Bx 25 What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/linked_full_lane 26 What: /sys/devices/platform/HISI04Bx 26 What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/crc_err_cnt 27 Date: November 2023 27 Date: November 2023 28 KernelVersion: 6.6 28 KernelVersion: 6.6 29 Contact: Huisong Li <lihuisong@huawei.co !! 29 Contact: Huisong Li <lihuisong@huawei.org> 30 Description: 30 Description: 31 The /sys/devices/platform/HISI 31 The /sys/devices/platform/HISI04Bx:00/chipX/dieY/ directory 32 contains read-only attributes 32 contains read-only attributes exposing some summarization 33 information of all HCCS ports 33 information of all HCCS ports under a specified die. 34 The Y in 'dieY' indicates the 34 The Y in 'dieY' indicates the hardware id of the die on chip who 35 has chip id X. 35 has chip id X. 36 36 37 There are following attributes 37 There are following attributes in this directory: 38 38 39 ================= ==== ======= 39 ================= ==== ========================================= 40 all_linked: (RO) if all 40 all_linked: (RO) if all enabled ports on this die are 41 linked 41 linked (bool). 42 linked_full_lane: (RO) if all 42 linked_full_lane: (RO) if all linked ports on this die are full 43 lane (b 43 lane (bool). 44 crc_err_cnt: (RO) total C 44 crc_err_cnt: (RO) total CRC err count for all ports on this 45 die. 45 die. 46 ================= ==== ======= 46 ================= ==== ========================================= 47 47 48 What: /sys/devices/platform/HISI04Bx 48 What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/type 49 What: /sys/devices/platform/HISI04Bx 49 What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/lane_mode 50 What: /sys/devices/platform/HISI04Bx 50 What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/enable 51 What: /sys/devices/platform/HISI04Bx 51 What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/cur_lane_num 52 What: /sys/devices/platform/HISI04Bx 52 What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/link_fsm 53 What: /sys/devices/platform/HISI04Bx 53 What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/lane_mask 54 What: /sys/devices/platform/HISI04Bx 54 What: /sys/devices/platform/HISI04Bx:00/chipX/dieY/hccsN/crc_err_cnt 55 Date: November 2023 55 Date: November 2023 56 KernelVersion: 6.6 56 KernelVersion: 6.6 57 Contact: Huisong Li <lihuisong@huawei.co !! 57 Contact: Huisong Li <lihuisong@huawei.org> 58 Description: 58 Description: 59 The /sys/devices/platform/HISI 59 The /sys/devices/platform/HISI04Bx/chipX/dieX/hccsN/ directory 60 contains read-only attributes 60 contains read-only attributes exposing information about 61 a HCCS port. The N value in 'h 61 a HCCS port. The N value in 'hccsN' indicates this port id. 62 The X in 'chipX' indicates the 62 The X in 'chipX' indicates the ID of the chip to which the 63 HCCS port belongs. For example 63 HCCS port belongs. For example, X ranges from to 'n - 1' if the 64 chip number on platform is n. 64 chip number on platform is n. 65 The Y in 'dieY' indicates the 65 The Y in 'dieY' indicates the hardware id of the die to which 66 the hccs port belongs. 66 the hccs port belongs. 67 Note: type, lane_mode and enab 67 Note: type, lane_mode and enable are fixed attributes on running 68 platform. 68 platform. 69 69 70 The HCCS port have the followi 70 The HCCS port have the following attributes: 71 71 72 ============= ==== =========== 72 ============= ==== ============================================= 73 type: (RO) port type ( 73 type: (RO) port type (string), e.g. HCCS-v1 -> H32 74 lane_mode: (RO) the lane mo 74 lane_mode: (RO) the lane mode of this port (string), e.g. x8 75 enable: (RO) indicate if 75 enable: (RO) indicate if this port is enabled (bool). 76 cur_lane_num: (RO) current lan 76 cur_lane_num: (RO) current lane number of this port. 77 link_fsm: (RO) link finite 77 link_fsm: (RO) link finite state machine of this port. 78 lane_mask: (RO) current lan 78 lane_mask: (RO) current lane mask of this port, every bit 79 indicates a 79 indicates a lane. 80 crc_err_cnt: (RO) CRC err cou 80 crc_err_cnt: (RO) CRC err count on this port. 81 ============= ==== =========== 81 ============= ==== =============================================
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.