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 B725BA0093; Fri, 17 Jun 2022 11:35:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5785440F19; Fri, 17 Jun 2022 11:35:12 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2095.outbound.protection.outlook.com [40.107.94.95]) by mails.dpdk.org (Postfix) with ESMTP id 6406F40698 for ; Fri, 17 Jun 2022 11:35:11 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l1dnjMY1RUw+h4Pt0GYTeNFkAUYBWm6O1fnePvSX7WqpQ+kc2TwGpxfDGKTZj07MDGpomMG3Acbc/XE+CWCXKICDboTnYHXi1hh9aVVkx4qlzSgzFcT01sDtzrf+Vz8FM16wjbl01u8UvhoQrJESFTeFicHtc0ItOC0enXdA0QQuNblgeTy2yzE+SAkUomXzRD11je4FDxy3PfNOn8xUOpMGYpTtGWyiVDINza9NOj+K2x5fkFWiyDKi6cPXbX/+s6acaXupEi064auLBo40IzSUrQiJyyNsXkRikkl+JrxQK4Res+vA2sQBVyE3N7aiD+fnkaj15cisS1e+YByZeg== 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=0Ax+y8Iu3LHldjWGBsiBw2sLDpmvH2+AL1rKOAmy6WE=; b=Vhy82m/So1C8/tWRKnQ/tjCITJY5nNmS3znU2HXfLLzmBLFeuNmo3OX/aPxBzfe0ipckpfgbfUs67G5PU+SYjr4I4qrWZYYDqFwdWvcqOw4/dVW6xmcSHLoY7cg8wJDeLq1/AKPJehC6jCJmZwcRqrGZVWIXIShsxtAIpkvXqEJReMfH7a3kVCEJHx9CYIMZJgKP61Glwtfo5ZDVIkVgXyeOU1kfKNby3eSNrtmN2ubvpdEDT77hZLCEPXIYElf/sTLfl3hwNOoRkSe5amm+xIxvSL0/JVv20cnsMKFxH9ja00UXdXMj6kpA344/Gq1/e1ew7hntKhsvmuIcA48uKA== 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=0Ax+y8Iu3LHldjWGBsiBw2sLDpmvH2+AL1rKOAmy6WE=; b=pHPDpLMr/eBFz6vDWOXYsfFwxXiF7YM2ZcI8Y4orOfd4+xdUkkK7Ho+/hnUxyu+SFqdmywxXuik5frcC/WcBCrklAT87QE83m0yv9FzGIvk24ITG/O8cGB6y/ABK/GZ45WBKMqTTAMIP52oydRiM7nekGLlWHJJheOHBzOV5cmU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from DM6PR13MB3004.namprd13.prod.outlook.com (2603:10b6:5:191::21) by CO3PR13MB5671.namprd13.prod.outlook.com (2603:10b6:303:17a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.9; Fri, 17 Jun 2022 09:35:08 +0000 Received: from DM6PR13MB3004.namprd13.prod.outlook.com ([fe80::ac31:a36a:cc15:cd35]) by DM6PR13MB3004.namprd13.prod.outlook.com ([fe80::ac31:a36a:cc15:cd35%7]) with mapi id 15.20.5373.009; Fri, 17 Jun 2022 09:35:08 +0000 From: Jin Liu To: dev@dpdk.org Cc: niklas.soderlund@corigine.com, Jin Liu Subject: [PATCH v3 00/13] Add support of NFP3800 chip and firmware with NFDk Date: Fri, 17 Jun 2022 11:34:31 +0200 Message-Id: <20220617093444.2004000-1-jin.liu@corigine.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220616023939.1798769-1-jin.liu@corigine.com> References: <20220616023939.1798769-1-jin.liu@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0192.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a4::17) To DM6PR13MB3004.namprd13.prod.outlook.com (2603:10b6:5:191::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: acf4a1bd-088b-4462-c14e-08da5044aadb X-MS-TrafficTypeDiagnostic: CO3PR13MB5671:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FbPnCCb5xw3qcUBnBEZ5gES8UoOAO8QwZ8CJ/5WbLo+ZTvzl/AEmZ3dHWD4zGuLubfQF8l0fdGEtBvlHvm3Y5ylFjWZEwwlfrAGfjXITYNfIzdgD0y85OG+mM0Th6mau8qeJIW5CW0jzyvRRypIPlVxZl6L6ywJfc06klwoWqGPZGwDdpZAcFbvZABvCE/gXuzZkCpwuyMcmvSBi6AHKJTiwXiMktcXC38KGLYnadyNEIBt4MZ2VNh4LwBlXizQu33kaQdzMNyQmbwIWNZXx8cgtKr1Fqc8b6YqjBWVdiwyJhViyofw4/cb6v/h9xKuNbU1Jgbr0s8R3w8l49egE4bynGlqNrEjXdCx4VWrMQ9ZTVcoZ9TiRLa0czsY9rrhUpSsVLnSxcZGyIVSnaV6MxhviM0RcE4WTAjJhYeCotrqHBJ+lrLhRufAmGg2tG7gGEpWeHbLOKbC6Y7MfkWx1NShP0gvSUyS0dP7ioeFUJcjy3a2JfWcyBje0pJ50cA6vmTIOTDnAoF/3oVLR4mjRxvgJ9JOigNIgjmTRDC7rAQrEIMBrrBAmXkkpqOxbfiJgGP4n4eREj/LSjQrWcs8RhsGRcGa8xQC8IVoj8ZDJiQvJuWK8EIENUnh0gTwCm+4hryjd8YbZRVs3A2rb8U0O4BNaR11Ju2vUBTZhQAr91fhv/xGO3wMJscghLq+z3VcD0JRETqQe6yWlvXDt+j+Jnn5Zd4hjkDGU2ofgdqchneAozX5Ofxmqrw/M4L6DbtLL X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR13MB3004.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(346002)(136003)(366004)(396003)(39840400004)(66476007)(66556008)(26005)(8676002)(6666004)(107886003)(66946007)(6506007)(6916009)(44832011)(2906002)(316002)(4326008)(38350700002)(186003)(508600001)(5660300002)(6486002)(6512007)(1076003)(8936002)(2616005)(36756003)(52116002)(83380400001)(86362001)(38100700002)(41300700001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VnQxTEl3UFZFVGNFSkg4eWh2NzlBN2htL1c1ZkZmTGovY2UyZ0xEay9nZHJB?= =?utf-8?B?RzBVRXh3MTRGUVlmNlJtSHQwTDd4RTN5V21oMVJLZFV6YXhPVEo2UDJqaU4z?= =?utf-8?B?Y2JXVm5kZldFVlNwZkJ6RUcvczM0MkZabnV6cko1QWVwd2l4M0VKQlJOSW5V?= =?utf-8?B?MHdMMkZlWHdueDFnVG5PdStMNE1GcElRdWJoUDdzaVVQZExEQWtCakVmSzIw?= =?utf-8?B?dmFZSkxzQWh3cGhDTmIzZVJhRGtneXV0ZlFVRWU3VUdBU3M4WHE1RmFBY3lC?= =?utf-8?B?SjZvZ1hSOTNPRTlnYUl5UzB6ME5lTFgzNmgwZUU0Qy9zck5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?B?RkRBWWY3Zzdwb2dlY2dkZExZYjJVTTEycHRjTWtmeGFGRURkSXhTV29UNitu?= =?utf-8?B?WXZEUFNYdzc5Zy9IWW5Gb3JpQVIzMXE4OUJicUxodmZ5c1hrMCsxQmg5RXln?= =?utf-8?B?OFVOOHVPQXVjSzJRNWlZZXp4OC9EZEtzSkdFcTh2dHROWmQxZ2hIOERKNTU1?= =?utf-8?B?MFRVRTM4YjdweXc2dE4rb0p4VW05Q1VPdklETlBJTWxCdWJla2lxQT09?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: acf4a1bd-088b-4462-c14e-08da5044aadb X-MS-Exchange-CrossTenant-AuthSource: DM6PR13MB3004.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2022 09:35:08.3685 (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: Re4Z9Hp7nDfExhZfGpwwRhOVM24KLl6rU5Q2Rrx7pilDtTUlpfibgxen+qlfjhxVg8NHKz2hUtWBPFR9uxm/xg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO3PR13MB5671 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 NFD is part of NFP firmware, and there only exist a NFD3 version before this patch series. This patch series mainly add the support of the new NFP3800 chip use firmware with NFD3/NFDk. * Changes since v1 - Added updated documentation for NFP to cover NFD. - Documented the addition of NFD in the release notes. - Added nfp_netvf_ethdev_ops_mount() to make code better. - Used capability instead of version to select RSS. - Adjusted nfp_net_txq struct,just keep one txbuf. * Changes since v2 - Squashed doc update commit to feature commit. - Adjusted doc comment postion and order. - Modified function definition Format. Jin Liu (13): net/nfp: change the coding style net/nfp: remove unnecessary forward function declaration net/nfp: remove pessimistic limit net/nfp: rename set MAC function net/nfp: rename function and struct net/nfp: support NFP3800 card net/nfp: support firmware with NFDk net/nfp: structure adjustment net/nfp: nfdk netdev option and queue function net/nfp: add queue stop and close helper function net/nfp: move macro from C file to head file net/nfp: nfdk packet xmit function net/nfp: modify RSS logic doc/guides/nics/nfp.rst | 10 +- doc/guides/rel_notes/release_22_07.rst | 5 + drivers/net/nfp/nfp_common.c | 64 +++- drivers/net/nfp/nfp_common.h | 52 ++- drivers/net/nfp/nfp_ctrl.h | 3 + drivers/net/nfp/nfp_ethdev.c | 315 +++++++++-------- drivers/net/nfp/nfp_ethdev_vf.c | 153 +++++---- drivers/net/nfp/nfp_rxtx.c | 451 +++++++++++++++++++++++-- drivers/net/nfp/nfp_rxtx.h | 72 +++- drivers/net/nfp/nfpcore/nfp_cpp.h | 2 +- drivers/net/nfp/nfpcore/nfp_nsp_eth.c | 20 +- drivers/net/nfp/nfpcore/nfp_rtsym.c | 19 -- drivers/net/nfp/nfpcore/nfp_rtsym.h | 19 ++ 13 files changed, 896 insertions(+), 289 deletions(-) -- 2.27.0