Skip to content

app/proc-info: enhancements

Stephen Hemminger dpdk-dev 6 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 1 replyApplied
  2. v58 patches 1 replySuperseded
  3. v48 patches 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v37 patches14 repliesSuperseded
v27 patches3 repliesSuperseded
v17 patches1 replySuperseded

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/7app/proc-info: remove unused logtype #defineapp/proc-info/main.c+0 -20 replies
2/7app/proc-info: eliminate useless bordersapp/proc-info/main.c+7 -280 replies
3/7app/proc-info: hide EAL info messagesapp/proc-info/main.c+6 -40 replies
4/7app/proc-info: add more info to show_portsapp/proc-info/main.c+59 -180 replies
5/7app/proc-info: dump rx and tx descriptor infoapp/proc-info/main.c+74 -190 replies
6/7app/proc-info: add crypto security context infoapp/proc-info/main.c+46 -340 replies
7/7app/proc-info: provide way to request info on owned portsapp/proc-info/main.c+54 -380 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchHemant Agrawal
1/7A-b
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [dpdk-dev] [PATCH v6 0/7] app/proc-info: enhancements

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.

A before/after example:

 # dpdk-proc-info -w 03:00.0 -- --show-port
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_23602_5b92232fa062
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: Probe PCI driver: mlx5_pci (15b3:1013) device: 0000:03:00.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
========== show - Port PMD 3490000000==========
===== Port (0)=====
  - generic config
	  -- Socket 0
Link get failed (port 0): Operation not supported
	  -- promiscuous (1)
	  -- mtu (1500)
  - queue
	  -- queue 0 rx scatter 0 descriptors 256 offloads 0x0 mempool socket 0
  - cyrpto context
	  -- security context - (nil)
================================================================================
======================================== ========================================

After:

 # dpdk-proc-info -w 03:00.0 -- --show-port
EAL: No legacy callbacks, legacy socket not created
========== show - Port PMD ==========
===== Port 0 =====
  - generic config
	  -- driver mlx5_pci device 03:00.0 socket 0
Link get failed (port 0): Operation not supported
	  -- mac EC:0D:9A:37:D8:86
	  -- promiscuous mode enabled
	  -- all multicast mode disabled
	  -- mtu (1500)
  - rx queue
	  -- 0 descriptors 4096 drop_en mempool mbuf_pool_socket_0 socket 0 offloads : RSS_HASH
	  -- 1 descriptors 4096 drop_en mempool mbuf_pool_socket_0 socket 0 offloads : RSS_HASH
	  -- 2 descriptors 4096 drop_en mempool mbuf_pool_socket_0 socket 0 offloads : RSS_HASH
	  -- 3 descriptors 4096 drop_en mempool mbuf_pool_socket_0 socket 0 offloads : RSS_HASH
  - tx queue
	  -- 0 descriptors 4096 thresh 0/0
	  -- 1 descriptors 4096 thresh 0/0
	  -- 2 descriptors 4096 thresh 0/0
	  -- 3 descriptors 4096 thresh 0/0

History:
v6 - rebase to main and dump offload information

v5 - add mempool name to queue info
fix trailing whitespace
v4 - incorporate mempool display
modify portmask for handling owned ports
v3 - consolidate chages for displaying crypto info v2 - fix checkpatch complaints

Hemant Agrawal (1):
app/proc-info: add crypto security context info

Stephen Hemminger (6):
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: dump rx and tx descriptor info app/proc-info: provide way to request info on owned ports

 app/proc-info/main.c | 371 +++++++++++++++++++++++++++----------------
 1 file changed, 237 insertions(+), 134 deletions(-)
Signature · 1 line
2.27.0