aboutsummaryrefslogtreecommitdiffstats
path: root/host/docs/dpdk.dox
Commit message (Collapse)AuthorAgeFilesLines
* docs: Add DPDK link detection sectionAaron Rossetto2020-09-031-1/+17
|
* dpdk: Add new DPDK stack to integrate with I/O servicesAlex Williams2019-12-201-9/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* docs: Add note about DPDK needing to be built as shared librariesAaron Rossetto2019-12-131-1/+10
|
* docs: Change DPDK version to 18.11 and make args use underscoresAlex Williams2019-11-261-27/+27
| | | | | Swap out hyphens for underscores in the DPDK args. Also update list of distributions with the correct DPDK version in the repos.
* docs: clarifying which devices support DPDKsteviez2019-11-221-3/+6
|
* docs: Add mention of DPDK support to X3x0Alex Williams2019-04-101-1/+2
|
* docs: Fix typo for dpdk-num-mbufs and add config file locationAlex Williams2019-03-251-3/+7
|
* docs: fix broken link in DPDKBrent Stapleton2019-02-121-1/+1
| | | | The link to the MPM page in the DPDK docs was incorrectly named. This change links to the correct page name.
* Docs: Update DPDK dep commandnatetemple2019-02-061-1/+1
|
* docs: Add information about what dpdk_zero_copy is doingAlex Williams2019-01-291-2/+9
| | | | | | This adds some info about what is happening in the dpdk_zero_copy transport, especially the fact that there are threads spun off that take over CPUs.
* docs: Adding manual page for DPDKBrent Stapleton2019-01-291-0/+146
Co-authored-by: Alex Williams <alex.williams@ni.com>