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 BD91CA0545; Thu, 23 Jun 2022 04:26:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6791D4069D; Thu, 23 Jun 2022 04:26:55 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2118.outbound.protection.outlook.com [40.107.93.118]) by mails.dpdk.org (Postfix) with ESMTP id A320B4069C for ; Thu, 23 Jun 2022 04:26:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SLRhW8WzvyUz6zJb2bEj+avi1g6wiEX0ThqotHEPA5+xiFoCvXGWA1T7AyK8PKa09v1OwF8ue5aysEgiS0q0RW8/RdcQZBWEvlCrFT4Oz19eMd6vugbqGO2BAdVKz6ij5I6KFeYVe4OngGVHS6Siua3dmvik0YPYCA8Mq+qvXyJ5kLfiy/tejxmW5Rtuh2aiR2rXJxKkaU3zDA4bA7VbZDHn4icpOPRm9+cply+L9Rz4wdVFCO63ine41PnOeB7gIeop4zUbxYwVGDtjKr6frj+Wt2bV8+ebMTqC+jrr6kIiOLaTYXoTvtK+5VW3cPe6k9gDrFRM0gejLyzKDT+ZDw== 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=W5g7AuQdWThYuqkEXKxly7V6v4tdfcMGqiKb5zWAiCw=; b=iSeIqnDaFcvDV+yKbkjm0IAXRsg2Xv62ohwNacaHh9P+MWhjgNslZkog1mLAcsSk94docFTrHw8G2uofPCicG6us1D/UwI/nGB1yp0Ug0MJDCSpgEC6ch2HakvZjFvwk6gIcBaJtuGPbZf/b466Ws+3Gb7deB2xzehSMsnYIPP9v0pz1y+gmxAu/RA9W2d/oNIdOWCenM2FIsG+JfALHckpFsD2VORg99bIONfdy+glkXwHdSBztuDi1RouzYhFkxUGL+4ygL6LlfchMj0e+EFppAzuv87/tzwYhLdy+/T0CJ0AogBSadNERDqxOGxa+t9CAVpx+A13KCKuo81SlAA== 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=W5g7AuQdWThYuqkEXKxly7V6v4tdfcMGqiKb5zWAiCw=; b=uo3bWiJb5cAKdUKNIshFaGzi+LLnypY33jb/uxbkyydcnl6R8Ul29bj5Dqs+lm7p/PCAlEoX5XG+J/b8l9NKUqTXgJvKHAOMcjOuR4SdLue9HFXnBD6Vp31RUAAia9kr5d4RcFToy5AqqMS6M2VlplExfw4UtIwrQYo1Vy+IMFc= 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 SN6PR13MB2272.namprd13.prod.outlook.com (2603:10b6:805:5e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.15; Thu, 23 Jun 2022 02:26:52 +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.015; Thu, 23 Jun 2022 02:26:51 +0000 From: Jin Liu To: dev@dpdk.org Cc: niklas.soderlund@corigine.com, Jin Liu Subject: [PATCH v4 00/13] Add support of NFP3800 chip and firmware with NFDk Date: Thu, 23 Jun 2022 04:26:02 +0200 Message-Id: <20220623022615.3628093-1-jin.liu@corigine.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220617093444.2004000-1-jin.liu@corigine.com> References: <20220617093444.2004000-1-jin.liu@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0222.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:33a::10) 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: b29a2e2f-f7c0-40ca-ff85-08da54bfd502 X-MS-TrafficTypeDiagnostic: SN6PR13MB2272: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: WRQZrRHbEU/cSraRQV9krLnkhYwHRUnPacR5lHMrIauKkjLxRCOkKHpB7SlplXv+lSepWWlcEbobiZuassCa+c54pCvgMM87IUxgm1wjS3l+P+yZHLxBijfDacLY4L5xHvfDWlHzBWCIj4OKSuCDJnvpyBqB5sC09NZHhJ4q68AMi+dGMKcnVcS5kvLna9RAWMquTPCw+OQl+1I/UJ283ld1nCP5/4AegdiGy6MXDwckQrJog0bVgYilWDNnZd7Jwmt0+zUR/3Qa0aoc/rn72qlW0M0UOhtHzzUX5sE9EjyR92S4OJvJRzaBLz6If8NcYvcnKELSHEEs5+sAf9ULEOmUmJS3orKWEF9rMJX87Vo2m+7+eg8Vj3ZSyLaDT+9pcWagtFBJhTmlJCQ6/jV0HKsE+ONNOQTJV9v/uDkV6kR0O8y9j5NHkWgZ4iBJa9/Rlk0JYA5p8RD+LlOalpIXlhPhICbmTOiroYOD3RWjzBFToClG+Zra1NDfBzTvGWZJXs/9AavgkqlhRLjytyCjrmeMFtiBBTf6bV5e2K+ZG/1IrSZo1nX23TqQ96EA4LtCJHVxVgegVMjqy33YvDiDKWM/MlB1UxXJXL3/CNH+YOXVlR8pR1y/gTcPF/gYJ6lQXdfbluyttjQQRWovfJxd+38vKT8lx3aKxROcfW4jgNJVVjtIVSJYBJn2u/u1VcJXfQy7H52xnqJ1OpZzgaTZ4yZvktvUSdfgzagjiEHdMXKbaVGCEPhGlvP1jtYHb4Wr 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)(396003)(136003)(39830400003)(346002)(366004)(376002)(1076003)(44832011)(6666004)(38100700002)(38350700002)(86362001)(83380400001)(186003)(52116002)(41300700001)(316002)(5660300002)(478600001)(2906002)(26005)(4326008)(66946007)(6486002)(6512007)(107886003)(36756003)(2616005)(6916009)(66476007)(66556008)(8936002)(8676002)(6506007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dVZSN1pvMGM5RThCVmt4d2VieEVHSCs1SVlkSHlWOFhUR0JlUzJQVGpESmd6?= =?utf-8?B?aTdNZ2c5M0ZWaUkvaFZQak03MEF3b0hLeUpTeUlJTUxRZGs0OFFxK3d5QzBx?= =?utf-8?B?UVdSZ3ZUUkNtTjF0NkZLWEx2KzJ4d0E4QzJoNjNqeUU5c3FJcjlmMjNWZ1dp?= =?utf-8?B?Q1NJU0g3V2JNR1hCeWhwTm4vYmFIRC9nWmhaakJ6M01JdDJHb08xZUkyZC9V?= =?utf-8?B?Zy96bkJBa0lDOEhBR2JGMUVYZ0l1Y0ZyS3ZsK1h5RXVFVWl4Q3RGWEEwaEhD?= =?utf-8?B?bEQ1S1V5dng4ZHQxSkl3Q1ZkRlJnUjZYd3ZjZnBGR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wk6IRfmD8wgRHBjqTfr?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: b29a2e2f-f7c0-40ca-ff85-08da54bfd502 X-MS-Exchange-CrossTenant-AuthSource: DM6PR13MB3004.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2022 02:26:51.8232 (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: xDhDIzx4jw9oCXATFNrDaRKueSLaG5pEg1FItHFCeCqP6QfzpRXARWBB4/OPgtu6gX3LCG0zkAuW1MGc0WIMeg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR13MB2272 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. * Changes since v3 - No longer use rte_panic. 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 | 453 +++++++++++++++++++++++-- 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, 898 insertions(+), 289 deletions(-) -- 2.27.0