#
cbb44143 |
| 20-Oct-2021 |
Stephen Hemminger <stephen@networkplumber.org> |
app/dumpcap: add new packet capture application
This is a new packet capture application to replace existing pdump. The new application works like Wireshark dumpcap program and supports the pdump AP
app/dumpcap: add new packet capture application
This is a new packet capture application to replace existing pdump. The new application works like Wireshark dumpcap program and supports the pdump API features.
It is not complete yet some features such as filtering are not implemented.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
10f726ef |
| 20-Oct-2021 |
Stephen Hemminger <stephen@networkplumber.org> |
pdump: support pcapng and filtering
This enhances the DPDK pdump library to support new pcapng format and filtering via BPF.
The internal client/server protocol is changed to support two versions:
pdump: support pcapng and filtering
This enhances the DPDK pdump library to support new pcapng format and filtering via BPF.
The internal client/server protocol is changed to support two versions: the original pdump basic version and a new pcapng version.
The internal version number (not part of exposed API or ABI) is intentionally increased to cause any attempt to try mismatched primary/secondary process to fail.
Add new API to do allow filtering of captured packets with DPDK BPF (eBPF) filter program. It keeps statistics on packets captured, filtered, and missed (because ring was full).
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Ray Kinsella <mdr@ashroe.eu>
show more ...
|
#
23516151 |
| 26-Nov-2020 |
Reshma Pattan <reshma.pattan@intel.com> |
doc: clarify multi-process roles for pdump
Update the pdump library programmers guide and Howto doc with the use of multi process channel replacing socket based communication.
Signed-off-by: Reshma
doc: clarify multi-process roles for pdump
Update the pdump library programmers guide and Howto doc with the use of multi process channel replacing socket based communication.
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
e9436f54 |
| 03-Dec-2018 |
Tiwei Bie <tiwei.bie@intel.com> |
pdump: remove deprecated APIs
We already changed to use generic IPC in pdump since below commit:
commit 660098d61f57 ("pdump: use generic multi-process channel")
The `rte_pdump_set_socket_dir()`,
pdump: remove deprecated APIs
We already changed to use generic IPC in pdump since below commit:
commit 660098d61f57 ("pdump: use generic multi-process channel")
The `rte_pdump_set_socket_dir()`, the `path` parameter of `rte_pdump_init()` and the `enum rte_pdump_socktype` have been deprecated since then. This commit removes these deprecated APIs and also bumps the pdump ABI.
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com> Acked-by: Reshma Pattan <reshma.pattan@intel.com>
show more ...
|
#
5630257f |
| 01-Feb-2018 |
Ferruh Yigit <ferruh.yigit@intel.com> |
doc: convert Intel license headers to SPDX tags
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
|
#
446d42b7 |
| 13-Jul-2016 |
Reshma Pattan <reshma.pattan@intel.com> |
doc: fix default socket path names in pdump guide
Fixed default socket path name "/var/run" to "/var/run/.dpdk" and "$HOME" to "~/.dpdk".
Fixes: 278f945402c5 ("pdump: add new library for packet cap
doc: fix default socket path names in pdump guide
Fixed default socket path name "/var/run" to "/var/run/.dpdk" and "$HOME" to "~/.dpdk".
Fixes: 278f945402c5 ("pdump: add new library for packet capture")
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
show more ...
|
#
278f9454 |
| 15-Jun-2016 |
Reshma Pattan <reshma.pattan@intel.com> |
pdump: add new library for packet capture
The librte_pdump library provides a framework for packet capturing in dpdk. The library provides set of APIs to initialize the packet capture framework, to
pdump: add new library for packet capture
The librte_pdump library provides a framework for packet capturing in dpdk. The library provides set of APIs to initialize the packet capture framework, to enable or disable the packet capture, and to uninitialize it.
The librte_pdump library works on a client/server model. The server is responsible for enabling or disabling the packet capture and the clients are responsible for requesting the enabling or disabling of the packet capture.
Enabling APIs are supported with port, queue, ring and mempool parameters. Applications should pass on this information to get the packets from the dpdk ports.
For enabling requests from applications, library creates the client request containing the mempool, ring, port and queue information and sends the request to the server. After receiving the request, server registers the Rx and Tx callbacks for all the port and queues. After the callbacks registration, registered callbacks will get the Rx and Tx packets. Packets then will be copied to the new mbufs that are allocated from the user passed mempool. These new mbufs then will be enqueued to the application passed ring. Applications need to dequeue the mbufs from the rings and direct them to the devices like pcap vdev for viewing the packets outside of the dpdk using the packet capture tools.
For disabling requests, library creates the client request containing the port and queue information and sends the request to the server. After receiving the request, server removes the Rx and Tx callback for all the port and queues.
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
show more ...
|