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 CA5C8A0032; Sat, 22 Oct 2022 10:24:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6CE9E400D6; Sat, 22 Oct 2022 10:24:55 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2120.outbound.protection.outlook.com [40.107.220.120]) by mails.dpdk.org (Postfix) with ESMTP id 16A5140042 for ; Sat, 22 Oct 2022 10:24:51 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SOh5lg4Hl7F9iSgtctoa/tgD2mFuu4VQZWFnYdvrJoqht1HGmna2CVEW2m5irl1RD/DkdSwo/DaR/yIuPqmgBxG/v0wRt2BwZpQsM1FkixQl/Miqm5U2o/g8z97d0nXJLuBLhpkrZpKzD1IMKKC1ZwaSJZ1OEcLxfBTvFwVnwwEwd6kPiSfsPq7jpy5mu1iBc+CDkkLmLL7xsXWc2o1q2iFyDrgaKfR+XqICXcR3W5o6SCRcTPd6RfMcr3RGH0K8Lx0j1aJE5UvJ9pJLy3PLYj3m7wPzzaHzRVBeF7nnC8a+JfvdT8HyakFeqQ1wBLrv1e2IdRJw0BoGtNL/NAsmzw== 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=pTKX0NgblRtEDtxDQxx+ofmUG1H/T3tDa9b5Ag4Iyzo=; b=h0PyaQIU5/KTp81p7kUW8Mm3AIIf7oTIP8260+yTN1vlYWGfZBPkE+ErjbVSYP8dELczNGkNo5TzjgMV90RGWXaPGXLs8qyQArFVB0DZE9L8tBuJtDhVmpyffQuscjYLGhkvFpGUzpFCLV9pXC6Je0yn1z6BMZh/hUKWdt0NlU8N1awrE6RQaKLxgyiA0H16mvUtsDHccuQ8Prm5HjUnVHgLI0nFZp6SvXNH865CvX32cYmIs11AF4lGg0txEhYmdGeKtBIM9rriWotAkhn4ru10IkfQZ6O/BAAjJUnHuTbfZKu+7692xxNAvjVH8aD7Fu9hQBjUr0lpUKMCmfbf6A== 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=pTKX0NgblRtEDtxDQxx+ofmUG1H/T3tDa9b5Ag4Iyzo=; b=v1Oi5JMeJJRB9KUWgKtKDXSe1IU7Aja/qRpydrlexOOs0lZ4EBFPSnrjROdvUX3XAIQ1RXA1WR5Vyh4Yya5GzkZ9JDcYKoqEkT+PpBVhzOXs6tCp/8bLvkDkxGMSEZOl0FxhyLEmpwgC4VXmD42yeI1Ap8JS9REOoho2nlDA6sk= 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 CO3PR13MB5702.namprd13.prod.outlook.com (2603:10b6:303:17d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.17; Sat, 22 Oct 2022 08:24:46 +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; Sat, 22 Oct 2022 08:24:46 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH v2 00/25] add the extend rte_flow offload support of nfp PMD Date: Sat, 22 Oct 2022 16:24:04 +0800 Message-Id: <1666427069-10553-1-git-send-email-chaoyong.he@corigine.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1666063359-34283-1-git-send-email-chaoyong.he@corigine.com> References: <1666063359-34283-1-git-send-email-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2PR02CA0056.apcprd02.prod.outlook.com (2603:1096:4:54::20) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|CO3PR13MB5702:EE_ X-MS-Office365-Filtering-Correlation-Id: 46123dc9-b508-4e23-9742-08dab406e098 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lf0+DSPL9jUeN4x/24V8nzOcnVpyHud2wbknKcmGYPKSHMHnadgMCxywDa3k3z0M5fLUrfO5FDKpCI+wbVhDUM4xK64wTBqXkkhQ1FwMihy8nmRflH9uRPCeChZVRh+TVKkDyA4XnFyhUQTwBWAfTzfLBSqL79kNRcKR6Sgq+Z2TrdN6PYxyQZwoq3xzFQhc2swUBtcuiJeGLFlG3ruIySZa+F6KfQ7l57aAdYvpuqO90UYDy9NSfCoagNW77be0jrfEaUEPCXQse9F+5sYnedRMaqszbhYNKH7aY9g7Q+vd58NyvWw9bAU6T573hBT0ugyzIv6nK0dP0Dp9/1fLsLF2kbSXzQFNzwkBLPWfsq53cCh+nwsCEQVqjNc3AmeF67IF4g+q7AQjTcHXdVYJV67Ahrm5c7QTGenRf6s7fFQ+SqvHuySu0aen6j+qEyCbhZbY4aikv4rQVmfuMt4VLuIuyvL5X0DTC9v2YR8uWJ9oKehqDneYd50Sz+G+MntA4n+bVO+IQp1Nf8s/rgQ5OV+URbwNkuNqKcZ6+I78rxQUvrcLxSIkSt2gu2Kzaevx/ZOX/pWDyEUASk15fFJ9A7SSItCWAiaS3koZREuqH1zdsMpn6fbjbN3YTnwiED9ofhHpyk+MqsUag1LVpUkM3cL1O05w0V2wmBmO+y9p0q6xBWDkkgHWS/N/F+ttArNtjz41/864wJoIxYQ0ednB//qrOiKEkvViYxnVOCyeOZGbKoSZpNRvkIRpU+0t04o+KJOtIX8Kt6BrWv4rdz8hLx7Y34uIjvM2oBq45BfyeU7kKA0mm4AaC8ozQ8ynCEXG 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)(376002)(346002)(136003)(396003)(366004)(39840400004)(451199015)(38100700002)(41300700001)(86362001)(38350700002)(5660300002)(52116002)(44832011)(186003)(66556008)(36756003)(2906002)(6512007)(2616005)(6506007)(4326008)(26005)(66946007)(8676002)(107886003)(66476007)(8936002)(478600001)(83380400001)(6486002)(6666004)(6916009)(316002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?STFvRlR5RXhLS1prTlZ6OGZqZ1BNOG96SFVLREo0dXVsTy9ldUlxNDJld3FS?= =?utf-8?B?T3VCSE1NcUg2bm5LbFRZOVRLYnN4azRIMXlmZlpzTWJaL2ZySEtrR1U3UjQr?= =?utf-8?B?MmlVZ0JZWWlvR1NKRmtPcGxPczVmV3lTb1BNTlVaR1FOKzFSa3hCVG9lZHBN?= =?utf-8?B?SkFVcXNtdlZBeFpaSm5xN2JDS3YwckcyR0psYS9hdCsrdzhOL0lYVUJQcnYv?= =?utf-8?B?N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3ellrNEU4em1IMjZnSkRl?= =?utf-8?B?OVpzNFlrdytKTGd6TjAyR2x3MVd6bnl1RDdDWCtvYkdSZXBvT2pFVzdIS2FQ?= =?utf-8?B?b04zNDgreU5ESG9RYjRCYWVTeGwwSk14dDNUcXZFYzR1dnlQN1p4NVdUa0Yr?= =?utf-8?B?YUE9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 46123dc9-b508-4e23-9742-08dab406e098 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2022 08:24:46.0538 (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: +E4fL/Kxm2VgNE47BOWFij4ZaFpVxUPLdpr7+Fq1bqDO8lHJNx+XDqfnWrwi0SNUBdVojET/VylhrPqcnzNce7qTK45zT4kteUV+719rnrM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO3PR13MB5702 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 v1 - Delete the modificaiton of release note. - Modify the commit title. - Rebase to the lastest logic. Chaoyong He (25): 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 tunnel solution doc/guides/nics/features/nfp.ini | 10 + 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_flow.c | 2003 +++++++++++++++++++++++++++++- drivers/net/nfp/nfp_flow.h | 56 + 7 files changed, 2675 insertions(+), 69 deletions(-) -- 1.8.3.1