| rte_cryptodev_scheduler.h(3) | Library Functions Manual | rte_cryptodev_scheduler.h(3) |
rte_cryptodev_scheduler.h
#include <stdint.h>
#include 'rte_cryptodev_scheduler_operations.h'
struct rte_cryptodev_scheduler
#define RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKERS (8)
#define RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKER_CORES (RTE_MAX_LCORE - 1)
#define SCHEDULER_MODE_NAME_ROUND_ROBIN round-robin
#define SCHEDULER_MODE_NAME_PKT_SIZE_DISTR packet-size-distr
#define SCHEDULER_MODE_NAME_FAIL_OVER fail-over
#define SCHEDULER_MODE_NAME_MULTI_CORE multi-core
#define RTE_CRYPTODEV_SCHEDULER_PARAM_THRES 'threshold'
enum rte_cryptodev_scheduler_mode { }
enum rte_cryptodev_schedule_option_type
int rte_cryptodev_scheduler_load_user_scheduler (uint8_t
scheduler_id, struct rte_cryptodev_scheduler *scheduler)
int rte_cryptodev_scheduler_worker_attach (uint8_t scheduler_id,
uint8_t worker_id)
int rte_cryptodev_scheduler_worker_detach (uint8_t scheduler_id,
uint8_t worker_id)
int rte_cryptodev_scheduler_mode_set (uint8_t scheduler_id, enum
rte_cryptodev_scheduler_mode mode)
enum rte_cryptodev_scheduler_mode
rte_cryptodev_scheduler_mode_get (uint8_t scheduler_id)
int rte_cryptodev_scheduler_ordering_set (uint8_t scheduler_id,
uint32_t enable_reorder)
int rte_cryptodev_scheduler_ordering_get (uint8_t scheduler_id)
int rte_cryptodev_scheduler_workers_get (uint8_t scheduler_id, uint8_t
*workers)
int rte_cryptodev_scheduler_option_set (uint8_t scheduler_id, enum
rte_cryptodev_schedule_option_type option_type, void *option)
int rte_cryptodev_scheduler_option_get (uint8_t scheduler_id, enum
rte_cryptodev_schedule_option_type option_type, void *option)
struct rte_cryptodev_scheduler *
crypto_scheduler_roundrobin
struct rte_cryptodev_scheduler *
crypto_scheduler_pkt_size_based_distr
struct rte_cryptodev_scheduler * crypto_scheduler_failover
struct rte_cryptodev_scheduler * crypto_scheduler_multicore
RTE Cryptodev Scheduler Device
The RTE Cryptodev Scheduler Device allows the aggregation of multiple worker Cryptodevs into a single logical crypto device, and the scheduling the crypto operations to the workers based on the mode of the specified mode of operation specified and supported. This implementation supports 3 modes of operation: round robin, packet-size based, and fail-over.
Definition in file rte_cryptodev_scheduler.h.
Maximum number of bonding devices per device
Definition at line 29 of file rte_cryptodev_scheduler.h.
Maximum number of multi-core worker cores
Definition at line 33 of file rte_cryptodev_scheduler.h.
Round-robin scheduling mode string
Definition at line 36 of file rte_cryptodev_scheduler.h.
Packet-size based distribution scheduling mode string
Definition at line 38 of file rte_cryptodev_scheduler.h.
Fail-over scheduling mode string
Definition at line 40 of file rte_cryptodev_scheduler.h.
multi-core scheduling mode string
Definition at line 42 of file rte_cryptodev_scheduler.h.
Threshold option structure
Definition at line 79 of file rte_cryptodev_scheduler.h.
Crypto scheduler PMD operation modes
Enumerator
Definition at line 47 of file rte_cryptodev_scheduler.h.
Crypto scheduler option types
Definition at line 69 of file rte_cryptodev_scheduler.h.
Load a user defined scheduler
Parameters
Returns
Attach a crypto device to the scheduler
Parameters
Returns
Detach a crypto device from the scheduler
Parameters
Returns
Set the scheduling mode
Parameters
Returns
Get the current scheduling mode
Parameters
Returns
Set the crypto ops reordering feature on/off
Parameters
Returns
Get the current crypto ops reordering feature
Parameters
Returns
Get the attached workers' count and/or ID
Parameters
Returns
Set the mode specific option
Parameters
Returns
Set the mode specific option
Parameters
Returns
Round-robin mode scheduler
Packet-size based distribution mode scheduler
Fail-over mode scheduler
multi-core mode scheduler
Generated automatically by Doxygen for DPDK from the source code.
| Version 24.11.3 | DPDK |