[PATCH 1/6] app/dumpcap: add additional dump info

Stephen Hemminger stephen at networkplumber.org
Wed Jan 4 03:58:16 CET 2023


On Mon,  2 Jan 2023 16:24:36 +0000
Ben Magistro <koncept1 at gmail.com> wrote:

> This change increases the information returned when listing interfaces
> to include link state and promiscuous mode. Additionally, the
> information is formatted to be easily consumed by a machine or a person.
> 
> This change is/was utilized while troubleshooting and developing the
> subsequent patches to address the issues identified on the mailing
> list [1].
> 
> [1] http://mails.dpdk.org/archives/dev/2022-December/258317.html
> 
> Signed-off-by: Ben Magistro <koncept1 at gmail.com>


I prefer to keep the similar output format to wireshark dumpcap

I.e:

$ dumpcap -D
1. enp2s0
2. any
3. lo (Loopback)
4. wlo1
5. bluetooth0
6. bluetooth-monitor
7. nflog
8. nfqueue
9. dbus-system
10. dbus-session

With testpmd running with three interfaces

# dpdk-dumpcap -D
0. net_null0
1. net_null1
2. net_null2


More information about the dev mailing list