From patchwork Sat Feb 10 10:42:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaoyong He X-Patchwork-Id: 632 Return-Path: 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 5DEDF43AE5; Sat, 10 Feb 2024 11:42:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D77F5402CF; Sat, 10 Feb 2024 11:42:40 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2132.outbound.protection.outlook.com [40.107.223.132]) by mails.dpdk.org (Postfix) with ESMTP id 179D0400D6 for ; Sat, 10 Feb 2024 11:42:38 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eTJjGGzUl3U5n5kjMCQXKzRxGQlMPIORJjhS3AsFyTnwt2vPe8bQUpBl1GtxwVC9iHMF8kuoW0E+kNVtom6cwkSaL4x3rf8IE8gb/oz8+eh3NT09AI9yFDkGzqvYchKilQmA5S5uRnlnwI2090VwpJVzeQTc019wvAd4g/kggjbCY9H0t9hp3gqo01z4MvIKePZzHuatcXRPTg/xi5gPuJU2FTYvLz87iFxmwHLwjyVXAGnere3OvdUH8M69Q25r6BlJbObgRL88BCBP2PR7Egr7GDQOzV1vix8q681HDVJMsYb7gB8TuZfTHOccznSpY9d6x+6FuSnOJ4bIoJwztA== 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=lJOeyt+6qe1o+RFR94vx2roGqw3YayoK28LTW5yQE10=; b=KLmXxKsECabiP4iBh5v9zsi+bdKs1/leBKRB7VxbCXKV9BS/GNT5wnUG7dEGklCPoHPyWg1cRYCYithjOM6JkT4irzG33G/etHVJ97xNfP/rqeiogm1lTy5kjO3BrE9gIfWmDrP0+lGZRoEVp7wa8nqhLO7H2EEYngtf9rYMS3QYRXlzJsjvJMcopJp7YEaVLEq1W+l4QdiBehQ0v3ejUHGsC4cu96uKNl41eVnKcgqfwWhmkyyFPybM7fqLOEU+/oIRnM7fEWMn9R+aVX/aKNJ4Lq4rgPAyCGIOgqclLuFsH36naTT9OWxKxHXUuc24RLNcpDdTkHY/ar6pWIpFMw== 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=lJOeyt+6qe1o+RFR94vx2roGqw3YayoK28LTW5yQE10=; b=AOhIVMi7qyz+MECvr3kmvl/sGPvgFwOxhdykpqaZrL5la7MH7NAG4p27p+9FmwUhLHXl3+uRpxIL7Fr/t6Io9yiIhsbmfjzfHNcs4gMmvR5Y2A+c9vy585yYidt8yaP7tjI8nEjxdN3NpGrVzs7+5KqmZIWfvpr9x3n4UszVk5E= 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 PH0PR13MB5421.namprd13.prod.outlook.com (2603:10b6:510:142::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.24; Sat, 10 Feb 2024 10:42:35 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::8e02:f738:570a:f8aa]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::8e02:f738:570a:f8aa%7]) with mapi id 15.20.7270.031; Sat, 10 Feb 2024 10:42:35 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH 0/4] add support of partial offload Date: Sat, 10 Feb 2024 18:42:09 +0800 Message-Id: <20240210104214.1248772-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 X-ClientProxiedBy: SG2PR02CA0129.apcprd02.prod.outlook.com (2603:1096:4:188::19) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|PH0PR13MB5421:EE_ X-MS-Office365-Filtering-Correlation-Id: 5705ab3a-72d3-4956-b8d7-08dc2a24fe24 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OlmAZMW2E069R5J6X+yB+vKgytlK4cwejo0BpUWz+v4981jvlg6hpbUjhj8+Dw2gg2tumMg+QBrSJ98rrFMdFyNnGATfwVmRGYgUZ/9E2oKGFsBLAtX/8mHkk9Go9eeKzcz9CqrE1y+L4B2x9Q/2E0mxJYt0j+kB+kgbyxepmbY3sQ+I58TUgPQk3mTzVFAvMVSp8r1/3SsKJUQbgF81CO1QAxjpBroFafjv6KXbWV29Q18eL+D6EbLCro29pNduE+Oe3Byr+INxIVtGBPOhi+hcSjJ9zrUxmYsXQ6AY+kT5YS3C23bPikqSTVIIFz3lU2+FMVSH9wHuKdI6FH5pB7TzY7qVkdcL+nM6Is00kcKgIuCRQ6TtbVhmOLbeiJvksUJBx6Y/5/17EEKabV7GDaEsLS8Qi2R0zaW3+axo4CU+UzkibItw8+TQyS8xMkG/ueC+MHm0zW2xLVSAqci6fr0tKeugND4exgLvThMpN0lpAkMh/UCwVChq0io+/5O06eSNQGYDRqP3YrkoeHDEXUx5LRFtlLZi6xdYKjOs6KPaQttPyhFKCmZfdOjjqbj8u46vIk9q2bOGc59F5EpatSv9HjZB2Rd4LHVtzuTJSdMJfmze1WvvlUJKyixzBuvD 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:(13230031)(346002)(366004)(39830400003)(396003)(136003)(376002)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(38100700002)(66556008)(6666004)(52116002)(478600001)(316002)(86362001)(6512007)(6486002)(5660300002)(4744005)(6506007)(4326008)(66946007)(44832011)(66476007)(2906002)(6916009)(2616005)(8676002)(1076003)(107886003)(83380400001)(26005)(41300700001)(8936002)(36756003)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WDHkM2kZfyTaLNh0zWgOPlcZ1zYsf5CBadAxiIlVQ5VFbrxtsDayN1llCYf//1U7uLQpUq3lkFp3UQAw1966DkEAI0QdCbqLqEH2HSGIL74r+ysiEbVrOwvV6vqnHvLd0cznvZhr7QRUGDjzdnTNoGti+sALl8U1+YaIo/PxYfK+q9pGWcRlAhBOBIxHuOamdH5XOAzKvwwpQkRVDEyfkIqPOO82vxMAhCihGUoufbVaeRBWSW7tITWsgIgW5IkxmAe6iIqhurToJgBbD8Dam4oCR6/jEllRsD+yxmmytTrLpQEJUlW7zDOiByIz5mXPj3BSe1pkus79btcxB06w/j6a9GPQihhM1CjVeEOY8qFs8q1miwB5GImvPry79zmxwXRPelb2u+N2M36aQoDUcRsFPF5IQktFeorb3NbK+hlOtGbnS8yw3cu0pZJTD0hFh6sSad22+bmm0izYGinzVpSPFAXALg/1Nz8T398EnpmvOjHCJgXsi+jhbyr5HUwuCJviDrGAsxlIgZx5dnXGEcUwNlLxCJ5SgIFz3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orOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5705ab3a-72d3-4956-b8d7-08dc2a24fe24 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2024 10:42:35.4592 (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: Mo1ALoSM8IA1NxZ5IoMJEKQO/eIhtNnnXITefT67aWFc202NOm/DdcrL2fmBcbcr516iiHA4MXi3wg1RLqE7oRhL7kGAuw3DnHm1Hvwc71Q= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR13MB5421 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 aims to add support of partial offload for NFP PMD. Long Wu (4): net/nfp: support MARK flow action net/nfp: add interface to check representor net/nfp: representor adds RSS configuration net/nfp: support RSS flow action doc/guides/nics/features/nfp.ini | 1 + drivers/common/nfp/nfp_common_ctrl.h | 1 + drivers/net/nfp/flower/nfp_flower.c | 12 +- drivers/net/nfp/flower/nfp_flower_cmsg.h | 16 ++ drivers/net/nfp/flower/nfp_flower_flow.c | 153 +++++++++++++++++- drivers/net/nfp/flower/nfp_flower_flow.h | 8 + .../net/nfp/flower/nfp_flower_representor.c | 19 +++ .../net/nfp/flower/nfp_flower_representor.h | 1 + drivers/net/nfp/nfp_mtr.c | 2 +- drivers/net/nfp/nfp_net_common.c | 27 ++-- drivers/net/nfp/nfp_net_common.h | 10 ++ 11 files changed, 233 insertions(+), 17 deletions(-)