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 4C31FA0543; Tue, 25 Oct 2022 09:59:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E79F440A89; Tue, 25 Oct 2022 09:59:51 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2096.outbound.protection.outlook.com [40.107.220.96]) by mails.dpdk.org (Postfix) with ESMTP id C2853400D6 for ; Tue, 25 Oct 2022 09:59:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DKo+01Ut/Db7SMPBYTvqDiegCAuJnsKcQ3gs5YKkQyYxidD8OVYpxz5obTzkXw+1Ou2h5utZE22abnIHA/Ss8EZxIhRlUCUhKpg1qDarWkviqjKNKO+IbLgF84gW4s14Pq/zodRCfZwfQFGN57AvgQN1zpD8VN6m2MuAEas5iR966YcN1a81fN2l9CZKRbFncQqO6lYTARY3jpTgk8c5IDou1Ngep5W/kgQgOD0jd0ReAGoU5KFcx0D2iYYE8qfto/sFJh/T+g3yye95XO0APGWCF7NsQ3KMrnO/YWqjf8ed8x80qWCkpwqvrJKU7/JTg/I7TNCEOhwvfVp5J/Fvhg== 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=/3wMNlUPDx7T1ZdRn3qz25uoF2v1w2Q87l5+pN8tOsg=; b=RB2oBDQbCg1LNw30pW3XDNCIVDb1DsLMUERIA0rS58+jxV9i3BySUWFojkMn5F10NgYSvSKrMSBPRl9ZVfKDYpIlzav8k4tEk5WLDOBuhYO15vvPF8e/qIw0J4GBN1yMl5PljvxZq7VMLdkXRjyRQEQwS01+94MgnhCcJ5x1b8A6qKhRn8/R+KGwPKF4qZg38mjBbbLwQ2hvhUMpzkj75dwAKoZbWDDHp7YDCcNLouB+7wQLUrQwonoLf78A7y4THihp0+AVwSl5/91WLCdx4vARdiHgizRKEmKLD05zAV29MIiLkgeoqqQoVH806m4txrHSfqyxDaRq/JROVgyo4w== 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=/3wMNlUPDx7T1ZdRn3qz25uoF2v1w2Q87l5+pN8tOsg=; b=qIveYq32VXmtrc8PY2rvr1KLS+5jmafNg192AxKr1oKKAie6WWArXiq5hcgu7/HPiLacRTcKiWP/Ly1tRDU4j5+TDId4Nv/VMDgy/6bz5aMnhkR81YPLh4MJkls01iTtX0MR7/fdQF1wI7cXaC4O3sQY+LYwu57/xDd+yHvgst4= 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 MW5PR13MB5439.namprd13.prod.outlook.com (2603:10b6:303:196::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.20; Tue, 25 Oct 2022 07:59:47 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7c26:1a0b:2825:6f4b]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7c26:1a0b:2825:6f4b%4]) with mapi id 15.20.5723.014; Tue, 25 Oct 2022 07:59:46 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH v3 00/26] add the extend rte_flow offload support of nfp PMD Date: Tue, 25 Oct 2022 15:58:52 +0800 Message-Id: <20221025075918.7778-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.29.3 In-Reply-To: <1666427069-10553-1-git-send-email-chaoyong.he@corigine.com> References: <1666427069-10553-1-git-send-email-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2PR01CA0142.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::22) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|MW5PR13MB5439:EE_ X-MS-Office365-Filtering-Correlation-Id: c09d29b2-a1ac-4e14-e8f2-08dab65ee237 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mq+3N7jd60Ua7803YOOigQnrdJPOG81uWtGjeF/vgDzuRQJaZ1L53q7w9pGz6nJRNVxWfp6lSf+kxZo1RHPDrtvEYYPae4PeCezsT2qgUuJ/bj4eVofYixolWU0pLf2Z8+Au7/FiW7Tk7TPNFuGbedaG5RP2+rcoArbotgj6FwubcAw7L8bcK54OwqYhwTwwzgzeJYpixSo9plohgwXVYaVo8lhUXgSgZ6OkYWnk8HbYatEkuJRy45pOFiczDtfcvI/W356HJw5I2M+2Xhm8p4BV7Cj2A6zeI6Sg//tGapbfBgtVaGXFW40wNA059CI/vLpMiaq+Ht8FOFqtUCqxXWfGh0PaI8lNRwVgPP6unfuNTq7EXmHWXRl5bAccvmm6c6RMYo2dVMPoaVJgs3aGPANsjv7AYinpgKO4Ymps9V/xwg/gb6tDz7q3TAi5eByuoIbvVrVjYHW7NZHUZmNi7KtjqnUqShSYh20Dp+16ceHzXljvl8ssHMqa1pWA4QmrRk5Bpo1gt/ZkPfEl71qDuPMU5MMhifJgd+MRfAQkaRoHxO/Us7JROdrP3a6ey0hTHxxAy2KN2LNdEbCVm+NpcWthic0jlUBofzXzWd2RFDn6PFAfBBRh7MAiofJdfvY6ee9esQdHZtqlQ6ILebJ+S2Luo+d7SzkEi+93bOUw5Pk66SQ2tCckUJYi9MhowSWrGrf+EhPSA7YTPwy92r3pcGeZVlGM33h4HNxyuGs/Yo/Vc3NLn+oh+F2FFh1hzIXs 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:(13230022)(4636009)(39850400004)(366004)(396003)(346002)(376002)(136003)(451199015)(83380400001)(6506007)(478600001)(316002)(38100700002)(52116002)(38350700002)(2906002)(41300700001)(5660300002)(6486002)(44832011)(66946007)(66476007)(4326008)(66556008)(8676002)(6916009)(1076003)(8936002)(6512007)(86362001)(2616005)(26005)(107886003)(6666004)(36756003)(186003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZllYcjBxaksraWpsWlk1VVphS014R0tWRDlleXVSZ3BWczBXYUE5NlpIc1RV?= =?utf-8?B?TmozVkk2cFBiUDBzc3ZHaEYyWDZ0UmVJM2lkcTZtYjJGemhYUFdIc05rUE5H?= =?utf-8?B?eG9xUlBCcjAxeUNqcDB1aGp5N2ZpN1FmRGdPK3M1b0JSSkN6ZkwzeDAxWktJ?= =?utf-8?B?RDdVZkg3L09BTmhDVHFtVWFkSXNqbGNrbk9PcjZ2VHVWaGxWa3h3NXRIdm9W?= =?utf-8?B?TGplYnZhWi9iWU5IWGpDajY4dkduRzlybW5zYStsWHZiMUQ2M2lXNENwZUFL?= =?utf-8?B?am02UlJ4VDdicGg0UXowU2NDVDQ0SFN3Y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ckkwMHVyZjZOdmVNYXNNd0pPTUhQ?= =?utf-8?B?d2M4aEpyS3Z5bVVXc1YyYnJqTkNwNTUvK0hZSVRaMmlNY1Zyd1RzdEhiZVFw?= =?utf-8?B?U2c9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: c09d29b2-a1ac-4e14-e8f2-08dab65ee237 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 07:59:46.6510 (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: 01y6KHDH/ifHnVEtD71uzlDeGXwDqN6oLZNDxEHzw5HuwPS9IemfUQ53F9FVOedwZi8VSDSx2xjaYMozQJbNCDeGmh/q1Pt9LqfbrQLO+6w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR13MB5439 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 is the third patch series to add the support of rte_flow offload for nfp PMD, includes: Add the offload support of decap/encap of VXLAN Add the offload support of decap/encap of GENEVE Add the offload support of decap/encap of NVGRE Changes since v2 - Fix the inconsistency in 'nfp.ini' file. - Modify the commit message about the new solution of tunnel decap action. - Add a commit which fix the CPP bridge service stuck the DPDK app. Changes since v1 - Delete the modificaiton of release note. - Modify the commit title. - Rebase to the lastest logic. Chaoyong He (26): net/nfp: fix the app stuck by CPP bridge service net/nfp: support IPv4 VXLAN flow item net/nfp: support IPv6 VXLAN flow item net/nfp: prepare for IPv4 tunnel encap flow action net/nfp: prepare for IPv6 tunnel encap flow action net/nfp: support IPv4 VXLAN encap flow action net/nfp: support IPv6 VXLAN encap flow action net/nfp: prepare for IPv4 UDP tunnel decap flow action net/nfp: prepare for IPv6 UDP tunnel decap flow action net/nfp: support IPv4 VXLAN decap flow action net/nfp: support IPv6 VXLAN decap flow action net/nfp: support IPv4 GENEVE encap flow action net/nfp: support IPv6 GENEVE encap flow action net/nfp: support IPv4 GENEVE flow item net/nfp: support IPv6 GENEVE flow item net/nfp: support IPv4 GENEVE decap flow action net/nfp: support IPv6 GENEVE decap flow action net/nfp: support IPv4 NVGRE encap flow action net/nfp: support IPv6 NVGRE encap flow action net/nfp: prepare for IPv4 GRE tunnel decap flow action net/nfp: prepare for IPv6 GRE tunnel decap flow action net/nfp: support IPv4 NVGRE flow item net/nfp: support IPv6 NVGRE flow item net/nfp: support IPv4 NVGRE decap flow action net/nfp: support IPv6 NVGRE decap flow action net/nfp: support new solution for tunnel decap action doc/guides/nics/features/nfp.ini | 9 + drivers/net/nfp/flower/nfp_flower.c | 14 + drivers/net/nfp/flower/nfp_flower.h | 24 + drivers/net/nfp/flower/nfp_flower_cmsg.c | 222 +++ drivers/net/nfp/flower/nfp_flower_cmsg.h | 415 +++++ drivers/net/nfp/nfp_cpp_bridge.c | 6 + drivers/net/nfp/nfp_flow.c | 2003 +++++++++++++++++++++- drivers/net/nfp/nfp_flow.h | 56 + 8 files changed, 2680 insertions(+), 69 deletions(-) -- 2.29.3