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 0E5D5A00C4; Thu, 4 Aug 2022 10:27:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A63F44068E; Thu, 4 Aug 2022 10:27:18 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2055.outbound.protection.outlook.com [40.107.22.55]) by mails.dpdk.org (Postfix) with ESMTP id 557824003F; Thu, 4 Aug 2022 10:27:17 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=HrUYfbewF9wh2KERe+K/gEBEr1LRKDIv5TjxgKaMujnuN1DI34yYIPyrESWqKcLy1P5HHuLOk/qoluneyya7DMVmsWNHy10HQLcuQljKxW3z2tgbsZGWCsuI9SZIR/UmcSIhZfolJSiDMIaAzGuiiWoWCafR5UjFB43YQFat8pU/CAZF4rPRZL7sOjWUsueL2LM5HuvgXEa6QdyQBSXcFp9T+VB/j/Z9BRUZcFl+A8CWVQJVBul4YxXRgf1LmJEGuU6zdzJODTcZgIS3qX9/2zXaFnN39TDgSpvvug1tu/aXuwmAQBtr1+IU45paGtmWfdlCaEpVybJWUYlOV0fJHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NDNQ67vDPPfZKkHV7IbKsWNjCDc5gEuxNW//34po3gs=; b=haA5czcaoYr1Si3T3ejGL1/PntKUZDY/vXt/RK51yxVh4O6LBIxZagGJbvy3HlsXcmO80B+VLFbPYieXrg0HU14cGdWJc2+pb381TRYlI1lFlKKGhK7jEgW+YUHWDcrzYW7xIrOW1BrJnfRpfT1ICdLCUdT8jrJHUsX37me5hVqj9LXbskwUZaEDwSWKD76C1HHrzh/oJJKXWmxQ6CgfLYMFTBJtn2fWA6yXRoC0say4LQ/T+k7RfLKvOibRxuUdCZ/mtYJDYabOMdVNH0ZXrJARK/LCdpYKKCLwtf3yPNgyqi5eVzWqbUHjGTKyTHOui5lc8o4pWqmFsYGBDv2Oqw== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NDNQ67vDPPfZKkHV7IbKsWNjCDc5gEuxNW//34po3gs=; b=2WouGiLG3biDR4n8Mcc6tgRcS6GXmyuWldlfetojYw0mSF2YPfDn6wMvw9eaXMv3tHBMCGjW1rFDOX4dBNz9WwhI7DsxJSbw1GUYpIR6l+WhHuxqqiyJs4yDjWhIGn7aCiSLe/QiFnZop7szMnRiFFWzsrw4SEQPEWpeuk79fj0= Received: from DB6PR07CA0012.eurprd07.prod.outlook.com (2603:10a6:6:2d::22) by AM6PR08MB3704.eurprd08.prod.outlook.com (2603:10a6:20b:80::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.12; Thu, 4 Aug 2022 08:27:15 +0000 Received: from DBAEUR03FT055.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2d:cafe::d1) by DB6PR07CA0012.outlook.office365.com (2603:10a6:6:2d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.15 via Frontend Transport; Thu, 4 Aug 2022 08:27:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT055.mail.protection.outlook.com (100.127.142.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.12 via Frontend Transport; Thu, 4 Aug 2022 08:27:14 +0000 Received: ("Tessian outbound c883b5ba7b70:v123"); Thu, 04 Aug 2022 08:27:14 +0000 X-CR-MTA-TID: 64aa7808 Received: from f544472c70a9.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4A8B9987-75AA-4264-A76B-EA095B80348D.1; Thu, 04 Aug 2022 08:27:08 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f544472c70a9.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 04 Aug 2022 08:27:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OYRZ2fyJJzP9DwY+8EW4gdXGio6/6mDHCUFqZekGjSQGDpbntyky0j1RCcfiQ5pMmOsx5Gu2GQdXxmV+awFsUb0OVVqfTRDk8K5PwuuMS0lI/6sBf40YmEQAMC9omf7lmb7eBwvOdqn275P0LecxVJvl9zDzo5ETFyfgL78rgdsazA7u6ejMGHPQ8bNjR7yzn/wugkFtEtwttGR6FAcyKoqD1P4/ehhMs5W01PXlfY8TNN7FwFuFg4wQ2Np813bi8h+88snqQ8BbYfD/gk52Cg1VsHNaOID/WiMzNy8fJwErLkrE0R6ViO8/p7Cv/4FB5UuucHXzQRCGDCrREjaWEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NDNQ67vDPPfZKkHV7IbKsWNjCDc5gEuxNW//34po3gs=; b=EO56a3KGJhcBKkKZpGQxZhYSV4qK2EhZMKM0VOLTYEWQXNsn8fsVea15yqFXFw3fdRWg/i3PIRkhDWPg/rxHumtioHPcb4/VlapProGJZnCFVEhgnHUU0VkmVsBVFNMtBA7z/06wi5qbnUiTLrV8eNWQhvuXsZ+sQ8C/uxWVlr0O+DlQHJGkRRgHVEx/4vJHyBSufIoBiJZZrK3nVD9YpGX66UFF/T7153DnhC5V2oXG6UAHcQ2vZK0vZoZIuCUOFriJSNgLdCoqYrkfF7C0/TB5XfnNp3Aa448cSIY2enZ59QQxRNGLpOzLAdvfAnBt2zVuPU8j71eQYJ2YNdecBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NDNQ67vDPPfZKkHV7IbKsWNjCDc5gEuxNW//34po3gs=; b=2WouGiLG3biDR4n8Mcc6tgRcS6GXmyuWldlfetojYw0mSF2YPfDn6wMvw9eaXMv3tHBMCGjW1rFDOX4dBNz9WwhI7DsxJSbw1GUYpIR6l+WhHuxqqiyJs4yDjWhIGn7aCiSLe/QiFnZop7szMnRiFFWzsrw4SEQPEWpeuk79fj0= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by AS8PR08MB9042.eurprd08.prod.outlook.com (2603:10a6:20b:5b0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.16; Thu, 4 Aug 2022 08:27:06 +0000 Received: from AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::8d6b:a2d2:5fbb:e398]) by AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::8d6b:a2d2:5fbb:e398%4]) with mapi id 15.20.5504.014; Thu, 4 Aug 2022 08:27:06 +0000 From: Ruifeng Wang To: "jspewock@iol.unh.edu" , "dev@dpdk.org" CC: "bernard.iremonger@intel.com" , "juraj.linkes@pantheon.tech" , "ohilyard@iol.unh.edu" , "stable@dpdk.org" , nd Subject: RE: [PATCH] test/ipsec: fix invalid crypto device failing Thread-Topic: [PATCH] test/ipsec: fix invalid crypto device failing Thread-Index: AQHYlsIq/jcGcfNSgEK5TSzdlY+FXa2eif1A Date: Thu, 4 Aug 2022 08:27:05 +0000 Message-ID: References: <20220712141701.27797-1-jspewock@iol.unh.edu> In-Reply-To: <20220712141701.27797-1-jspewock@iol.unh.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: BDEEDDD23D3A38439C48C350F4374973.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-MS-Office365-Filtering-Correlation-Id: 1e886381-7490-42d4-5adc-08da75f322c8 x-ms-traffictypediagnostic: AS8PR08MB9042:EE_|DBAEUR03FT055:EE_|AM6PR08MB3704:EE_ x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: /TOGp9MBTG3WFUq34aDEnIxSox0vr18SCby1up5d8vsZVGe1NAg/NaRdTkf7gZUbepAuqWF+yH0mzwG/D+n/OhFYWO1sXlDQRBZGrZBmhPSJtOlazLuhZVjQ+vlNuiw6jEqAuhIXTKtoyUCMmsuNbqs46WF8D4JECtFcZdXVqXriZzYhTz0O6W4l9SvUzZKhNOFhwbFMgdbi5km1yMk2jGAzSFB6qdRMQI2GpK3qVGTye/OFE04bI9ln6xIaVYFWlxc7u65P13gEcPilhFdyXevUTRn6Cp+F5+BeR20sHLWv9Rhps0TFRkXsFN+Y+FZC0DPLO/W4OlYIzK9/pA7RXp/KbpjpKo0QYrdzMxTYyQeNRMdTH7N6dNy1HEggw3B91R6Om5GUllt+vC3TZnG15R2FOTfXEsCVP34ZUyn4aWhXUHeEE5SmndWFnhsHgqcTBpgkkseiRDUAIVlbopyFf8j86f0pdxrCxtLuBLMOA++5cVcE5HxwkYoaIGKZ8PVVYb/37ZWgcQibGKunWo36kCAHcNbVxF0VsA2J5ZV3L4gxqEv75S3EpF9ogeiqtQuc+P+7AuSVpj+iYWHFw/12NGivnSjEFoba/+zvPhUMy40RjkZ8sGqLt0oqj6VDEvA0RSA073kjPaficW9scYBUaBvlyHQrp9Q9DU2pAOoSo25ZkO4z5gS3uTxnH+zDlml3JxjSza6sn02+kw3IGYipFv20GzIsE+EN6e9FeYFqnGX5mG+8eOQFzOmIi2zcL23VL0aaE3J0A9V5YDHQIZVct3uy9EptE3JDMWn5irxAvqU= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB7080.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(346002)(396003)(136003)(376002)(366004)(39860400002)(53546011)(8936002)(26005)(5660300002)(6506007)(9686003)(52536014)(7696005)(478600001)(33656002)(86362001)(2906002)(186003)(110136005)(41300700001)(122000001)(38070700005)(83380400001)(8676002)(54906003)(66446008)(66946007)(66476007)(64756008)(4326008)(71200400001)(316002)(66556008)(38100700002)(76116006)(55016003); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9042 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT055.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 76b21691-6ae5-4495-f3b4-08da75f31db5 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ABwJrumsuKxfF8YNRCu4NkkOVWLr4WCny9b8Cy4H5zeX3abmkO4csxNs3v6SxThFkajxERfoi3DrxVp9s7x5tGMSCgL6B9f+FxN1KJLmPAsmftqpL8TB0ZV1Vy6+ENrXRJRs2wNq1ePTPaGJixm/GzzVJ25gs+mcY2BUB3bs4MVgZvBxSCLYkCmoHJ26Dx4+b9DhLY2Gc3GmfCyvdKMNh5q24JANzfjAWOaG5MGVdiVtEbGAviJnLo0Z7mOY/pNUSQUS1927SIS5oEWjSzsgLWMrd+zK63D+GDeEBfOhYzbrDaHJccwLP/MqO2CESTK3r1IPiO4eVsI7HkMNIksQ+JSAO8JAX4o4/4HNRIpeT5Um3/WkBd2aUGrdtKZlGCgOdzU3iMzmeeLUlaNOQrH30iqVQ6LYSg2ZtzjaqakPPo6AP9HxeWN/MyMpjKM1zyTXFzBdaxpKCkZxUxvxSLllNDnKCyjqmJR9XiZXwH21i49HGhq5OQE16U0v8+PijZO4j1LccEgv7sYwkdy4cJQB9jLWmYtv1nwaGg3wWPXS5yNrQaC3QedfEfoO1uZLCqqGYee8WAcVc+J4SkDBr2vfhwzCGEtgB8+Ffv49j/VhAtfSQx2DsdJBNbNl9OFAn2qFagUrI0AGgJ6QxPY336IPLlqDy4QvlQbDgML0RnxepcOTmSB7yjPRAQQYm3/dVuSHAnk1l+LqV/51bk5z/s3ugdulY6xdw7pOAPaABz4mRuFh5Lg8LXTxKu4pMUY4k2exsP+RFtEf7Oy81WEwQh7sUfZmJ/PPyjB1Dm22gmOSGYD7vEI46zrDYXYF5YbRNxHn X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230016)(4636009)(136003)(346002)(376002)(39860400002)(396003)(36840700001)(40470700004)(46966006)(86362001)(53546011)(7696005)(26005)(478600001)(82740400003)(356005)(52536014)(9686003)(6506007)(82310400005)(41300700001)(2906002)(33656002)(5660300002)(40480700001)(8936002)(55016003)(81166007)(83380400001)(186003)(40460700003)(47076005)(336012)(54906003)(316002)(70206006)(450100002)(4326008)(8676002)(70586007)(36860700001)(110136005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2022 08:27:14.7248 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e886381-7490-42d4-5adc-08da75f322c8 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT055.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3704 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 > -----Original Message----- > From: jspewock@iol.unh.edu > Sent: Tuesday, July 12, 2022 10:17 PM > To: dev@dpdk.org > Cc: bernard.iremonger@intel.com; juraj.linkes@pantheon.tech; > ohilyard@iol.unh.edu; Jeremy Spewock ; > stable@dpdk.org > Subject: [PATCH] test/ipsec: fix invalid crypto device failing >=20 > From: Jeremy Spewock >=20 > ipsec_autotest is now skipped if no compatible crypto devices are found. >=20 > Fixes issue where if at least one crypto device was found but no > compatible crypto devices for the ipsec_autotest test case are present > the case would fail with no error message. Now, when this situation is > encountered, the test case will be skipped with an explanation. >=20 > Fixes: 59d7353b0df0 ("test/ipsec: fix test suite setup") >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Jeremy Spewock > Signed-off-by: Owen Hilyard > --- > app/test/test_ipsec.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c index > 7047e17960..7c03a06785 100644 > --- a/app/test/test_ipsec.c > +++ b/app/test/test_ipsec.c > @@ -320,8 +320,10 @@ testsuite_setup(void) > } > } >=20 > - if (ts_params->valid_dev_found =3D=3D 0) > - return TEST_FAILED; > + if (ts_params->valid_dev_found =3D=3D 0) { > + RTE_LOG(WARNING, USER1, "No compatible crypto device > found.\n"); > + return TEST_SKIPPED; > + } >=20 > ts_params->mbuf_pool =3D rte_pktmbuf_pool_create( > "CRYPTO_MBUFPOOL", > -- > 2.35.1 Reviewed-by: Ruifeng Wang