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 8C1CD42661; Thu, 28 Sep 2023 14:45:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C61140273; Thu, 28 Sep 2023 14:45:51 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 0D0184021D for ; Thu, 28 Sep 2023 14:45:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695905149; x=1727441149; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=1QJ4D8X6QjPDqJWAhySVr5/36kB6r4umhFGP2fv0A9A=; b=K9vkHrxYPQIJdKO64TYu36SqKmM41qvleCH2Q2mYNiSE4vJO2Q+vUcNQ DnJrnjQiRZ4a4w58VJ+pq4XbqOkj2DmYcx7tEDyJxtJzM+myqVxoG6UP3 eXSbNqKdy2UBNsENGw2Uk6AQ945Jx2EH9rU0DTsQ9IDTwmbtoq4/up7Hr dX8TXx/j80hrkxbfH/74JNg1zNLxnjmqY6R611j8DKFfxwCfgLtnhwNtC dw6eTN9HSfsJkvaj7B041Ymvo3Gg6GK36vXMssp3vXRx/++5WwzXDMCxp gB4Xs5nY3IJHMbKVkEugOWKPgmuCKQPmgD7yfUS7QDEyT1H1AgcgxUyuW w==; X-IronPort-AV: E=McAfee;i="6600,9927,10846"; a="361419084" X-IronPort-AV: E=Sophos;i="6.03,184,1694761200"; d="scan'208";a="361419084" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2023 05:45:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10846"; a="893000292" X-IronPort-AV: E=Sophos;i="6.03,184,1694761200"; d="scan'208";a="893000292" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 28 Sep 2023 05:44:32 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Thu, 28 Sep 2023 05:45:42 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Thu, 28 Sep 2023 05:45:42 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.49) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Thu, 28 Sep 2023 05:45:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H6cdGSrGm5/sGA0gmIpj2UvdOMSEKEAG5qtVfz68ngkALWAuR9gYXzAhxt5ANZv5DEYBdu8OsA8VzqSivZ6NS735xvHy5wMDZMOcjQ2OTXtUyg6oLy6IVmD/I8L28vnTYJnkDXdXGTaRokSGOEIhRJO34k1fPOn0D8Lcjqw1L76x2zse3o8PWApDqMIVtZ14EQM5Zg3o83JmcdTU+92d15iQC5zyb2AvmW160pJ+uzk5sgkncvG4qNVKxTQr6o2rDWhlEN66Lt7hFCfQjHH+Jl6Zkd28NFo2xj1wmJnMrCJ0s3oH04mNCZ0sKnsoFmcYZaYkOzTUXgAnZqdP0utmNw== 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=7MOAVIYU7kluNu2RxfCedUDEaYkFqbSDsaESLYnoxqM=; b=NzIYstYq9bAhE/75X3kb4wCmhFlAWH7DeJeF4YfbJ5Ph4ed+qdw2+WU7ud5qUOZVcWmu5ahwt0ezIXS0igyAEMmpkcQ6KvN4qF+Qd24jYGYiNeVgMykmgBEK2AkShe3H5jJoh6mauISeg8XYXqu/4YESkVFgJ3jPbQE8LYbwfP6akbXbyzpH+bZY7fah3W/DFm/xOEbLVauugHBwQhAWYkBbFeMlTLZtyPtTAxcxaxEd69k6duWi7VHYIPIe+qQW06iSHcho41QJXhyEZ5dSGgcsH6Yj5YxyS69ddURQCuAFrPW2f9tyiefKXJCFKe/0v/cIpEpywnJCOviDla3BfQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by SJ0PR11MB5134.namprd11.prod.outlook.com (2603:10b6:a03:2de::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Thu, 28 Sep 2023 12:45:39 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::27ea:67e:2966:23e3]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::27ea:67e:2966:23e3%3]) with mapi id 15.20.6813.017; Thu, 28 Sep 2023 12:45:39 +0000 From: "Zhang, Qi Z" To: "Zhang, Yuying" , "dev@dpdk.org" , "Wu, Jingjing" , "Xing, Beilei" Subject: RE: [PATCH v9 0/9] add rte flow support for cpfl Thread-Topic: [PATCH v9 0/9] add rte flow support for cpfl Thread-Index: AQHZ8ege4JhqOdMmhkuUw3sl0a9PcLAwKtIQ Date: Thu, 28 Sep 2023 12:45:39 +0000 Message-ID: References: <20230927125416.2308974-1-yuying.zhang@intel.com> <20230928084458.2333663-1-yuying.zhang@intel.com> In-Reply-To: <20230928084458.2333663-1-yuying.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|SJ0PR11MB5134:EE_ x-ms-office365-filtering-correlation-id: 677ef8e2-6f43-413a-55c6-08dbc020d1e6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XGMS1VSdth3JW8UBdXnrS9D5bH37UeeM6xYA1GXiM1Rjc/F2fwe6znFEaQlV/GApN/ig0+2B2qeznxcU5WH0VVJCPkIBGpSm1RcSpiR5P+vHYtmf+HGIkYEomkUwYRVHsWYLMZzakwa1HtNNvvdUaTE1YOQS9VDEW7031OVM4/NLyrcVfgkpqDkfD6x0KhbxbyU51MTO2nzQsPchRXMzZVWBGcsK4W5zQtmNSMZJsSzJGCXOq5NyG+N/UVpkcoOAnYmsAxtVHkAGUVln0x7YO1wBQvjZWBkaPjAkZFTdbk2q28pGtdxeMFpow4tI7h8K46EuKLGAb1sMP2N6rDa9lcGg56qwPxk+z61BMjp2Ei6pMYoPQtyRqZT6c5cIT+4vs13rnzhd8fRVbSOQ2FC27B3D4dc27paVhDB1zl/lgUHUrWMFXdOoQFd7FHEdrc5WTE+oiBJLRI2EgZcWiozdY4HFFq7vvDGFlMoIdX92U76059Gs9MYyAK79bWOrCOvO0uoJZrQFq2A6YZBSvgeqhCBwjGAknu0WGcIBawZnqbVL4SlAtVkawgeN5Ibf3ytbWRBUgXbIQbaVoD33yb2aKbtu4lax5UKPVGJENKozAu0= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(39860400002)(396003)(376002)(366004)(230922051799003)(64100799003)(1800799009)(186009)(451199024)(6636002)(2906002)(41300700001)(66556008)(8676002)(8936002)(66946007)(66446008)(52536014)(110136005)(76116006)(5660300002)(966005)(66476007)(478600001)(71200400001)(9686003)(6506007)(53546011)(7696005)(26005)(83380400001)(316002)(64756008)(38100700002)(38070700005)(86362001)(82960400001)(122000001)(55016003)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wKetSlrZYkGpAIBXFJXamFxiSn8wDbLcYc4eFlla195eX6x+gOShNS3uWT9O?= =?us-ascii?Q?z1Soas5pKKySvKBUVP/il162alQB0UMCjACAGVqLVoIRR+++g4fBk21l2nTC?= =?us-ascii?Q?VRwwODjwvHAiQHnBE2oU7jLv61oP3viOevI/Rosm1eikFcjWuM4f5hzyv8Tc?= =?us-ascii?Q?2Xvl69MPYBK2i+5+J55CbK5gJlx737ZAUGHifbAgjv43m8OX/UZPKQMiCsSQ?= =?us-ascii?Q?MAAuBb6BaAMvyuBdHHRbfF0nMdAzqi3GVWZ6tS0nuqPpDwCMKAUyNPEjjjow?= =?us-ascii?Q?4DH+Ztg9nhRNIUmDbwDxRhMFFjf2tXSbB6nbkHVR6vdsUE1kOUndoG9OvSI4?= =?us-ascii?Q?2XCFk3gYg1YTJ33Re7Fuk9k4GmIDoJiBUzLy590epwp2/xvDnz3r1nlM9t4D?= =?us-ascii?Q?jAhP3uRv0FaL62zWNRqQIxuXb3mGlvZ6Vnd5PIFCCH9dz5+EDjio3VfR1V0P?= =?us-ascii?Q?NUs+daJvQKrXLePmUN2ZGP8geRTqMyX/IK6Eg0BMoqmr34Kn16/evsk6kWYS?= =?us-ascii?Q?646Cl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pfukkLGE7wVq7Ml88s?= =?us-ascii?Q?WWIh+yoxaszPV1SQwHCfp3L93seOoWoVBUNanxQtx5pj0mAmDWUVwkh9cZQx?= =?us-ascii?Q?ZbcJeztRuUy0l+JDSk/oMoMYTQWcmFCLB0+gLUVMd/n4USnAal9J7r9TKLfW?= =?us-ascii?Q?zJDgzI5j4Uy0+JE3k+6dBGteAbKpAroUj13Eh6qv?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 677ef8e2-6f43-413a-55c6-08dbc020d1e6 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2023 12:45:39.6068 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: L5bwZOThuAb1ZcrSy7x33NlEEFy69KhCwOgKO97OO9azy0Hx/O0+fBGau/MZVBsOz+NwidsMfULFRwXM6lIorw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5134 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Zhang, Yuying > Sent: Thursday, September 28, 2023 4:45 PM > To: Zhang, Yuying ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beile= i > > Subject: [PATCH v9 0/9] add rte flow support for cpfl >=20 > From: Yuying Zhang >=20 > This patchset add rte flow support for cpfl driver. > It depends on the following patch set: > http://patchwork.dpdk.org/project/dpdk/cover/20230912173039.1612287-1- > beilei.xing@intel.com/ >=20 > Wenjing Qiao (2): > net/cpfl: add json parser for rte flow pattern rules > net/cpfl: build action mapping rules from JSON >=20 > Yuying Zhang (7): > net/cpfl: set up rte flow skeleton > net/cpfl: set up control path > net/cpfl: add FXP low level implementation > net/cpfl: add fxp rule module > net/cpfl: add fxp flow engine > net/cpfl: add flow support for representor > net/cpfl: add support of to represented port action > --- > v9: > * refine rx queue message process function >=20 > v8: > * fix compile issues > * refine document and separate patch with different features >=20 > v7: > * refine commit log > * fix compile issues >=20 > v6: > * use existed jansson instead of json-c library. > * refine "add FXP low level implementation" >=20 > V5: > * Add input validation for some functions. >=20 > doc/guides/nics/cpfl.rst | 52 + > doc/guides/rel_notes/release_23_11.rst | 1 + > drivers/net/cpfl/cpfl_actions.h | 858 +++++++++++ > drivers/net/cpfl/cpfl_controlq.c | 801 ++++++++++ > drivers/net/cpfl/cpfl_controlq.h | 75 + > drivers/net/cpfl/cpfl_ethdev.c | 392 ++++- > drivers/net/cpfl/cpfl_ethdev.h | 128 ++ > drivers/net/cpfl/cpfl_flow.c | 339 +++++ > drivers/net/cpfl/cpfl_flow.h | 85 ++ > drivers/net/cpfl/cpfl_flow_engine_fxp.c | 667 ++++++++ > drivers/net/cpfl/cpfl_flow_parser.c | 1839 +++++++++++++++++++++++ > drivers/net/cpfl/cpfl_flow_parser.h | 267 ++++ > drivers/net/cpfl/cpfl_fxp_rule.c | 263 ++++ > drivers/net/cpfl/cpfl_fxp_rule.h | 68 + > drivers/net/cpfl/cpfl_representor.c | 29 + > drivers/net/cpfl/cpfl_rules.c | 127 ++ > drivers/net/cpfl/cpfl_rules.h | 306 ++++ > drivers/net/cpfl/cpfl_vchnl.c | 144 ++ > drivers/net/cpfl/meson.build | 12 + > 19 files changed, 6452 insertions(+), 1 deletion(-) create mode 100644 > drivers/net/cpfl/cpfl_actions.h create mode 100644 > drivers/net/cpfl/cpfl_controlq.c create mode 100644 > drivers/net/cpfl/cpfl_controlq.h create mode 100644 > drivers/net/cpfl/cpfl_flow.c create mode 100644 drivers/net/cpfl/cpfl_fl= ow.h > create mode 100644 drivers/net/cpfl/cpfl_flow_engine_fxp.c > create mode 100644 drivers/net/cpfl/cpfl_flow_parser.c > create mode 100644 drivers/net/cpfl/cpfl_flow_parser.h > create mode 100644 drivers/net/cpfl/cpfl_fxp_rule.c create mode 100644 > drivers/net/cpfl/cpfl_fxp_rule.h create mode 100644 > drivers/net/cpfl/cpfl_rules.c create mode 100644 drivers/net/cpfl/cpfl_r= ules.h >=20 > -- > 2.34.1 Acked-by: Qi Zhang Applied to dpdk-next-net-intel after refined some commit logs. Thanks Qi