Commit 31ad75e
committed
Comment updates
- Update user help format insert macro
Added additional message in help text to let user know each
dword must start with a 0x. Added a macro to handle the max
amount of dwords per TLP request.
- Added check for dwords
Added an additional check and error message to
ensure that nothing greater than a dword is sent
in each section of the tlp.
Convert host byte order to le byte order
- Add macro in header + minor formatting
Added TLP_MAX_DWS in the diag header to be used in the structure
defining the maximum in the dword data.
Fixed some small issues with format.
- add max dword macro to switchtec.h
Removed refences to max tlp dword macro from the cli/diag.c and diag.h
to add the macro in switchtec header and include in diag.h.
Reformatted the name to be more inline with the current naming scheme of
the switchtec macros.1 parent 432cdbb commit 31ad75e
4 files changed
+20
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2030 | 2030 | | |
2031 | 2031 | | |
2032 | 2032 | | |
| 2033 | + | |
2033 | 2034 | | |
2034 | 2035 | | |
2035 | 2036 | | |
2036 | 2037 | | |
| 2038 | + | |
2037 | 2039 | | |
2038 | | - | |
| 2040 | + | |
2039 | 2041 | | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
2040 | 2048 | | |
2041 | 2049 | | |
2042 | 2050 | | |
| |||
2088 | 2096 | | |
2089 | 2097 | | |
2090 | 2098 | | |
2091 | | - | |
| 2099 | + | |
2092 | 2100 | | |
2093 | 2101 | | |
2094 | 2102 | | |
| |||
2104 | 2112 | | |
2105 | 2113 | | |
2106 | 2114 | | |
2107 | | - | |
2108 | | - | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
2109 | 2118 | | |
2110 | 2119 | | |
2111 | 2120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
287 | | - | |
| 289 | + | |
288 | 290 | | |
289 | 291 | | |
290 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
| 1228 | + | |
| 1229 | + | |
1231 | 1230 | | |
1232 | 1231 | | |
1233 | 1232 | | |
| |||
0 commit comments