[dpdk-dev] [PATCH 0/7] proc-info enhancements
Stephen Hemminger
stephen at networkplumber.org
Wed May 6 21:37:34 CEST 2020
The current proc-info command is useful for diagnosing issues
with external DPDK applications, but the display is limited
and somewhat ugly. This patchset adds some enhancements which
show more info and suppress unnecessary stuff.
Before:
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_638764_15dfaa1a166a
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: PCI device ae9f:00:02.0 on NUMA socket 0
EAL: probe driver: 15b3:1014 net_mlx5
========== show - Port PMD 3490000000==========
===== Port (1)=====
- generic config
-- Socket 0
-- link speed 40000 duplex 1, auto neg 1 status 1
-- promiscuous (1)
-- mtu (1500)
- queue
-- queue 0 rx scatter 0 descriptors 256 offloads 0x0 mempool socket 0
- cyrpto context
-- security context - (nil)
===== Port (2)=====
- generic config
-- Socket 0
-- link speed 10000 duplex 1, auto neg 1 status 1
-- promiscuous (1)
-- mtu (1500)
- queue
-- queue 0 rx scatter 0 descriptors 512 offloads 0x0 mempool socket 0
- cyrpto context
-- security context - (nil)
================================================================================
======================================== ========================================
After:
========== show - Port PMD ==========
===== Port 1 =====
- generic config
-- driver net_netvsc device 4179c815-5d8a-4915-976e-9ea2378e382b socket 0
-- link speed 40Gbps (auto neg), duplex full, up
-- mac 00:15:5D:01:10:02
-- promiscuous (1)
-- mtu (1500)
- rx queue
-- 0 descriptors 0/256 offloads 0 socket 0
- tx queue
-- 0 descriptors 256/256 offloads 0
===== Port 2 =====
- generic config
-- driver net_netvsc device d8e21696-8885-4567-baf6-1d1cefdf6231 socket 0
-- link speed 10Gbps (auto neg), duplex full, up
-- mac 00:15:5D:01:10:09
-- promiscuous (1)
-- mtu (1500)
- rx queue
-- 0 descriptors 0/512 offloads 0 socket 0
- tx queue
-- 0 descriptors 512/512 offloads 0
Stephen Hemminger (7):
app/proc-info: remove unused logtype #define
app/proc-info: eliminate useless borders
app/proc-info: hide EAL info messages
app/proc-info: add more info to show_ports
app/proc-info: hide crypto-context display
app/proc-info: dump rx and tx descriptor info
app/proc-info: provide way to request info on owned ports
app/proc-info/Makefile | 3 +
app/proc-info/main.c | 283 ++++++++++++++++++++++++++++-------------
2 files changed, 197 insertions(+), 89 deletions(-)
--
2.20.1
More information about the dev
mailing list