Ask Your Question
0

Capturing on DPDK interface

asked 2018-12-20 16:56:55 +0000

ymarkman gravatar image

Are you supporting or planning to support the Capturing on Ubuntu/Linux-DPDK interface

More info: A DPDK interface is un-bind from Kernel and so is not seen by Wireshark 2.6.3-1 ubuntu18.04.1

Is there any way to "connect" the Wireshark to DPDK?

This is especially required for the Cisco TRex SW traffic generator application working over DPDK.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-12-20 20:00:10 +0000

Guy Harris gravatar image

Once this libpcap change is incorporated into libpcap, any version of Wireshark using that version of libpcap should be able to capture on those devices, if we also get rid of Wireshark's annoying notion that "if it doesn't appear in the list of devices provided by pcap_findalldevs(), it doesn't exist".

edit flag offensive delete link more

Comments

The change has been incorporated.

It's currently only in the master branch of libpcap; no release has been made yet. This means that you would have to get the master branch source for libpcap, compile it, and then either

  1. install it under /usr/local, get the Wireshark source, and configure and build it, so it's linked with the new version of Wireshark;
  2. configure it to install under /usr and overwrite the system libpcap, which will probably work (libpcap makes a strong effort to preserve not only source but binary compatibility, albeit not "bug-for-bug" compatibility), in which case it should work with regular Wireshark as installed on your machine.

The DPDK devices should show up in the list of devices; they will have names of the form "dpdk:{N}", where "{N}" is a number.

Guy Harris gravatar imageGuy Harris ( 2019-01-06 23:28:51 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-12-20 16:56:55 +0000

Seen: 2,277 times

Last updated: Dec 20 '18