mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-16 21:10:10 +00:00
docs: Update DPDK docs with new parameters: Parameter names have had their hyphens changed to underscores, and the I/O CPU argument is now named after the lcores and reflects the naming used by DPDK. transport: Add new udp_dpdk_link, based atop the new APIs: This link is tightly coupled with the DPDK I/O service. The link class carries all the address information to communicate with the other host, and it can send packets directly through the DPDK NIC ports. However, for receiving packets, the I/O service must pull the packets from the DMA queue and attach them to the appropriate link object. The link object merely formats the frame_buff object underneath, which is embedded in the rte_mbuf container. For get_recv_buff, the link will pull buffers only from its internal queue (the one filled by the I/O service). transport: Add DPDK-specific I/O service: The I/O service is split into two parts, the user threads and the I/O worker threads. The user threads submit requests through various appropriate queues, and the I/O threads perform all the I/O on their behalf. This includes routing UDP packets to the correct receiver and getting the MAC address of a destination (by performing the ARP request and handling the ARP replies). The DPDK context stores I/O services. The context spawns all I/O services on init(), and I/O services can be fetched from the dpdk_ctx object by using a port ID. I/O service clients: The clients have two lockless ring buffers. One is to get a buffer from the I/O service; the other is to release a buffer back to the I/O service. Threads sleeping on buffer I/O are kept in a separate list from the service queue and are processed in the course of doing RX or TX. The list nodes are embedded in the dpdk_io_if, and the head of the list is on the dpdk_io_service. The I/O service will transfer the embedded wait_req to the list if it cannot acquire the mutex to complete the condition for waking. Co-authored-by: Martin Braun <martin.braun@ettus.com> Co-authored-by: Ciro Nishiguchi <ciro.nishiguchi@ni.com> Co-authored-by: Brent Stapleton <brent.stapleton@ettus.com> |
||
|---|---|---|
| .. | ||
| res | ||
| build.dox.in | ||
| c_api.dox | ||
| calibration.dox | ||
| capi.dox | ||
| CMakeLists.txt | ||
| coding.dox | ||
| compat.dox | ||
| configfiles.dox | ||
| configuration.dox | ||
| converters.dox | ||
| dboards.dox | ||
| devices.dox | ||
| Doxyfile.in | ||
| dpdk.dox | ||
| Ettus_Logo.png | ||
| general.dox | ||
| gpio_api.dox | ||
| gpsdo.dox | ||
| gpsdo_b2x0.dox | ||
| gpsdo_x3x0.dox | ||
| identification.dox | ||
| images.dox | ||
| install.dox | ||
| logging.dox | ||
| mainpage.dox.in | ||
| mpm.dox | ||
| multiple.dox | ||
| ni_rio_kernel.dox | ||
| octoclock.dox | ||
| octoclock_firmware_burner.1 | ||
| pythonapi.dox | ||
| rd_testing.dox | ||
| stream.dox | ||
| style.css | ||
| sync.dox | ||
| transport.dox | ||
| twinrx.dox | ||
| uhd.dox | ||
| uhd_cal_rx_iq_balance.1 | ||
| uhd_cal_tx_dc_offset.1 | ||
| uhd_cal_tx_iq_balance.1 | ||
| uhd_config_info.1 | ||
| uhd_find_devices.1 | ||
| uhd_image_loader.1 | ||
| uhd_images_downloader.1 | ||
| uhd_semvar.dox | ||
| uhd_usrp_probe.1 | ||
| usrp1.dox | ||
| usrp2.dox | ||
| usrp2_card_burner.1 | ||
| usrp_b100.dox | ||
| usrp_b200.dox | ||
| usrp_e1x0.dox | ||
| usrp_e3xx.dox | ||
| usrp_n2xx_simple_net_burner.1 | ||
| usrp_n3xx.dox | ||
| usrp_x3x0.dox | ||
| usrp_x3x0_config.dox | ||
| usrp_x3xx_fpga_burner.1 | ||
| vrt_chdr.dox | ||