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 717BD42344; Tue, 10 Oct 2023 03:31:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EDBAF4027B; Tue, 10 Oct 2023 03:31:16 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id B103C40278 for ; Tue, 10 Oct 2023 03:31:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696901474; x=1728437474; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=E/yhMCitc8ORsMCwxAPhGTOtM4Kk8kVxLo77N1qz224=; b=R/YWDag6TpHUAMCcZAa4+5s5TrPaK8bZUOwUsW2Fb8NneoqMnFvWGyqS NrDSkb2JTlnKETeENfr9xy+CdAzD9pejmL0S4AtFZypS48WrdXUvpdxFi KR9hVXzGSup3Wx9d92WwTx1vfxvQ2WiH/u4PF2qXkymVSQ7h08TPSVkfe q3hWxaiWwu6qEvJqXE3J+KwGhSOqFKTXgAg+0rs4pt8vOU9Ev5U5Jgo1W L1p5z9/E20XsxBwA594Zs4gmYhytBVAkizWNgDVJGDHyPb9wHdRdEicYV uMS0WytuRIPDcasIZHCgMuM06TM53h+7pnJ8dTR3QpfSXnO71rMtPQtGX A==; X-IronPort-AV: E=McAfee;i="6600,9927,10858"; a="384147692" X-IronPort-AV: E=Sophos;i="6.03,211,1694761200"; d="scan'208";a="384147692" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2023 18:31:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10858"; a="823591373" X-IronPort-AV: E=Sophos;i="6.03,211,1694761200"; d="scan'208";a="823591373" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 09 Oct 2023 18:31:11 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Mon, 9 Oct 2023 18:31:10 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Mon, 9 Oct 2023 18:31:10 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.40) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Mon, 9 Oct 2023 18:31:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K0Ripp6gljqh+Uj7SMs1eWrO+rVKNsfId+jvFOO53g9fRVMYEu8g7j6fevY4lUZHUtWLBy1SC1yEVuQXDDALlFiyZjpyOmOpUjkxPkP9WbPcSuNrMnFAzIvFONF9YQU4EYjGWq2ePA9grG+iH6toEYPYtmDOKMOQ/IDekudU3TYySBnuSAXQmdOT4t70wAUeiT8xGOSa8PbeEU2F4Q9xwCBzG4C6LMwUKxRR6Bkn1obtpka2v4/oGAGXm+lBrJtgdS7UwvQRR2S9qoJXXgEz1p15YQL3RVHt0PCopTJDoDoNjurdJi3+BMy7iXgkyQBIMOWH8Dj9io/ApiWuRCTmnw== 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=W1balcmUXfetNJ787j0byBtwL4KoSbXs9QeJYVos7kc=; b=gYQM6NOa7GtpbwS12AC2GdMi66KPKpbJAm6KZUBjRecQaHoYvJhnyOj7eWEhQ0k3gIdRYalgpEA0wmy450HlbR/qZkMvkyl9OIj8hZ3oqiznxhVWIUJAs35jNegS/+AsIavLXMWExLlE2cupDXEXhDkt8+94yErqyBtB6GEJ8QS+7+qjrFp+9aLD2APnNCtHmBfEdQOB0Qdmc1PEJCzVKImx7SelUNK4RGwM62WBi3r/x2lXrKFcnW9SIRy8siuffsl0RFj2jOaXD0p56y1EEfgdWr31f4EazYVdD2L8YMJB5+ZerK9GTSH+SYoam2Sh6gshO27zOAkzcGHKq3Cz/Q== 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 PH0PR11MB7542.namprd11.prod.outlook.com (2603:10b6:510:28b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.38; Tue, 10 Oct 2023 01:31:07 +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.6838.030; Tue, 10 Oct 2023 01:31:06 +0000 From: "Zhang, Qi Z" To: "Zhang, Yuying" , "dev@dpdk.org" , "Wu, Jingjing" , "Xing, Beilei" Subject: RE: [PATCH v10 0/9] add rte flow support for cpfl Thread-Topic: [PATCH v10 0/9] add rte flow support for cpfl Thread-Index: AQHZ+oiCwlcsN74ZBU2El2EWifrxjrBCPaIw Date: Tue, 10 Oct 2023 01:31:06 +0000 Message-ID: References: <20230928084458.2333663-1-yuying.zhang@intel.com> <20231009040018.149689-1-yuying.zhang@intel.com> In-Reply-To: <20231009040018.149689-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_|PH0PR11MB7542:EE_ x-ms-office365-filtering-correlation-id: 4585a2aa-bc73-4607-7ce6-08dbc9309326 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wp7h91I8kzhriLbxfkrVw0d5u1DkUl4CHuLgWAu5XDng3WaQ5FrXsQ5GBTMSv0jEgf3XSZ51nEMpEGpU8XiqFmyEOLmXRz4xTrXYHNjDsw3KKwlDShs/mFmEo5mZD1Sl5Ua4S9S7oti1dQdmAw9Sl4sN4pbTmLAhxOAWD0O9AssDTlktSWxdPW6htJcVmxDTKBBgFBrLoJU5g0Ozh0pUj8+poXps7ITuFUJRPAv09GhnmFfFX1VzWo/dtPV5gb/c/SkS0N7ePcYrJ3tXYAEU2+6v+yi0FnKaeq0PEXV58VbzoHuUfHMfTlgrajLLGl4LIEF/VrIpMFUGdUolkbwWslTp0XqT+kZM6mM4qVPHXrhN69kiWnfNSC+97m3NoPiFtlznXW0bFmWIEZgCL9KR55LgQ4wg6ZkvRFlMNQPdAnWs4fdFAyftKUxUee8f1eug6sY2aRj+Wy9Dvttq1WILev7JD179LAsAWFQDwdZdVZeg1nsrGKyl1VgghmTxO5AtXwNQoJ6MFW6699B6RnbRFMvjLpzqiNkLNP64kvwBXSrCwnUyFB0bxwnOs0W30e1xEjquY4/L1amEHWclTJmLzwuSKmAq2jF6I9qP5xtXXVw= 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)(39860400002)(346002)(376002)(136003)(396003)(366004)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(55016003)(38100700002)(41300700001)(6636002)(66476007)(64756008)(66446008)(66556008)(316002)(66946007)(76116006)(110136005)(8676002)(8936002)(52536014)(5660300002)(83380400001)(86362001)(71200400001)(38070700005)(966005)(7696005)(6506007)(2906002)(478600001)(53546011)(122000001)(82960400001)(33656002)(9686003)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9O7Ap6vFOmlGKP7GSph7yRFW6Y6k7ukkV07Ph4mlBy75biMYEz6ecoLMe0Qj?= =?us-ascii?Q?OdXhg7H4nIb5lkWmUkmarfqSRYzhElCY5V9nfgVyDdpSIHRJvaWrmYBNnh7C?= =?us-ascii?Q?20v6Tf0G/ImO93xAiJmqLX+Ccc8GbwCjuGKuCA+jQzC2cnd+I+NTKpF67Tnu?= =?us-ascii?Q?EztnvNtMdaJbNPW05H7uwtNPY5z4HjgA1u7FoPrIQEc7C2HgbeMGOzzqhTAQ?= =?us-ascii?Q?YvyNbG7rXgofRHGDF2furdwuJcg5ONozuzAqMe5fZ/x/mOHLmFTs/bstoJsQ?= =?us-ascii?Q?mxV2ul/R6qQVlAywh/Xdx8verX3FH5+0fRm5RHW6i+3zC/U07g8euK7+sSss?= =?us-ascii?Q?Sr5dXmkPcIuJljKgMGpU1a3PBOl0RJdF10F+ONr+UM0QNgSVomv/BiF3RBr4?= =?us-ascii?Q?6iQNp3UNFOECp+dIyybkNbnRUaWZX3N7BtvsNbDRup8mmP2+uyFlCw9K2jVL?= =?us-ascii?Q?1c7KiR6coK3n73okpC0ezWM6lHOFf8yi/2o64djgTQo8Ml3qzoh4CSMA2QNx?= =?us-ascii?Q?H1hv8Cv6008x1J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ascii?Q?QqXn3JdNMZmfrJPglanJvRlSZvT3lXmMxEC1n2H1U4YgopGMNNfbtjmNJ//N?= =?us-ascii?Q?8QmIE2w4EfCjObEGGIHGDyU8DMGwNU0DB8Xqf/tQB/I+DI7EEXSo/MxjF/nT?= =?us-ascii?Q?xd4vAVflVLfncU14o0Qm0LA2VClzC21JTEkQ8FH1?= 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: 4585a2aa-bc73-4607-7ce6-08dbc9309326 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2023 01:31:06.7386 (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: q/c71ubfYkkv5hWTDDcztIiP5zVfG+Moc1oy4wLEeRZA8aBOAn0obtCM2mqbB6Y8pgvHbmdhwLVL1W3/u3KaWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB7542 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: Monday, October 9, 2023 12:00 PM > To: Zhang, Yuying ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beile= i > > Subject: [PATCH v10 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: parse flow offloading hint from JSON > net/cpfl: build action mapping rules from JSON >=20 > Yuying Zhang (7): > net/cpfl: set up flow offloading skeleton > net/cpfl: set up control path > net/cpfl: add FXP low level implementation > net/cpfl: implement FXP rule creation and destroying > net/cpfl: adapt FXP to flow engine > net/cpfl: support flow ops on representor > net/cpfl: support represented port action > --- > v10: > * fix ci build issue >=20 > 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 | 666 ++++++++ > drivers/net/cpfl/cpfl_flow_parser.c | 1835 +++++++++++++++++++++++ > drivers/net/cpfl/cpfl_flow_parser.h | 268 ++++ > 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, 6448 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 Applied to dpdk-next-net-intel after reverted the old version. Thanks Qi