@@ -22,48 +22,61 @@ export FI_LOG_PROV=cxi
22
22
# fi
23
23
24
24
# Run tests with constrained LE count - Using Flow Control recovery
25
- MAX_ALLOC=` csrutil dump csr le_pools[63] | grep max_alloc | awk ' {print $3}' `
26
- csrutil store csr le_pools[] max_alloc=10 > /dev/null
25
+ MAX_ALLOC=` cxiutil dump csr le_pools[63] | grep max_alloc | awk ' {print $3}' `
26
+ cxiutil store csr le_pools[0] max_alloc=10 > /dev/null
27
+ cxiutil store csr le_pools[16] max_alloc=10 > /dev/null
28
+ cxiutil store csr le_pools[32] max_alloc=10 > /dev/null
29
+ cxiutil store csr le_pools[48] max_alloc=10 > /dev/null
27
30
echo " running;FI_CXI_RX_MATCH_MODE=hardware ./cxitest --verbose --filter=\" tagged/fc*\" --tap=cxitest-fc.tap -j1 > $TEST_OUTPUT 2>&1"
28
31
FI_CXI_RX_MATCH_MODE=hardware ./cxitest --verbose --filter=" tagged/fc*" --tap=cxitest-fc.tap -j1 > $TEST_OUTPUT 2>&1
29
32
cxitest_exit_status=$?
30
- csrutil store csr le_pools[] max_alloc=$MAX_ALLOC > /dev/null
33
+ cxiutil store csr le_pools[] max_alloc=$MAX_ALLOC > /dev/null
31
34
if [[ $cxitest_exit_status -ne 0 ]]; then
32
35
echo " cxitest return non-zero exit code. Possible failures in test teardown"
33
36
exit 1
34
37
fi
35
38
36
39
# Run tests with constrained LE count - Using hybrid operation instead
37
40
# of flow control recovery
38
- MAX_ALLOC=` csrutil dump csr le_pools[63] | grep max_alloc | awk ' {print $3}' `
39
- csrutil store csr le_pools[] max_alloc=10 > /dev/null
41
+ MAX_ALLOC=` cxiutil dump csr le_pools[63] | grep max_alloc | awk ' {print $3}' `
42
+ cxiutil store csr le_pools[0] max_alloc=10 > /dev/null
43
+ cxiutil store csr le_pools[16] max_alloc=10 > /dev/null
44
+ cxiutil store csr le_pools[32] max_alloc=10 > /dev/null
45
+ cxiutil store csr le_pools[48] max_alloc=10 > /dev/null
40
46
echo " running;FI_CXI_RX_MATCH_MODE=hybrid FI_CXI_RDZV_GET_MIN=0 ./cxitest --verbose --filter=\" tagged/fc*\" --tap=cxitest-sw-transition.tap -j1 >> $TEST_OUTPUT 2>&1"
41
47
FI_CXI_RX_MATCH_MODE=hybrid FI_CXI_RDZV_GET_MIN=0 ./cxitest --verbose --filter=" tagged/fc*" --tap=cxitest-sw-transition.tap -j1 >> $TEST_OUTPUT 2>&1
42
48
cxitest_exit_status=$?
43
- csrutil store csr le_pools[] max_alloc=$MAX_ALLOC > /dev/null
49
+ cxiutil store csr le_pools[] max_alloc=$MAX_ALLOC > /dev/null
44
50
if [[ $cxitest_exit_status -ne 0 ]]; then
45
51
echo " cxitest return non-zero exit code. Possible failures in test teardown"
46
52
exit 1
47
53
fi
48
54
49
55
# Run HW to SW hybrid test with constrained LE count and forcing both
50
56
# eager and rendezvous processing
51
- MAX_ALLOC=` csrutil dump csr le_pools[63] | grep max_alloc | awk ' {print $3}' `
52
- csrutil store csr le_pools[] max_alloc=60 > /dev/null
57
+ MAX_ALLOC=` cxiutil dump csr le_pools[63] | grep max_alloc | awk ' {print $3}' `
58
+ cxiutil store csr le_pools[0] max_alloc=60 > /dev/null
59
+ cxiutil store csr le_pools[16] max_alloc=60 > /dev/null
60
+ cxiutil store csr le_pools[32] max_alloc=60 > /dev/null
61
+ cxiutil store csr le_pools[48] max_alloc=60 > /dev/null
53
62
echo " running;FI_CXI_RX_MATCH_MODE=hybrid FI_CXI_RDZV_GET_MIN=0 FI_CXI_RDZV_THRESHOLD=2048 ./cxitest --verbose --filter=\" tagged/hw2sw_*\" --tap=cxitest-hw2sw-transition.tap -j1 >> $TEST_OUTPUT 2>&1"
54
63
FI_CXI_RX_MATCH_MODE=hybrid FI_CXI_RDZV_GET_MIN=0 FI_CXI_RDZV_THRESHOLD=2048 ./cxitest --verbose --filter=" tagged/hw2sw_*" --tap=cxitest-hw2sw-transition.tap -j1 >> $TEST_OUTPUT 2>&1
55
- csrutil store csr le_pools[] max_alloc=$MAX_ALLOC > /dev/null
64
+ cxiutil store csr le_pools[] max_alloc=$MAX_ALLOC > /dev/null
56
65
if [[ $cxitest_exit_status -ne 0 ]]; then
57
66
echo " cxitest return non-zero exit code. Possible failures in test teardown"
58
67
exit 1
59
68
fi
60
69
61
70
# Run HW to SW hybrid test with constrained LE count and forcing only eager processing
62
- MAX_ALLOC=` csrutil dump csr le_pools[63] | grep max_alloc | awk ' {print $3}' `
71
+ MAX_ALLOC=` cxiutil dump csr le_pools[63] | grep max_alloc | awk ' {print $3}' `
72
+ cxiutil store csr le_pools[0] max_alloc=60 > /dev/null
73
+ cxiutil store csr le_pools[16] max_alloc=60 > /dev/null
74
+ cxiutil store csr le_pools[32] max_alloc=60 > /dev/null
75
+ cxiutil store csr le_pools[48] max_alloc=60 > /dev/null
63
76
echo " running;FI_CXI_RX_MATCH_MODE=hybrid FI_CXI_RDZV_GET_MIN=0 FI_CXI_RDZV_THRESHOLD=16384 ./cxitest --verbose --filter=\" tagged/hw2sw_*\" --tap=cxitest-hw2sw-eager-transition.tap -j1 >> $TEST_OUTPUT 2>&1"
64
77
FI_CXI_RX_MATCH_MODE=hybrid FI_CXI_RDZV_GET_MIN=0 FI_CXI_RDZV_THRESHOLD=16384 ./cxitest --verbose --filter=" tagged/hw2sw_*" --tap=cxitest-hw2sw-transition.tap -j1 >> $TEST_OUTPUT 2>&1
65
78
cxitest_exit_status=$?
66
- csrutil store csr le_pools[] max_alloc=$MAX_ALLOC > /dev/null
79
+ cxiutil store csr le_pools[] max_alloc=$MAX_ALLOC > /dev/null
67
80
if [[ $cxitest_exit_status -ne 0 ]]; then
68
81
echo " cxitest return non-zero exit code. Possible failures in test teardown"
69
82
exit 1
0 commit comments