mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
dpdk: Add ovs-appctl dpdk/get-memzone-stats command.
New appctl 'dpdk/get-memzone-stats' implemented to get result of 'rte_memzone_dump()' function. Could be used for debugging. Acked-by: Roi Dayan <roid@nvidia.com> Acked-by: Simon Horman <horms@ovn.org> Signed-off-by: Eli Britstein <elibr@nvidia.com> Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
This commit is contained in:
committed by
Eelco Chaudron
parent
1594c50861
commit
ae8dafe6b0
@@ -437,6 +437,8 @@ dpdk_init__(const struct smap *ovs_other_config)
|
||||
unixctl_command_register("dpdk/get-malloc-stats", "", 0, 0,
|
||||
dpdk_unixctl_mem_stream,
|
||||
malloc_dump_stats_wrapper);
|
||||
unixctl_command_register("dpdk/get-memzone-stats", "", 0, 0,
|
||||
dpdk_unixctl_mem_stream, rte_memzone_dump);
|
||||
|
||||
/* We are called from the main thread here */
|
||||
RTE_PER_LCORE(_lcore_id) = NON_PMD_CORE_ID;
|
||||
|
Reference in New Issue
Block a user