Lines Matching refs:pconf
393 struct rte_event_port_conf pconf; in test_eventdev_queue_attr_priority_runtime() local
440 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_queue_attr_priority_runtime()
442 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_queue_attr_priority_runtime()
715 struct rte_event_port_conf pconf; in test_eventdev_port_default_conf_get() local
731 &pconf); in test_eventdev_port_default_conf_get()
743 struct rte_event_port_conf pconf; in test_eventdev_port_setup() local
749 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
751 pconf.new_event_threshold = info.max_num_events + 1; in test_eventdev_port_setup()
752 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
755 pconf.new_event_threshold = info.max_num_events; in test_eventdev_port_setup()
756 pconf.dequeue_depth = info.max_event_port_dequeue_depth + 1; in test_eventdev_port_setup()
757 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
760 pconf.dequeue_depth = info.max_event_port_dequeue_depth; in test_eventdev_port_setup()
761 pconf.enqueue_depth = info.max_event_port_enqueue_depth + 1; in test_eventdev_port_setup()
762 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
767 pconf.enqueue_depth = info.max_event_port_enqueue_depth; in test_eventdev_port_setup()
768 pconf.event_port_cfg = RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL; in test_eventdev_port_setup()
769 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
771 pconf.event_port_cfg = 0; in test_eventdev_port_setup()
775 &pconf); in test_eventdev_port_setup()
779 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
781 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_setup()
802 struct rte_event_port_conf pconf; in test_eventdev_port_attr_dequeue_depth() local
807 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_dequeue_depth()
809 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_dequeue_depth()
816 TEST_ASSERT_EQUAL(value, pconf.dequeue_depth, in test_eventdev_port_attr_dequeue_depth()
827 struct rte_event_port_conf pconf; in test_eventdev_port_attr_enqueue_depth() local
832 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_enqueue_depth()
834 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_enqueue_depth()
841 TEST_ASSERT_EQUAL(value, pconf.enqueue_depth, in test_eventdev_port_attr_enqueue_depth()
852 struct rte_event_port_conf pconf; in test_eventdev_port_attr_new_event_threshold() local
857 ret = rte_event_port_default_conf_get(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_new_event_threshold()
859 ret = rte_event_port_setup(TEST_DEV_ID, 0, &pconf); in test_eventdev_port_attr_new_event_threshold()
866 TEST_ASSERT_EQUAL((int32_t) value, pconf.new_event_threshold, in test_eventdev_port_attr_new_event_threshold()