70 lines
1.3 KiB
ReStructuredText
Raw Normal View History

.. SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2017 Intel Corporation.
Programmer's Guide
==================
.. toctree::
:maxdepth: 3
:numbered:
intro
overview
env_abstraction_layer
service_cores
rcu_lib
ring_lib
stack_lib
mempool_lib
mbuf_lib
poll_mode_drv
rte_flow
switch_representation
traffic_metering_and_policing
traffic_management
bbdev
cryptodev_lib
compressdev
rte_security
rawdev
link_bonding_poll_mode_drv_lib
timer_lib
hash_lib
efd_lib
member_lib
lpm_lib
lpm6_lib
flow_classify_lib
packet_distrib_lib
reorder_lib
ip_fragment_reassembly_lib
generic_receive_offload_lib
generic_segmentation_offload_lib
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>
2016-06-15 15:06:22 +01:00
pdump_lib
multi_proc_support
kernel_nic_interface
thread_safety_dpdk_functions
eventdev
event_ethernet_rx_adapter
event_ethernet_tx_adapter
event_timer_adapter
event_crypto_adapter
qos_framework
power_man
packet_classif_access_ctrl
packet_framework
vhost_lib
metrics_lib
bpf_lib
ipsec_lib
source_org
dev_kit_build_system
dev_kit_root_make_help
extend_dpdk
build_app
ext_app_lib_make_help
perf_opt_guidelines
writing_efficient_code
profile_app
glossary