| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |

Go to the source code of this file.
| DOCA_EXPERIMENTAL doca_error_t doca_sta_add_dev | ( | struct doca_sta * | sta, |
| struct doca_dev * | dev | ||
| ) |
Support STA functionality on a given device.
| [in] | sta | - Previously created STA context |
| [in] | dev | - DOCA Dev instance with appropriate capability |
| DOCA_EXPERIMENTAL struct doca_ctx* doca_sta_as_ctx | ( | struct doca_sta * | sta | ) |
Convert doca_sta instance into a generalized context for use with doca core objects.
| [in] | sta | - Pointer to doca_sta instance. |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_cap_is_supported | ( | const struct doca_devinfo * | devinfo | ) |
Get whether the DOCA device supports storage target acceleration ('STA')
| [in] | devinfo | - the device to query |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_create | ( | struct doca_dev * | dev, |
| struct doca_sta ** | sta | ||
| ) |
Create a DOCA STA Context.
This function creates a DOCA STA context given a DOCA device. The context represents a program on the STA that is referenced by the host process that called the context creation API
| [in] | dev | - DOCA device |
| [out] | sta | - created context |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_destroy | ( | struct doca_sta * | sta | ) |
Destroy a DOCA STA context.
This function destroys STA context created by doca_sta_create()
| [in] | sta | - Previously created STA context |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_be | ( | uint32_t * | max_be | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_devs | ( | uint32_t * | max_devs | ) |
Get the max number of the supported devices by the STA engine.
| [in] | max_devs | - max devices |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_icdoff | ( | uint32_t * | icdoff | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_io_num_per_dev | ( | const struct doca_sta * | sta, |
| uint32_t * | max_ios | ||
| ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_io_queue_size | ( | const struct doca_sta * | sta, |
| uint32_t * | max_io_queue_size | ||
| ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_io_size | ( | uint32_t * | max_io_size | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_io_threads | ( | uint32_t * | max_io_threads | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_ioccsz | ( | uint32_t * | ioccsz | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_iorcsz | ( | uint32_t * | iorcsz | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_ns_per_subs | ( | uint32_t * | max_ns_per_subsys | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_num_connected_qp_per_eu | ( | const struct doca_sta * | sta, |
| uint32_t * | max_connected_qps | ||
| ) |
Retrieve the maximum number of connected QPs per EU.
| [out] | max_connected_qps | - maximum number of connected QPs |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_num_eus_available | ( | const struct doca_sta * | sta, |
| uint32_t * | max_eus | ||
| ) |
Retrieve the total number of EUs available to the application.
| [out] | max_eus | - number of total available EUs |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_qps | ( | uint32_t * | max_qps | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_qs_per_be | ( | uint32_t * | max_qs_per_be | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_sta_io | ( | const struct doca_sta * | sta, |
| uint16_t * | max_io_num | ||
| ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_max_subsys | ( | uint32_t * | max_subsys | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_min_ioccsz | ( | uint32_t * | ioccsz | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_get_min_iorcsz | ( | uint32_t * | iorcsz | ) |
| DOCA_EXPERIMENTAL bool doca_sta_is_logical_block_size_supported | ( | uint32_t | size | ) |
| DOCA_EXPERIMENTAL doca_error_t doca_sta_set_max_sta_io | ( | struct doca_sta * | sta, |
| uint16_t | max_io_num | ||
| ) |