X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fcryptodevs%2Fscheduler.rst;h=32e56537380d742f4e6bdb1086e58951add62bef;hb=7236d2bfe0acc48330e3c2a3dfac4ada9a792cd8;hp=04823316184e06fca50982f41a384b4905badd4e;hpb=a0e805ee086a87b2a787a4deb139775a01790c7c;p=dpdk.git diff --git a/doc/guides/cryptodevs/scheduler.rst b/doc/guides/cryptodevs/scheduler.rst index 0482331618..32e5653738 100644 --- a/doc/guides/cryptodevs/scheduler.rst +++ b/doc/guides/cryptodevs/scheduler.rst @@ -72,10 +72,10 @@ Initialization To use the PMD in an application, user must: -* Call rte_eal_vdev_init("crpyto_scheduler") within the application. +* Call rte_vdev_init("crpyto_scheduler") within the application. * Use --vdev="crpyto_scheduler" in the EAL options, which will call - rte_eal_vdev_init() internally. + rte_vdev_init() internally. The following parameters (all optional) can be provided in the previous @@ -154,6 +154,13 @@ operation: its own, by making use of the available CPU cycles to deal with smaller crypto workloads. + The threshold is set to 128 bytes by default. It can be updated by calling + function **rte_cryptodev_scheduler_option_set**. The parameter of + **option_type** must be **CDEV_SCHED_OPTION_THRESHOLD** and **option** should + point to a rte_cryptodev_scheduler_threshold_option structure filled with + appropriate threshold value. Please NOTE this threshold has be a power-of-2 + unsigned integer. + * **CDEV_SCHED_MODE_FAILOVER:** *Initialization mode parameter*: **fail-over**