mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 18:07:40 +00:00
New appctl 'netdev-dpdk/get-mempool-info' implemented to get result of 'rte_mempool_list_dump()' function if no arguments passed and 'rte_mempool_dump()' if DPDK netdev passed as argument. Could be used for debugging mbuf leaks and other mempool related issues. Most useful in pair with `grep -v "cache_count.*=0"`. Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Acked-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Tested-by: Mark Kavanagh <mark.b.kavanagh@intel.com> Acked-by: Antonio Fischetti <antonio.fischetti@intel.com> Acked-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Ian Stokes <ian.stokes@intel.com>
15 lines
915 B
Groff
15 lines
915 B
Groff
.SS "NETDEV-DPDK COMMANDS"
|
|
These commands manage DPDK related ports (\fBtype=\fR\fIdpdk*\fR).
|
|
.IP "\fBnetdev-dpdk/set-admin-state\fR [\fIinterface\fR] \fBup\fR | \fBdown\fR"
|
|
Change the admin state for DPDK \fIinterface\fR to \fBup\fR or \fBdown\fR.
|
|
If \fIinterface\fR is not specified, then it applies to all DPDK ports.
|
|
.IP "\fBnetdev-dpdk/detach\fR \fIpci-address\fR"
|
|
Detaches device with corresponding \fIpci-address\fR from DPDK. This command
|
|
can be used to detach device if it wasn't detached automatically after port
|
|
deletion. Refer to the documentation for details and instructions.
|
|
.IP "\fBnetdev-dpdk/get-mempool-info\fR [\fIinterface\fR]"
|
|
Prints the debug information about memory pool used by DPDK \fIinterface\fR.
|
|
If called without arguments, information of all the available mempools will
|
|
be printed. For additional mempool statistics enable
|
|
\fBCONFIG_RTE_LIBRTE_MEMPOOL_DEBUG\fR while building DPDK.
|