}
static int
-test_scheduler_attach_slave_op(void)
+test_scheduler_attach_worker_op(void)
{
struct crypto_testsuite_params *ts_params = &testsuite_params;
uint8_t sched_id = ts_params->valid_devs[0];
}
static int
-test_scheduler_detach_slave_op(void)
+test_scheduler_detach_worker_op(void)
{
struct crypto_testsuite_params *ts_params = &testsuite_params;
uint8_t sched_id = ts_params->valid_devs[0];
static int
scheduler_multicore_testsuite_setup(void)
{
- if (test_scheduler_attach_slave_op() < 0)
+ if (test_scheduler_attach_worker_op() < 0)
return TEST_SKIPPED;
if (test_scheduler_mode_op(CDEV_SCHED_MODE_MULTICORE) < 0)
return TEST_SKIPPED;
static int
scheduler_roundrobin_testsuite_setup(void)
{
- if (test_scheduler_attach_slave_op() < 0)
+ if (test_scheduler_attach_worker_op() < 0)
return TEST_SKIPPED;
if (test_scheduler_mode_op(CDEV_SCHED_MODE_ROUNDROBIN) < 0)
return TEST_SKIPPED;
static int
scheduler_failover_testsuite_setup(void)
{
- if (test_scheduler_attach_slave_op() < 0)
+ if (test_scheduler_attach_worker_op() < 0)
return TEST_SKIPPED;
if (test_scheduler_mode_op(CDEV_SCHED_MODE_FAILOVER) < 0)
return TEST_SKIPPED;
static int
scheduler_pkt_size_distr_testsuite_setup(void)
{
- if (test_scheduler_attach_slave_op() < 0)
+ if (test_scheduler_attach_worker_op() < 0)
return TEST_SKIPPED;
if (test_scheduler_mode_op(CDEV_SCHED_MODE_PKT_SIZE_DISTR) < 0)
return TEST_SKIPPED;
static void
scheduler_mode_testsuite_teardown(void)
{
- test_scheduler_detach_slave_op();
+ test_scheduler_detach_worker_op();
}
#endif /* RTE_CRYPTO_SCHEDULER */
static struct unit_test_suite scheduler_config = {
.suite_name = "Crypto Device Scheduler Config Unit Test Suite",
.unit_test_cases = {
- TEST_CASE(test_scheduler_attach_slave_op),
+ TEST_CASE(test_scheduler_attach_worker_op),
TEST_CASE(test_scheduler_mode_multicore_op),
TEST_CASE(test_scheduler_mode_roundrobin_op),
TEST_CASE(test_scheduler_mode_failover_op),
TEST_CASE(test_scheduler_mode_pkt_size_distr_op),
- TEST_CASE(test_scheduler_detach_slave_op),
+ TEST_CASE(test_scheduler_detach_worker_op),
TEST_CASES_END() /**< NULL terminate array */
}