Lines Matching refs:pconf

509 	struct rte_event_port_conf pconf;  in test_eventdev_port_default_conf_get()  local
525 &pconf); in test_eventdev_port_default_conf_get()
537 struct rte_event_port_conf pconf; in test_eventdev_port_setup() local
543 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
545 pconf.new_event_threshold = info.max_num_events + 1; in test_eventdev_port_setup()
546 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
549 pconf.new_event_threshold = info.max_num_events; in test_eventdev_port_setup()
550 pconf.dequeue_depth = info.max_event_port_dequeue_depth + 1; in test_eventdev_port_setup()
551 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
554 pconf.dequeue_depth = info.max_event_port_dequeue_depth; in test_eventdev_port_setup()
555 pconf.enqueue_depth = info.max_event_port_enqueue_depth + 1; in test_eventdev_port_setup()
556 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
561 pconf.enqueue_depth = info.max_event_port_enqueue_depth; in test_eventdev_port_setup()
562 pconf.event_port_cfg = RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL; in test_eventdev_port_setup()
563 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
565 pconf.event_port_cfg = 0; in test_eventdev_port_setup()
569 &pconf); in test_eventdev_port_setup()
573 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
575 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
596 struct rte_event_port_conf pconf; in test_eventdev_port_attr_dequeue_depth() local
601 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_dequeue_depth()
603 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_dequeue_depth()
610 TEST_ASSERT_EQUAL(value, pconf.dequeue_depth, in test_eventdev_port_attr_dequeue_depth()
621 struct rte_event_port_conf pconf; in test_eventdev_port_attr_enqueue_depth() local
626 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_enqueue_depth()
628 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_enqueue_depth()
635 TEST_ASSERT_EQUAL(value, pconf.enqueue_depth, in test_eventdev_port_attr_enqueue_depth()
646 struct rte_event_port_conf pconf; in test_eventdev_port_attr_new_event_threshold() local
651 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_new_event_threshold()
653 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_new_event_threshold()
660 TEST_ASSERT_EQUAL((int32_t) value, pconf.new_event_threshold, in test_eventdev_port_attr_new_event_threshold()