2020-04-17 16:13:05 +00:00
|
|
|
# IDXD Driver {#idxd}
|
|
|
|
|
2021-08-02 12:27:54 +00:00
|
|
|
## Public Interface {#idxd_interface}
|
2020-04-17 16:13:05 +00:00
|
|
|
|
|
|
|
- spdk/idxd.h
|
|
|
|
|
2021-08-02 12:27:54 +00:00
|
|
|
## Key Functions {#idxd_key_functions}
|
2020-04-17 16:13:05 +00:00
|
|
|
|
|
|
|
Function | Description
|
|
|
|
--------------------------------------- | -----------
|
|
|
|
spdk_idxd_probe() | @copybrief spdk_idxd_probe()
|
2020-05-07 18:45:15 +00:00
|
|
|
spdk_idxd_batch_get_max() | @copybrief spdk_idxd_batch_get_max()
|
|
|
|
spdk_idxd_batch_create() | @copybrief spdk_idxd_batch_create()
|
|
|
|
spdk_idxd_batch_prep_copy() | @copybrief spdk_idxd_batch_prep_copy()
|
|
|
|
spdk_idxd_batch_submit() | @copybrief spdk_idxd_batch_submit()
|
2020-04-17 16:13:05 +00:00
|
|
|
spdk_idxd_submit_copy() | @copybrief spdk_idxd_submit_copy()
|
2020-04-30 22:07:58 +00:00
|
|
|
spdk_idxd_submit_compare() | @copybrief spdk_idxd_submit_compare()
|
|
|
|
spdk_idxd_submit_crc32c() | @copybrief spdk_idxd_submit_crc32c()
|
|
|
|
spdk_idxd_submit_dualcast | @copybrief spdk_idxd_submit_dualcast()
|
2020-04-17 16:13:05 +00:00
|
|
|
spdk_idxd_submit_fill() | @copybrief spdk_idxd_submit_fill()
|
|
|
|
|
2021-08-02 12:27:54 +00:00
|
|
|
## Pre-defined configurations {#idxd_configs}
|
2020-04-17 16:13:05 +00:00
|
|
|
|
|
|
|
The RPC `idxd_scan_accel_engine` is used to both enable IDXD and set it's
|
|
|
|
configuration to one of two pre-defined configs:
|
|
|
|
|
|
|
|
Config #0: 4 groups, 1 work queue per group, 1 engine per group.
|
|
|
|
Config #1: 2 groups, 2 work queues per group, 2 engines per group.
|