Message ID | 20240903014145.2635710-1-chaoyong.he@corigine.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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 <dev@dpdk.org>; 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 <chaoyong.he@corigine.com> To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He <chaoyong.he@corigine.com> 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: Tx6uh3Nn50UiQru7+GiXKovyFL3gAlIalz8HkYi3W+BletTtX0vCxdZwdlH5uvmaybEZem33zZF2dLTQlzduV1zIIEYlmsMbRZoju2sAVGhEo2mbOhWlWn21bB6BDmhiBeXJ6SChimDOt/S2l/UMxRIwrVyknnqTqHJy5EGowIWbsyks6simU7QuF2hkrb7WAkI5rYllVGOZWkDkjgNtFmdAjcyCcySd7qPy6/X0dqqMlprcwOpisyUKZNvb47j7TKPOghBfx65Q3twe17/VtzKViKUxnl5pJMWuEzy275IdQ90XVAFpZE5sAvJeF6PXo6cYZLFO+1DTaK41gby+ZIlqYZfB5QAKgIkcwUA/F82oFoIanY/VwFq3VkQcIt/kJUm+OaVMOi7IVIP1U1bmuD8k0qZc/w6IcWhuxCWzNw28bEZ1MszCft49ggC8i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.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: mCnhY1TpI82Z3SH7zwXbPVCJTLhREpmi7cykdS4b/EjxKI2FmSr1XTsp3B7QVXSnJStga/YogXxHylwDm9/DRSd/meUm9+d9y7J++RKk+/UtAeR3pgfr86qh+N3Dhpf44SpzZ6dFJV9vgA/e6ROpJOUA1Xae6Zdp+hRqFNRQmGSfkJT39zPGUUbmgE957GbiP0QIAyH/6LfClNHvqbzwrcz/92nM7Urm70H7ReAROxzXNhZUKG4i70iYtymWHy/58EQdxpH+oW8NiENmiSJ24LtWgUSpiYaEANG8JT29tfOILJJKdlZdRzPZbWCfQ1cviOoh0qu60QGUGwgR0FiV7AkpIT9QkkhAlXzwt6KOJk7+5CvtYSNLSLgJKqp1aKxMskPzfvS6gFGcv3VBtghemxTwUR2JEB2wz7k09ji2T6u/LlYuWyuOa8GAh5ca7+BPqh7QKpasgkBuzJ42nJEZYyebQ7uqukIgqc72Lst6F/xDm3XtujchNY6Q7rTDUnYv6ozLq7EzWIs5L2BKsP8rNx5kIi0ODvHMHY3kABI/6+w2ufelfVs5DelexJ5U4njGspbtd7bqW+BKgAwu+IXOqAVGxQCv9nDSvDPvUqLHkei4OOrIKJV5L4DLZ9zMWmj9hdWZtfhfylFiLSnm7C/gbq8Et4s72mNuslIP1ZULJhxsABkfXMQSofpYAoR/2EvobE3vEwFTXxphCO6i+oYtNHV1tEtU6nWnsUdfwarcuNQk8L5gW60xIT9BJQnHpMdW/O3dkm2l+Ex/zPNxGeOWb7bIgoNk36oe40qeBkAsG8pHtkaerN1n2a768gOS5mvqFfp08dfwuKB/w6cqjhGrFbfHakACDQAPJ35w1NeRlaq+W5ZG2UZByeObaoGVyi1I0fDTUH2HxLAK739uDyMkkuFp3q2rlD+9jHD5PifggzbzKn2kL8JT5Bjvrd/6XHfK+Ocu6FFQCDmjUE8V4010Ot1240D5F2JHmNMJEVsWouMYJj03GpvSYmyFTe2NMGXeFp7OSC0wO7USHIMStmoheLAK7QKHDMOWwFmoYBCJVs9AcyUYOhnlTjQdOC7j+L3IAh0GVqE3iSUfv+3ketMi2NSmY5NV+RQPtWe7gH6XDhKnX4seqGmnZ5x/MWk1vDA29OZXZfMsHQM0fVPTq77+E4WJYLa5mZKfdLFDud4jwcX28mdVf3uGoONObmKnQ1fGQmkiilSxPQZc3ZxZNrrEmD8C2qa15DZiKb5/v6xQ516qO4+DhRVNWOBx21axwVpztOeBQ23U4AnTLxhRCy+J9MWJ85StfJMCtjOemZMGgz3sBCTggzoaXBpluGqsFII9M3XZaTs5PySvg6emJeXSSpIuWnvyoPt/9c2Ne/6XALwcuIv21goe7ES7IgmkbZ7FP0MzMVRK0NCJXsHv/4zxOPo0pYjaA7IgJhatuBjAd2/dyHo+g6p4bSxGeE8aVLGdTErKZeTzYgN9MduIp0Qq7oQciyWP66QGX7dCi/uLDysJVfMNtTIQHBhVEN+uIMAzcIcAy2FCOFEw3SU13Lac1JCIbJCyj5axEtBBFNatB5FMwKVbYz9Qv8KuoGTSerDPykag18UQYBG50onhKb3s1w== 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series | Support new card using NFP 3800 chip | |
Message
Chaoyong He
Sept. 3, 2024, 1:41 a.m. UTC
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(-)
Comments
On 9/3/2024 2:41 AM, Chaoyong He wrote: > 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 > Series applied to dpdk-next-net/main, thanks.