5. GDTC Rawdev Driver

The gdtc rawdev driver is an implementation of the rawdev API, that provides communication between two separate hosts. This is achieved via using the GDMA controller of Dinghai SoC, which can be configured through exposed MPF device.

5.1. Device Setup

Using the GDTC PMD driver does not require the MPF device to bind additional user-space IO driver.

Before performing actual data transmission, it is necessary to call rte_rawdev_queue_setup() to obtain an available queue ID.

For data transfer, utilize the standard rte_rawdev_enqueue_buffers() API. The data transfer status can be queried via rte_rawdev_dequeue_buffers(), which will return the number of successfully transferred data items.

5.2. Initialization

The gdtc rawdev driver needs to work in IOVA PA mode. Consider using --iova-mode=pa in the EAL options.

5.2.1. Platform Requirement

This PMD is only supported on ZTE Neo Platforms: - Neo X510/X512