Module Parameters — datadev
The datadev kernel module accepts parameters at load time via insmod
or persistently via /etc/modprobe.d/.
Load-time example:
$ sudo insmod data_dev.ko cfgTxCount=2048 cfgRxCount=2048 cfgSize=262144
Persistent configuration (survives reboots when using modprobe):
# /etc/modprobe.d/datadev.conf
options datadev cfgTxCount=2048 cfgRxCount=2048 cfgSize=262144
Note
All parameters have permission 0 — they are not readable from
/sys/module/datadev/parameters/ after the module is loaded.
Use /proc/datadev_N to inspect the running configuration.
Parameter |
Default |
Description |
|---|---|---|
|
|
Number of TX DMA buffers allocated at module load. Increase for high-throughput write workloads at the cost of memory. |
|
|
Number of RX DMA buffers allocated at module load. Increase for high-throughput read workloads at the cost of memory. |
|
|
Size in bytes of each DMA buffer. Must be a power of two. Larger values reduce ioctl overhead for large transfers; smaller values reduce memory waste for small transfers. |
|
|
DMA buffer allocation mode. Valid values:
|
|
|
RX continue enable. |
|
|
Interrupt coalescing holdoff in hardware clock cycles. Higher values
reduce interrupt rate at the cost of latency. Set to |
|
|
Interrupt disable flag. |
|
|
Buffer group threshold for channel group 0. |
|
|
Buffer group threshold for channel group 1. |
|
|
Buffer group threshold for channel group 2. |
|
|
Buffer group threshold for channel group 3. |
|
|
Buffer group threshold for channel group 4. |
|
|
Buffer group threshold for channel group 5. |
|
|
Buffer group threshold for channel group 6. |
|
|
Buffer group threshold for channel group 7. |
|
|
Device naming scheme. |
|
|
Internal DMA transfer timeout duration in hardware clock cycles. Transfers that exceed this duration are aborted and flagged as errors. |
|
|
Enables very verbose kernel log output. |