Dell S5212F-ON Open Networking Hardware Diagnostic Guide December 2021 - Page 47

nputool, Read output, Write output, Constraints, Data flow, Tests, CLI options

Page 47 highlights

Read output root@dell-diag-os:~# memtool --read --addr=200 [00000200]: 0x00 || . Write output root@dell-diag-os:~# memtool --write --addr=200 --val=0x50 Constraints You cannot perform memory tests while other tests that allocate and use memory within the region are performing. However, you can perform the Read tests concurrently with other processes. You cannot run multiple memory tests at the same time as they may collide within the memory spaces. Memory tests cannot test all the memory, and without cache flushes, memory tests may not get out of the caches. The SDI must ensure the memory accessed is accessing the physical memory. This check slows down the tests. Data flow The memtool is not part of the data path and does not participate in the data flow. nputool The nputool allows for configuring and testing the switch ASICs. The nputool tests the NPU in the system. The nputool verifies that ports are up and traffic between the ports is working either using the CPU-generated packet or using IXIA connected to port-1 and port-2 based on the configuration. Tests Tests are shown in the following sections. CLI options The nputool shows the available options with the nputool -h or nputool command. DellEmc Diag ---- NPU Tool version 1.0, x.xx.x.x-x build, 2017/05/23, Syntax: nputool -h, --help -i, --init -t, --test all id -s, --show counter temp := Show this help := Initialize NPU chip := Run All NPU tests := Run test based on test ID := Dump packet counters := Display NPU temperature -l, --lpbk [phy/mac/ext]:= Specify Loopback type for traffic test -T, --traffic [ixia_self,ixia_adj,cpu_self,cpu_adj] := Send IXIA or CPU traffic based on specified cfg self->timbercon lpbk, adj->fiber lpbk -I, --iteration [count]:= Execute repeatedly command by count Dell EMC DAIG-OS tools 47

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82

Read output
root@dell-diag-os:~# memtool --read --addr=200
[00000200]: 0x00
|| .
Write output
root@dell-diag-os:~# memtool --write --addr=200 --val=0x50
Constraints
You cannot perform memory tests while other tests that allocate and use memory within the region are performing. However,
you can perform the Read tests concurrently with other processes. You cannot run multiple memory tests at the same time as
they may collide within the memory spaces.
Memory tests cannot test all the memory, and without cache flushes, memory tests may not get out of the caches. The SDI
must ensure the memory accessed is accessing the physical memory. This check slows down the tests.
Data flow
The
memtool
is not part of the data path and does not participate in the data flow.
nputool
The
nputool
allows for configuring and testing the switch ASICs.
The
nputool
tests the NPU in the system. The
nputool
verifies that ports are up and traffic between the ports is working
either using the CPU-generated packet or using IXIA connected to port-1 and port-2 based on the configuration.
Tests
Tests are shown in the following sections.
CLI options
The
nputool
shows the available options with the
nputool -h
or
nputool
command.
DellEmc Diag ---- NPU Tool
version 1.0, x.xx.x.x-x
build, 2017/05/23,
Syntax: nputool
-h, --help
:= Show this help
-i, --init
:= Initialize NPU chip
-t, --test
all
:= Run All NPU tests
id
:= Run test based on test ID
-s, --show
counter
:= Dump packet counters
temp
:= Display NPU temperature
-l, --lpbk [phy/mac/ext]:= Specify Loopback type for traffic test
-T, --traffic [ixia_self,ixia_adj,cpu_self,cpu_adj]
:= Send IXIA or CPU traffic based on specified cfg
self->timbercon lpbk, adj->fiber lpbk
-I, --iteration [count]:= Execute repeatedly command by count
Dell EMC DAIG-OS tools
47