| ff1047ba | 19-Nov-2020 |
Ferruh Yigit <[email protected]> |
app/procinfo: remove useless assignment
'flag' is initialized to '0' but it is overwritten later, moving the declaration where it is used and initialize with actual value.
Fixes: 0101a0ec6217 ("app
app/procinfo: remove useless assignment
'flag' is initialized to '0' but it is overwritten later, moving the declaration where it is used and initialize with actual value.
Fixes: 0101a0ec6217 ("app/procinfo: add --show-mempool") Cc: [email protected]
Signed-off-by: Ferruh Yigit <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| c923be82 | 19-Nov-2020 |
Ferruh Yigit <[email protected]> |
app/procinfo: remove useless memset
The intention with the "sizeof(0)" usage is not clear, but the 'stats' already 'memset' by 'rte_cryptodev_stats_get()' API, removing 'memset' in application.
Fix
app/procinfo: remove useless memset
The intention with the "sizeof(0)" usage is not clear, but the 'stats' already 'memset' by 'rte_cryptodev_stats_get()' API, removing 'memset' in application.
Fixes: fe773600fe3e ("app/procinfo: add --show-crypto") Cc: [email protected]
Signed-off-by: Ferruh Yigit <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| 59b981c6 | 19-Nov-2020 |
Ferruh Yigit <[email protected]> |
app/procinfo: fix check on xstats-ids
'parse_xstats_ids()' return 'int'. The return value is assigned to 'nb_xstats_ids' unsigned value, later negative check on this variable is wrong.
Adding inter
app/procinfo: fix check on xstats-ids
'parse_xstats_ids()' return 'int'. The return value is assigned to 'nb_xstats_ids' unsigned value, later negative check on this variable is wrong.
Adding interim 'int' variable for negative check.
Fixes: 7ac16a3660c0 ("app/proc-info: support xstats by ID and by name") Cc: [email protected]
Signed-off-by: Ferruh Yigit <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| 1dd6cffb | 24-Sep-2020 |
Stephen Hemminger <[email protected]> |
app/procinfo: provide way to request info on owned ports
There are cases where a port maybe owned by another (failsafe, netvsc, bond); but currently proc-info has no way to look at stats of those po
app/procinfo: provide way to request info on owned ports
There are cases where a port maybe owned by another (failsafe, netvsc, bond); but currently proc-info has no way to look at stats of those ports. This patch provides way for the user to explicitly ask for these ports.
If no portmask is given the output is unchanged; it only shows the top level ports. If portmask requests a specific port it will be shown even if owned.
Increase the size of port mask variable to unsigned long to allow up to 64 ports to be handled on 64 bit architecture.
The device owner is also a useful thing to show in port info.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| d82d6ac6 | 24-Sep-2020 |
Hemant Agrawal <[email protected]> |
app/procinfo: add crypto security context info
If crypto context is not present, no point in displaying it.
This patch adds the crypto based security context info. Also improve the flag printing to
app/procinfo: add crypto security context info
If crypto context is not present, no point in displaying it.
This patch adds the crypto based security context info. Also improve the flag printing to SECURITY OFFLOAD from INLINE.
Use common code for displaying crypto context information when doing show_ports and show_crypto.
Signed-off-by: Hemant Agrawal <[email protected]> Signed-off-by: Stephen Hemminger <[email protected]>
show more ...
|
| acc97611 | 24-Sep-2020 |
Stephen Hemminger <[email protected]> |
app/procinfo: dump Rx and Tx descriptor info
Many drivers will report per queue info as well as how many descriptors are in use. Also display per-queue offload flags.
Signed-off-by: Stephen Hemming
app/procinfo: dump Rx and Tx descriptor info
Many drivers will report per queue info as well as how many descriptors are in use. Also display per-queue offload flags.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| 2cff94b6 | 24-Sep-2020 |
Stephen Hemminger <[email protected]> |
app/procinfo: add more port info
Revise the display of port information to include more data and be more human friendly.
* Show driver and device information * Show MAC address * Show flow co
app/procinfo: add more port info
Revise the display of port information to include more data and be more human friendly.
* Show driver and device information * Show MAC address * Show flow control information * Combine lines if possible * Show all multicast mode * Show queue mempool name
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| 94c4199d | 24-Sep-2020 |
Stephen Hemminger <[email protected]> |
app/procinfo: hide EAL info messages
The DPDK EAL info messages at the start of a diagnostic application are not helpful to end user. Suppress them by setting log-level by default.
Signed-off-by: S
app/procinfo: hide EAL info messages
The DPDK EAL info messages at the start of a diagnostic application are not helpful to end user. Suppress them by setting log-level by default.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| 92a500e1 | 24-Sep-2020 |
Stephen Hemminger <[email protected]> |
app/procinfo: eliminate useless borders
Printing extra borders does not improve readability, and is just unnecessary. Putting TSC hz in header also makes no sense here.
Signed-off-by: Stephen Hemmi
app/procinfo: eliminate useless borders
Printing extra borders does not improve readability, and is just unnecessary. Putting TSC hz in header also makes no sense here.
Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|