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 389F641BB9; Fri, 3 Feb 2023 08:58:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA0E54021E; Fri, 3 Feb 2023 08:58:01 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2120.outbound.protection.outlook.com [40.107.100.120]) by mails.dpdk.org (Postfix) with ESMTP id 124034014F for ; Fri, 3 Feb 2023 08:58:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jM/BhR5UW+3cgCJKQU+vf4Z9bCkr+pSJGpR/OakC9tG7SvyLQMGITnfrTdaCviotc69iPHRktpB52Jecv7s4+fSui9y/fSo0tv88ygJRBqDauliJ70eAjLodY5iCGH9K5Rim248Zn68vti6ZJhSXiDebGr0rAGRLaYt0jcc3Cm3IN4LIo8IEPrgg8HP9vN3BVe4o62TVkIvH026aNvSgbhuqBjacp/7jNfab18gr31PNc+Ts4V6J0Qf9ZUU6q4EquiZjLFojHPie4j7CVH5CuZ4IG0XXGkdNbEI6uxacAiY2S9EpmzuDocFmIa1WSP+mShitsyXac0TUI2YTGZ9kqw== 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=5puysDvIs+KBZ6F8EMjTQSYlrqipzD71xlJSi67SdYU=; b=GbfmcbOUSflM1tN+YV7M5pEhRR1lfyRXTiIFVQFjWXh5NZURiYpD30PEveZZO8PYzZR7hKVwP7/Y8XnaxHOyUfnerlSCKGozLUZcmytTCQZnzxN5+q8G8Er6Ar/ePcRBvHyc2zWqyKCSfqol6dsSvsjzprEs4cyjvNkSRUe+zR4AZ6R9p+UWIkYHwO0nOsgnltIeKsWRQawYhAFtPC7ZHYfermzWPSbGrmg6qZyqNPO3/UiS9hSaZePfvG+GCRPQDugPpVwXuX8UMGBgkxrCDlKPW4BAucY2S5y/DHKlgTlCkS8OQBeQfhRXmhCFQxyRNuUFN0EC9ROt4CnADO0UkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5puysDvIs+KBZ6F8EMjTQSYlrqipzD71xlJSi67SdYU=; b=mRtTl8OdlbNW3k1kXFx4NKkBYjOr01kmxUJp7qSyjvmD957nZVglzXG1T4G19cmrIt+VmDUlXxZKe+gyOKWzkgj2pXNKqHUwwueErpgvNKiU/nyW1t1DRnm0kJyk2NE72TBlcqy+Gpf0puPfRdR55ZLrBBLm7uC+6Ii52M7n4g4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by PH8PR13MB6292.namprd13.prod.outlook.com (2603:10b6:510:257::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.27; Fri, 3 Feb 2023 07:57:57 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7ea4:e421:5dd5:9f4d]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7ea4:e421:5dd5:9f4d%4]) with mapi id 15.20.6064.027; Fri, 3 Feb 2023 07:57:57 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH 0/3] remove usage of rte_panic() and ASSERT() from PMD Date: Fri, 3 Feb 2023 15:57:33 +0800 Message-Id: <20230203075736.18616-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.29.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SI2PR01CA0014.apcprd01.prod.exchangelabs.com (2603:1096:4:191::17) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|PH8PR13MB6292:EE_ X-MS-Office365-Filtering-Correlation-Id: 316b8e99-07cd-4768-4d6d-08db05bc5cd0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dZAPiEsIo4ESYRX0/X1SfgnmhGoLh1nurOwsQ8QcnnpB1OJ2MoyEXOUcwxw+YD1DMHL/6lCw47wqMYbT7brx80poX+VQ/Bv1jOVjsiTngAS4GAZ79MVPguy6mMtVGqQ2qcPm2jbQm1drj2i9tnw4PldPc3HPg2mBtWl6w119F7739QGfyUOpefaNGsxhyZKWRoMsHQ+ZPtrnu+nm4HiYJhUT5g6Hxz/Evr9ep1seHImFQNFJfLMTbhhrxJVP63JFWqiMTHSCth6kfm89BTDMtIyzaqlYYHn4fN3pvxF8MGFxDQhnLbVF1BqqeNqq49IaDp/kd5QLr4J5ChSmKPUpRpxuyr9PNS131pBHPfCUeGtrJlB6JYofhF3TzOCjdX7uVRlsphuVbMNXumZOpAaTg9q4lyHuivWwSBqz+sJ2ompkrd8Zljt7L6sVbJfQBCbe5qoQnDVGfUvQ4D94D6fOCeS0rlJmzKfCzjpZg8xRhiHlk/WPYXcBcLT3B/KiufzTh8wU6oPc7X4Xhi7+JgUXsAXs9EWkKngMapYKxqMINdcCyH5PlGJAjX5OGZEewcRGT1hOT1dMgMCXf4mRErAvIJLMif81qabxQG3a2ZvQc/eX06BHfHNzkJqRK8kEQzNIAR1g43IUc+DueObSyPMoQ8II+Om+s8xbU+35JW6EkBknKYoP0SaKXyrXElzBMqnmJg8Sl/LU22Km4cP0gqwNQK9B48Xae957KbpqwhEr48GBZK+Mfij3GSo6kyIM1Knp X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(366004)(39840400004)(136003)(376002)(396003)(451199018)(26005)(186003)(86362001)(6512007)(6506007)(1076003)(107886003)(6666004)(478600001)(6486002)(38100700002)(38350700002)(52116002)(2616005)(66899018)(36756003)(2906002)(8936002)(5660300002)(4744005)(44832011)(41300700001)(83380400001)(66556008)(66946007)(4326008)(66476007)(6916009)(8676002)(316002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Z1Q3TmN6c1dCb2hORCtPT3lPd3RXSm81TW5EbEVXOVp5cHlpLzM4NXVvRkw1?= =?utf-8?B?bkd0OWxZYURvWUQ5Uk1ZUGZJMzc4UE5PZVdnanZvcWQyQXR2dVVMeVVYRXov?= =?utf-8?B?SDRNUXg4bmRMNWt1S1dGL3pZNHNPSFYvVG1pS3lXK1NlV3JNRGN6bjlqUWV0?= =?utf-8?B?bndFYXRmd3R3OTJJWTFyajJtSVBlYlViR2lsNmJKNVZqRXRzT1RlaHB3eVRy?= =?utf-8?B?MmZ1TzR4cDRXRWhUQXRSODBLcGRNeUh3NEhqVFgyUjUwK0lUNjFuczg3MHNi?= =?utf-8?B?cUVyTFZ3dmxvSEtQcVBaWm5HNEVsUmV3OTNpUzcwM1ordXRmL29sUWVLZUJW?= =?utf-8?B?dkM3dVZPTXJVVGUrL2t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SamIxeHJKN2QrVzdz?= =?utf-8?B?MXc9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 316b8e99-07cd-4768-4d6d-08db05bc5cd0 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Feb 2023 07:57:57.5171 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QQn7Q9pIhzGZgfI/PiUDOyI/QKWknUtFnsjBG1Cp3/rHmjs8mPeEop699qLJX3O+ULEltNE27IadjuGJernsofvsFDMddP6raf/vEwKI+cA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR13MB6292 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 This patch series is aimed to allow the DPDK app to deal with the error as necessary, by: * Remove the usage of rte_panic() * Remove the usage of ASSERT() James Hershaw (3): net/nfp: remove panic usage during reconfig net/nfp: remove panic usage for multisegment Tx net/nfp: remove ASSERT() macro drivers/net/nfp/flower/nfp_flower.c | 11 ++++------- drivers/net/nfp/nfp_common.c | 24 ++++++++++++------------ drivers/net/nfp/nfp_logs.h | 2 -- drivers/net/nfp/nfp_rxtx.c | 14 +++++--------- 4 files changed, 21 insertions(+), 30 deletions(-) -- 2.29.3