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 CD7D34588C; Tue, 3 Sep 2024 03:42:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F2DB402B8; Tue, 3 Sep 2024 03:42:12 +0200 (CEST) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2129.outbound.protection.outlook.com [40.107.100.129]) by mails.dpdk.org (Postfix) with ESMTP id 66FB240275 for ; Tue, 3 Sep 2024 03:42:10 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=n2wB0qek/3Gn0vAOT7Ypi2fiKCgaEUpDZ+V5dCp7alzb6VK0xnyU6eHQCutbmX59WCrXF14GNZGgjm+GG56BD7r4Ur3HYMxlb9TiBu3ccP9MB3DPBVg1jmJNFOvdn3TnEhUpZ57twKsG4aZpwJEXEsJTqa26AP/0jxVy3B98uEHXeoF0Umca4CNOYEC/Es3kjk0yIZ9hQlEa4uL57hHi8vMTmgbV1Kkh7WZuVuwT0sqfjgVcgnUQ8cv4w70X/3TA+KA5ps9U2ncMQgaoyGAx6XzCdkAoMkUCvzdVBLy8CKPf0akcXALhQPTDuaiInnAzBSyhUahqmQN6FQbdgd8dww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=FRAItDUMrd2kkBXghChbBw+IP7cRZ/nuzG35dCxHmno=; b=YvlrOdwd0dfLoGM2DzN9k/De0Ivf0DGMCap1AvahJUdrjXD1JR9szrJZT3KPcNj1LgibFBl4yXoBh3iKh8BCwbRjff1qytpiuWEz2oy3aX2t+9/IcE9m2ZfF1l407nfXzR01Glivzn/Y7nE+DN7y8nSgkvCo8VebLE/NiLmxSepedGTaqai1YXexDQ2r7D1sMRX8uAu3XQyRPN9VaniY8srd2HoeF6xrSrOtTYc63Ktam3Ypdagticy/sdQaR+b+3Cm6tXU3++YervJTZ5FA0ug2DhICEQotxkG2RvX5mt3Qoq+zcBRqcKYRZJp9pmNEqtjfalqNvH2A69rfQHvDXw== 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=FRAItDUMrd2kkBXghChbBw+IP7cRZ/nuzG35dCxHmno=; b=psz9+K1Q8GG6Do/aXNrtbEu29WGglGTHW7F2iPQn8AbB1W8QY9tVP2Ll//JqFW64l2s+34N2VBUBbU8Z3weLIUBMT+43LdA3ZpazD4k3KICPTPpj+fgDdKkcQxhi2SLbv+Rcl5hjnxyCxll+B5uf2UPu6JUwAeH8Ke+dzW3TiQc= 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 DM8PR13MB5093.namprd13.prod.outlook.com (2603:10b6:8:20::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Tue, 3 Sep 2024 01:42:07 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::b900:5f05:766f:833%4]) with mapi id 15.20.7918.020; Tue, 3 Sep 2024 01:42:06 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH 0/4] Support new card using NFP 3800 chip Date: Tue, 3 Sep 2024 09:41:41 +0800 Message-Id: <20240903014145.2635710-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR05CA0176.namprd05.prod.outlook.com (2603:10b6:a03:339::31) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|DM8PR13MB5093:EE_ X-MS-Office365-Filtering-Correlation-Id: 0bfc0bb1-a559-4219-2233-08dccbb99e38 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|1800799024|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?Tx6uh3Nn50UiQru7+GiXKovyFL3gAlIalz8HkYi3W+BletTtX0vCxdZwdlH5?= =?us-ascii?Q?uvmaybEZem33zZF2dLTQlzduV1zIIEYlmsMbRZoju2sAVGhEo2mbOhWlWn21?= =?us-ascii?Q?bB6BDmhiBeXJ6SChimDOt/S2l/UMxRIwrVyknnqTqHJy5EGowIWbsyks6sim?= =?us-ascii?Q?U7QuF2hkrb7WAkI5rYllVGOZWkDkjgNtFmdAjcyCcySd7qPy6/X0dqqMlprc?= =?us-ascii?Q?wOpisyUKZNvb47j7TKPOghBfx65Q3twe17/VtzKViKUxnl5pJMWuEzy275Id?= =?us-ascii?Q?Q90XVAFpZE5sAvJeF6PXo6cYZLFO+1DTaK41gby+ZIlqYZfB5QAKgIkcwUA/?= =?us-ascii?Q?F82oFoIanY/VwFq3VkQcIt/kJUm+OaVMOi7IVIP1U1bmuD8k0qZc/w6IcWhu?= =?us-ascii?Q?xCWzNw28bEZ1MszCft49ggC8iBnDzlqQYDevqzeOGwasOyin7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FjrZr6O/nCWzEt/Vkhwt6mFXw7GhSCBuzu0Xm?= =?us-ascii?Q?RsZbtTPkNIMMS4BxsNv8W2eeqfNPPKiipU01kVkVRqSnVXuUHQ=3D=3D?= 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:(13230040)(366016)(1800799024)(52116014)(376014)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?mCnhY1TpI82Z3SH7zwXbPVCJTLhREpmi7cykdS4b/EjxKI2FmSr1XTsp3B7Q?= =?us-ascii?Q?VXSnJStga/YogXxHylwDm9/DRSd/meUm9+d9y7J++RKk+/UtAeR3pgfr86qh?= =?us-ascii?Q?+N3Dhpf44SpzZ6dFJV9vgA/e6ROpJOUA1Xae6Zdp+hRqFNRQmGSfkJT39zPG?= =?us-ascii?Q?UUbmgE957GbiP0QIAyH/6LfClNHvqbzwrcz/92nM7Urm70H7ReAROxzXNhZU?= =?us-ascii?Q?KG4i70iYtymWHy/58EQdxpH+oW8NiENmiSJ24LtWgUSpiYaEANG8JT29tfOI?= =?us-ascii?Q?LJJKdlZdRzPZbWCfQ1cviOoh0qu60QGUGwgR0FiV7AkpIT9QkkhAlXzwt6KO?= =?us-ascii?Q?Jk7+5CvtYSNLSLgJKqp1aKxMskPzfvS6gFGcv3VBtghemxTwUR2JEB2wz7k0?= =?us-ascii?Q?9ji2T6u/LlYuWyuOa8GAh5ca7+BPqh7QKpasgkBuzJ42nJEZYyebQ7uqukIg?= =?us-ascii?Q?qc72Lst6F/xDm3XtujchNY6Q7rTDUnYv6ozLq7EzWIs5L2BKsP8rNx5kIi0O?= =?us-ascii?Q?DvHMHY3kABI/6+w2ufelfVs5DelexJ5U4njGspbtd7bqW+BKgAwu+IXOqAVG?= =?us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N9MduIp0Qq7oQciyWP?= =?us-ascii?Q?66QGX7dCi/uLDysJVfMNtTIQHBhVEN+uIMAzcIcAy2FCOFEw3SU13Lac1JCI?= =?us-ascii?Q?bJCyj5axEtBBFNatB5FMwKVbYz9Qv8KuoGTSerDPykag18UQYBG50onhKb3s?= =?us-ascii?Q?1w=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0bfc0bb1-a559-4219-2233-08dccbb99e38 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2024 01:42:06.6708 (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: ZIiSzAANUTmzTtq6pdcx/UehAYkDH6owRY7ts8nsIWFtq9xQ1bj3+n8fAxHcm05jk/dMz2vqb1l7qZc5yJLbzJTHfqbo3+87ns126o2I/fs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR13MB5093 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 add support of a new card which using the NFP 3800 chip. Because it has different configure BAR size and flow steering rules limit, we also do some refactor to the related logic. Chaoyong He (4): net/nfp: add a new flag to indicate PF net/nfp: refactor the firmware version logic net/nfp: support different configuration BAR size net/nfp: support different flow steering rules limit drivers/common/nfp/nfp_common_ctrl.h | 13 +++- drivers/net/nfp/flower/nfp_flower.c | 34 +++++---- drivers/net/nfp/flower/nfp_flower_ctrl.c | 8 +-- drivers/net/nfp/flower/nfp_flower_ctrl.h | 2 +- drivers/net/nfp/nfd3/nfp_nfd3_dp.c | 2 +- drivers/net/nfp/nfdk/nfp_nfdk_dp.c | 2 +- drivers/net/nfp/nfp_ethdev.c | 55 +++++++++------ drivers/net/nfp/nfp_ethdev_vf.c | 33 +++++++-- drivers/net/nfp/nfp_net_common.c | 87 +++++++++++++++++------- drivers/net/nfp/nfp_net_common.h | 25 ++++--- drivers/net/nfp/nfp_net_ctrl.c | 4 +- drivers/net/nfp/nfp_net_flow.c | 51 ++++++++++++-- drivers/net/nfp/nfp_net_meta.c | 5 +- drivers/net/nfp/nfp_net_meta.h | 5 +- drivers/net/nfp/nfp_rxtx.c | 10 +-- 15 files changed, 231 insertions(+), 105 deletions(-) -- 2.39.1