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 CAEC4A0560; Tue, 18 Oct 2022 13:27:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2E64410F2; Tue, 18 Oct 2022 13:27:36 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2100.outbound.protection.outlook.com [40.107.236.100]) by mails.dpdk.org (Postfix) with ESMTP id 015744021D for ; Tue, 18 Oct 2022 13:27:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DjOzVtXxEQic+b70HqNLeZ8J40SNilAWAwT0deDU9XAn7bqJ1wKhhVlo/5hmy/HrZu8Ri6jJW8WWjl12VA1eo0pDpHrncXfbHmspsywOj/H4dln/Z6Dn+AoY8ajdlF82T7LriR5TPpJQI+hx9mmTPVWYWuGIPl0IMxLoJUyaX8gMMw4idwbFVm+8RNbKucM3KNbnOLVV6gPn7j2/rD9TrM3mUKHOjmttv0XTmAB9aapnojcbww10Wn9u1Fze4G6pxxsto9MZTlVHqLh76iwRTVSrSHF7Qt8vC7G93YseAx9h+sW5hXfMTGf0x5B1NWJmMnCsId6+28+JH7W/SZ3uYA== 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=ES/o1PrE+nwtCqbc7iroSAGnYbVH8sXi63bkKiRXOxc=; b=bxa75vLbxa5mmtukpuBM3km4vK4pN08kOwBRF/ddiUcM5dhMdx3kIiA4UtLNJ4xD38CvAUiLoPDNZ7jChmtl9tzUYeu2iuCVJes+k1pFIMLMAnyfP62vcjhK0Y1Ncne63eVcMSOO4LFQU8Oj1Eg6CAttw+M3SMk9aqbwQ4yieOM3GFZlh+9v3GSJ3TOR30s6AwG8vP2YXGyIujJJYnR5aZfyF3kXyRbu56LoVRH3IOAjOZUXwCJSgNFgU5DsFkQZ3EX8GverjMeMwRXSg90p2Zm7PeJC9vaT1fAd5TCaRmLoNXMMhGbeixR8PIT9337/fGL3CrM9HXHvnlmKLTas8w== 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=ES/o1PrE+nwtCqbc7iroSAGnYbVH8sXi63bkKiRXOxc=; b=uORm8qJqOG8/zdRZoYZzsQ9pDbF2Y7AY3wKfee42pto0mYIfQ7p/lRLLMmGCHjehZzI4ucQRHkGyqhCfwDpCcgu4EBNRBXicXtoclfJlEweXz7630sS+Oxpxa0JXGITSLb8TnMmOW00avgxrx6j83wUSSLcnwKcey8Qs7aiQ7x0= 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 CO3PR13MB5686.namprd13.prod.outlook.com (2603:10b6:303:179::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.16; Tue, 18 Oct 2022 11:27:34 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7c26:1a0b:2825:6f4b]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7c26:1a0b:2825:6f4b%4]) with mapi id 15.20.5723.014; Tue, 18 Oct 2022 11:27:34 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH v4 01/25] net/nfp: fix the requirement of cpp bridge service Date: Tue, 18 Oct 2022 19:26:50 +0800 Message-Id: <1666092434-10357-2-git-send-email-chaoyong.he@corigine.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1666092434-10357-1-git-send-email-chaoyong.he@corigine.com> References: <1666092434-10357-1-git-send-email-chaoyong.he@corigine.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0052.apcprd02.prod.outlook.com (2603:1096:4:54::16) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|CO3PR13MB5686:EE_ X-MS-Office365-Filtering-Correlation-Id: e9696942-e7d5-46a5-4681-08dab0fbc05d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sPenResd7GvgQCl+q63AxzW+W/61cQ5BlmMlVyJinO3pccfbDOamD6aS/MRmQselkq149TEr6pqUjORpYlc4m/oT1V7IFf7G1JeDLpYR9S/t6E4c39SlOOpzPOItrzD9uTnRsW/02Px+7MxVvjh2fpY+VkmqGmUnc1KHmXFsLc8l6oi42ohp5JdGG+JJ6fUGQzUL5C4Klf9SYyO530WjCdhZaoezpk8tETgcWKEaR3ASkIj5xREEsxe0ZvdfD+EHiZM6HCKk4Mkx7MWH14VwLaeItAcj5i4bz5ayYvWxbkWBjn9BhPk/G75d1xgYd0ODCoX9UJS9GmJ7s0XhguTs/D8VNq+WMkI/swzJ5W+dZ9rY0uJ8DEC9OtW82WMsC9vRS8ZqCyZOji4ech5Ueyy435RWQ/bHhNqB/NlG0YvQBo86d7BVBpAfcydv6wQHi0Gl654h6Zvzlbefh31v70lEo/gjhXsaVXkT0Oh3n/7uq0GnerfSEfdQ5t8SlpTH4MBvzF5zZ22d1xuUjRsM/fgOIULezVMQPzbu+ZIUh0b7spEDOKIYMXGAtaAg7eHrrdT9nbQ/gfiJ/5B2EZRFtY5H0ncG3+HYtg/PCupN0Nwf1VxgwQBuCsrQHUSb/fwIKl06yN+tbwa9hhiiZ4uU2DyhWcqaRmWjJlqc9k6IDaVUvKvNrl5AXJNX/bLO+wUL/VLvzDWBO5QHeT2nbIseh6EcBEK8ANiZ3V/lArVq/MnLQtB21dpy0+Hp6zksDIQKyuBjFeR7PWI21eFQKHMtFIAxKzDP2MOUekgOsm10R13bZxW2uAGaIZoCxhxcoPhlR67L 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:(13230022)(4636009)(346002)(366004)(39840400004)(396003)(136003)(376002)(451199015)(38350700002)(38100700002)(2906002)(41300700001)(316002)(66946007)(4744005)(66556008)(66476007)(83380400001)(4326008)(8676002)(6916009)(86362001)(44832011)(2616005)(8936002)(186003)(36756003)(5660300002)(6506007)(107886003)(6666004)(6486002)(478600001)(26005)(6512007)(52116002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ixh9ghjlKn9q+hswBKT3ttGONIOlvMMScCGRC0OcWZh+bKB7389kI4atSxZx?= =?us-ascii?Q?hAnp8wdAcSGHERnpBHTT7X3YwNa15n3sAs/Z3gkaaqlZ88Eem8oPqMj4+NGn?= =?us-ascii?Q?/8BuU5ioQRYeJYSQr7j3cJTvcH8Pv80T+Un+VgMUYoCuOM+yRNGD3fPf1/QB?= =?us-ascii?Q?0yOxGcEo+ZKi3w1r3daPscnmdoVK60PtA1qNRd3PTZOJHLWaHn/nZwXn0XSN?= =?us-ascii?Q?jfUZ9myF787W/d7wr36Y/1MPqHNl1ZM1CTH44cm+e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+5DWtfWZsLu+eO0BjiMlpfRdn1+nUTnzfB2DGQm1?= =?us-ascii?Q?4K+B59VKLiNv3BTL3mbvSApp/ec43i2B2CBAZzHR1urSgEZo4ZLhjT8laC7z?= =?us-ascii?Q?S7V57i/aNcBLNfT4NTpyZiR6tJWUgv7ywx0WI62Udar+wVSyRYr5jts7fJTm?= =?us-ascii?Q?CxzuOMvaa+n1Pj/N1gruTCWjrDIIC8Rfs5uLTtFgLz2yvo+GBxeryuBjjSba?= =?us-ascii?Q?Ahv3zGzRGkltx7mawQ8G45L4Rr963fJTzO2klJHMfHt2Y/3JCnWgEDpBVIW4?= =?us-ascii?Q?RazQKp74QexYl62yCHrNtRdnAOXax1VxRJOxqh7KNvRMVTQNeo33L9gZS2SZ?= =?us-ascii?Q?V0k30HU3oN4fRdH9REPqAlenT/4/y/UvfAHjhdA9GqMKsj5uYuCPygbUD9h9?= =?us-ascii?Q?YjsyHW8X3Tk4Zds/SyHp/Wg4FieH7lr14jd1DGkM/qYxVaf5gQiLFPRpwtjg?= =?us-ascii?Q?tA=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: e9696942-e7d5-46a5-4681-08dab0fbc05d X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2022 11:27:34.0245 (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: GwBAiJnWi6nDUGE3Zewl4UOOvfLgRpgHmXx6VufgfB0MFbl0FvueTMWY+7P0xVoATnpJtKlLDJU47BIAh3MO/6cjPqQqh1y6QSf9GC8y73o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO3PR13MB5686 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 The cpp bridge service is needed for some debug tools, and should be optional, so remove the mandatory requirement of service lcore parameter. Fixes: b18804219537 ("net/nfp: add initial flower firmware support") Signed-off-by: Chaoyong He --- drivers/net/nfp/nfp_ethdev.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/nfp/nfp_ethdev.c b/drivers/net/nfp/nfp_ethdev.c index f11a1b6..b105edb 100644 --- a/drivers/net/nfp/nfp_ethdev.c +++ b/drivers/net/nfp/nfp_ethdev.c @@ -1066,11 +1066,8 @@ /* register the CPP bridge service here for primary use */ ret = nfp_enable_cpp_service(pf_dev->cpp); - if (ret != 0) { - PMD_INIT_LOG(ERR, "Enable cpp service failed."); - ret = -EINVAL; - goto hwqueues_cleanup; - } + if (ret != 0) + PMD_INIT_LOG(INFO, "Enable cpp service failed."); return 0; -- 1.8.3.1