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 7ECA3A00C5; Mon, 31 Oct 2022 11:39:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1EF9A40223; Mon, 31 Oct 2022 11:39:21 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id C025040151 for ; Mon, 31 Oct 2022 11:39:19 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 29V5Hf6L014738 for ; Mon, 31 Oct 2022 03:39:19 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=+R+RgLyVxouKntfxTGs+UNltlzi5grw/KpjDON+cbXo=; b=POrdyXfmMwYdnT9NpIFSG5B3ng6ltoOUlxmDcNhMTX79uS+GzYkGKGrNhjJbz2mzKqXL /yUHivfYxt7LElo0tQC6TBFG3fACmAw36PQIccQK+brvttlV/NNushm63Rsn+UUEDLk5 JpQInItI6vijpSvmRK89ZGi7t36S7ziAFy0jIKo4XQuGK3OpDz5w1dooCQK/LyxQYsUZ 5KFRiQxYND5pwywOncdTkyQZSQzaIodF2OqhcjBL4Mobrn3hHPzJoKYXb8Fzv/yDXHo+ CKiGjkuy+RelOAU+t5/zLy7v+MmfKQRQjtycx4WG0JRSFoDD4OThux9t7GM3TrhkpjkU bA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3kj83c8wdc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 31 Oct 2022 03:39:18 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 31 Oct 2022 03:39:17 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 31 Oct 2022 03:39:16 -0700 Received: from localhost.localdomain (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 40B803F70E9; Mon, 31 Oct 2022 03:39:14 -0700 (PDT) From: Volodymyr Fialko To: CC: , , , , Volodymyr Fialko Subject: [PATCH] app/testeventdev: fix limit names in error message Date: Mon, 31 Oct 2022 11:39:06 +0100 Message-ID: <20221031103906.82264-1-vfialko@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: jkbgrB7GNe3rYoiHku9_rqYHbNheTnGG X-Proofpoint-GUID: jkbgrB7GNe3rYoiHku9_rqYHbNheTnGG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-31_06,2022-10-31_01,2022-06-22_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Swap min and max values to match their labels. Fixes: 2eaa37b8663 ("app/eventdev: add vector mode in pipeline test") Signed-off-by: Volodymyr Fialko --- app/test-eventdev/test_pipeline_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c index ab39046ce7..5229d74fe0 100644 --- a/app/test-eventdev/test_pipeline_common.c +++ b/app/test-eventdev/test_pipeline_common.c @@ -534,8 +534,8 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride, if (opt->vector_size < limits.min_sz || opt->vector_size > limits.max_sz) { evt_err("Vector size [%d] not within limits max[%d] min[%d]", - opt->vector_size, limits.min_sz, - limits.max_sz); + opt->vector_size, limits.max_sz, + limits.min_sz); return -EINVAL; } -- 2.25.1