app/procinfo: show all non-owned ports
authorSubendu Santra <subendu@arista.com>
Wed, 25 May 2022 05:46:05 +0000 (22:46 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 26 Jun 2022 15:25:38 +0000 (17:25 +0200)
commit379e1d62f1d6d29315fc2063c71cbda3f63fe38b
tree4645e5ea342d969585c219d7b7d80bacff4ac71e
parent8343fd749ff7c494c2f303f20a83b8873c6f0797
app/procinfo: show all non-owned ports

Show all non-owned ports when no port mask is specified.

The show-port option, without the mask option,
was showing only the last non-owned port.
Show all the non-owned ports instead.

Fixes: 1dd6cffb6571 ("app/procinfo: provide way to request info on owned ports")
Cc: stable@dpdk.org
Signed-off-by: Subendu Santra <subendu@arista.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
app/proc-info/main.c