From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 423CC4569A for ; Tue, 23 Jul 2024 21:32:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A8B440A75; Tue, 23 Jul 2024 21:32:19 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id DDE79402EA; Tue, 23 Jul 2024 21:32:17 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46NEesWt029059; Tue, 23 Jul 2024 12:32:17 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=pfpt0220; bh=5Yre748dyVrK3lsUapuU5f+ WEJgbT0l8ykGObew8TZU=; b=EUazsPzvZLLE0zPENVeAqvcZN8RwLVgngSdEXlT Z44sqtowYXmhyJ1Y7mCn27wYzUbMp2tu0HMpbB5gUOXOcPN7TXzFTOKPfzSlq2Y4 iaVwx0YhezZBXwZjR+Y4Qxvu8GO3X6fU0b35PQqLLgrh9uvkH639BkGU7H0Gz9+I GkeWkh6X+Ka38EZobodXsJm70PsclQuY02LmZNJxvxzJNAp22tWA4ONXeFtuv9Mc CFuSKzeinSHF4P4xuOlkOZ8q+Wq8mW/GVClid0SjnZbUJGWIdn0qXuHXnD38xcjj 4ch4bQpVRLTpKJNBS5G23PPLjAfmaB49rkt4v3H+AO0v09w== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 40j9c9c1wd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Jul 2024 12:32:16 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 23 Jul 2024 12:32:15 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 23 Jul 2024 12:32:15 -0700 Received: from MININT-80QBFE8.corp.innovium.com (MININT-80QBFE8.marvell.com [10.28.164.106]) by maili.marvell.com (Postfix) with ESMTP id 5932C5C68E6; Tue, 23 Jul 2024 12:32:14 -0700 (PDT) From: To: CC: , Pavan Nikhilesh , Subject: [PATCH] test/event: fix missing schedule type assignment Date: Wed, 24 Jul 2024 01:02:12 +0530 Message-ID: <20240723193212.2625-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: IKako-E6WR7-nnmgLWOiPYvT2Cs160or X-Proofpoint-GUID: IKako-E6WR7-nnmgLWOiPYvT2Cs160or X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-23_10,2024-07-23_02,2024-05-17_01 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org From: Pavan Nikhilesh Missing schedule type assignment might set it to incorrect value, set it to SCHED_TYPE_PARALLEL. Fixes: d007a7f39de3 ("eventdev: introduce link profiles") Cc: stable@dpdk.org Signed-off-by: Pavan Nikhilesh --- app/test/test_eventdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c index e4e234dc98..9a6c8f470c 100644 --- a/app/test/test_eventdev.c +++ b/app/test/test_eventdev.c @@ -1189,6 +1189,7 @@ test_eventdev_profile_switch(void) ev.op = RTE_EVENT_OP_NEW; ev.flow_id = 0; ev.u64 = 0xBADF00D0; + ev.sched_type = RTE_SCHED_TYPE_PARALLEL; rc = rte_event_enqueue_burst(TEST_DEV_ID, 0, &ev, 1); TEST_ASSERT(rc == 1, "Failed to enqueue event"); ev.queue_id = 1; -- 2.25.1