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 2ABA8A034C; Fri, 2 Sep 2022 00:11:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C073040693; Fri, 2 Sep 2022 00:11:02 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2090.outbound.protection.outlook.com [40.107.243.90]) by mails.dpdk.org (Postfix) with ESMTP id E91A740684 for ; Fri, 2 Sep 2022 00:11:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FooDw4N2yq5B1HEVJEfTlKOWXtlV7ryXuM3yeWfF/txxDowlLCUIxgDdL3u0hymOoBraRPt3S7uVQBse5AV7vcsnlajhTrrmXZJkT2ySQ2v7/oz2rv1WajJPTgobCMkyXnBd1mlso3n4IrKUrWhxggbI195MzIpQe4JUjn0c6B3Al+1fev3xNLRde1OeA6Dp/2IeMhmgkOwkguu/QSMiptS29v9cCxm5j+c13jrvyZfhcTDD4oLpBrjqCT8ebg5t8FJ/Jfyce+ssYtKKAdMIzH8xHiOc4ksEhys27tXeNBgr+mrz9eX451KRE3Zx7TWndhWdmvP6GoLFdmowRXFc4Q== 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=cQsZB4bh++w0J956XPNIeymGlYHd8rNYnizoh1eimRE=; b=WumWRUsQBycgkc6vUk2OrG5WX2DFbtaPPF6BeDvgDI9Mlo+vlUKhdZE0lbw073om8cG2I1T0uB9mC7BgqZLoFGT0y7GtNXRFschmazNmLRgT5qfTVrh8nqC3+9rmBi1tsno2Zz9yc+WVZx2ayRG9HxKFMbPLXkD/7F77Rwyfzueg6gTzkfFHqXtsHG/bdfixGZRNoXpnOm5nclp0UXuESbm4PPoxL6BcbAVNBALhrcPlXKua6b9Brs6ZhvmnK0TdETwWps0ueOTs12VCl+tUqVqrewdKfeACFRcfBYvInmCLIW+7+e4c5X04D2yo2pxD/ZJIH7XB+WFoq44+7fMLyA== 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=cQsZB4bh++w0J956XPNIeymGlYHd8rNYnizoh1eimRE=; b=iEQZzSGmoFao+sVHGX8/f+fQ6VpTuG1kjXFd1ZHTIOY5GaGc5l49PiIj61+E+xLAFzG7c6V0MFg19lqMXvDEvPPumdBISPgLzTxcM7A7ll9sLTR3J3iiMUL6gpbRWGTN+UXN9lXlxa8yZNemHmo3mUYvfkh4ji2H0Lpo7Dw8JpI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from DM6PR13MB4431.namprd13.prod.outlook.com (2603:10b6:5:1bb::21) by BN6PR1301MB1905.namprd13.prod.outlook.com (2603:10b6:405:34::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Thu, 1 Sep 2022 22:10:59 +0000 Received: from DM6PR13MB4431.namprd13.prod.outlook.com ([fe80::2944:20ba:ee80:b9c7]) by DM6PR13MB4431.namprd13.prod.outlook.com ([fe80::2944:20ba:ee80:b9c7%3]) with mapi id 15.20.5588.010; Thu, 1 Sep 2022 22:10:58 +0000 Date: Fri, 2 Sep 2022 00:10:47 +0200 From: Niklas =?iso-8859-1?Q?S=F6derlund?= To: dev@dpdk.org Cc: Chaoyong He , oss-drivers@corigine.com Subject: Re: [PATCH v7 00/12] preparation for the rte_flow offload of nfp PMD Message-ID: References: <1660299750-10668-1-git-send-email-chaoyong.he@corigine.com> Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1660299750-10668-1-git-send-email-chaoyong.he@corigine.com> X-ClientProxiedBy: GV3P280CA0076.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:a::35) To DM6PR13MB4431.namprd13.prod.outlook.com (2603:10b6:5:1bb::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b892976f-9e1a-4ea4-849c-08da8c66d946 X-MS-TrafficTypeDiagnostic: BN6PR1301MB1905:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KQce3iSkGo0WpteCcQvIwQNCbVlvcW+TtzydWxMpVC2TdZjVV9vHzsDrwrUrkEfCCwa2olKt6WKQtbAuy7ypdFg3hr0UIOwVMppQ9gksDxbIhN8+6K8rRdf8b5UuNgVTIirFWtRSJeF1MOEcAaktDMLJTH6Jt6p32lkbdQFewFQ9H0WiF+A/SWEaeW7h+w0rxxA28BnlhPoDO24ezDG/Hz8STGcNB9vvLMqsc0tAM0/2koPisYPShwOQFAzJBb7ADXnA0pMPvmBn144Gr1RN/TDMSAkmtlAZ8hJ6x3C1wVeKSmGt4DUR9Oyz30qT4bBM2cx6jtZ7qEH9yrJ9L56j1M9HnWdkTYJ7v71bqUgpUNZarBvvaEysmTquKP10XZjqAXjBVpxSQjf6IfKFmH4q9dFM+G/4+skXFxxD35+v23fcz0LPQGqAJHp7F0VAgYH/IHYRcMSqyLlrKjnRNUjajNhtvAXRJW2sDzFVpXsvLPIi04qUgIqXqiXWIrJGekGBu81tsi22QL9CaW1gguKVk7hT8yngKJiDo6PGg25elxUY6x4WqmyUkIKM0YyPdaB5JTEzw86quHiNtHUPnY8xQ3K1WzEb89m1FdwEHyA7RsRuhlXWahx1jY/Mp0sH5mqaZdClLVKUUS/1CK077GCZlWbUFVcxvW3/pEq6mlVVe6VAwAHE6kDknWNDka7TDJC5e7tM7lDwR0fsy3zhEA1+LjeOKjqQdVENXygGufoVDiJNh3nEooekmtMQXPZyeN87 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR13MB4431.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(39830400003)(396003)(136003)(346002)(366004)(376002)(52116002)(6506007)(66556008)(186003)(2906002)(53546011)(38350700002)(83380400001)(66574015)(38100700002)(6916009)(6486002)(26005)(5660300002)(9686003)(8936002)(478600001)(86362001)(6512007)(41300700001)(66946007)(66476007)(6666004)(8676002)(4326008)(107886003)(316002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?GZ8ogvuySUWQbsj1QRoguH1NCaMHLnsPY3fiPSCjlMFNvhiAgTeQbTZ5lt?= =?iso-8859-1?Q?SNxwQ5pe+lblfsgNABf2FiPm5D+kuEE1O0voFrznok0X/TdG+6DT7yu1+N?= =?iso-8859-1?Q?0hM1nOmbym1CXGsPcEvtk+W3avrvoMJ09fk40W1ck3XQCVkGyZi/scTCBX?= =?iso-8859-1?Q?rJv4Rrx0Er0xgZUuy50KhOdNDcuD+4q9qOsUhz0aBPN8koY73qvgpQZ2py?= =?iso-8859-1?Q?fhvo6urpraOSbvwQw7o4YBQti4Jtr3NLpZIhe/0AUseFFXN3kJpwCOW4d9?= =?iso-8859-1?Q?ePrfwtF2r5wQpZe4EpoMDM1FK7iQGUXtE6qaLCUELYUSME8oQJ9PvXdb2j?= =?iso-8859-1?Q?1dSU9YCPO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so-8859-1?Q?C0bWCBNC44vjjkiCzmwKHzNMpFOCwFlz/Zbygq8rBiUV3pfOU3eLxglMGU?= =?iso-8859-1?Q?fSQE2JihpoG361iHpMP8sgcogNImhVX/wtR8+RI89wL+ge6S+oG1Elldvc?= =?iso-8859-1?Q?1rDvornyhQLDtsYOMSsQngwo0cjggmfo61D8QUrrehPBvKYbzv1Y0KpuB5?= =?iso-8859-1?Q?mxM31qV9IXeg8BOg6yftkOeXkNmgbxA3IgWQj/hi8xUnBuWVIvXON+3xDq?= =?iso-8859-1?Q?qjLVH86nPgIe3Axy8fknhDSIppL8gWkGqV73e9Zj19dmHem811CUUwyuYb?= =?iso-8859-1?Q?VjlwXbfSvj6TptmD+CMQU7uZ9lQ1fIdzBguR+okoyEaCup8nPK28nz7lRn?= =?iso-8859-1?Q?WGQY4zn4naUp0H8Py1q6rGz6w2teHceLOKCPd8ayTrDbbf/dOK439NcQ?= =?iso-8859-1?Q?=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1301MB1905 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 Hi all, A gentle ping on this series. We have a lot of things in the pipeline that depends on this work and would be nice if we had the base patches in-tree. On 2022-08-12 18:22:18 +0800, Chaoyong He wrote: > This is the first patch series to add the support of rte_flow offload for > nfp PMD, includes: > Add the support of flower firmware > Add the support of representor port > Add the flower service infrastructure > Add the cmsg interactive channels between pmd and fw > > * Changes since v6 > - Fix the compile error > > * Changes since v5 > - Compare integer with 0 explicitly > - Change helper macro to function > - Implement the dummy functions > - Remove some unnecessary logics > > * Changes since v4 > - Remove the unneeded '__rte_unused' attribute > - Fixup a potential memory leak problem > > * Changes since v3 > - Add the 'Depends-on' tag > > * Changes since v2 > - Remove the use of rte_panic() > > * Changes since v1 > - Fix the compile error > > Depends-on: series-23707 ("Add support of NFP3800 chip and firmware with NFDk") > > Chaoyong He (12): > net/nfp: move app specific attributes to own struct > net/nfp: simplify initialization and remove dead code > net/nfp: move app specific init logic to own function > net/nfp: add initial flower firmware support > net/nfp: add flower PF setup and mempool init logic > net/nfp: add flower PF related routines > net/nfp: add flower ctrl VNIC related logics > net/nfp: move common rxtx function for flower use > net/nfp: add flower ctrl VNIC rxtx logic > net/nfp: add flower representor framework > net/nfp: move rxtx function to header file > net/nfp: add flower PF rxtx logic > > drivers/net/nfp/flower/nfp_flower.c | 1340 +++++++++++++++++++++++ > drivers/net/nfp/flower/nfp_flower.h | 71 ++ > drivers/net/nfp/flower/nfp_flower_cmsg.c | 186 ++++ > drivers/net/nfp/flower/nfp_flower_cmsg.h | 173 +++ > drivers/net/nfp/flower/nfp_flower_ctrl.c | 252 +++++ > drivers/net/nfp/flower/nfp_flower_ctrl.h | 13 + > drivers/net/nfp/flower/nfp_flower_ovs_compat.h | 37 + > drivers/net/nfp/flower/nfp_flower_representor.c | 602 ++++++++++ > drivers/net/nfp/flower/nfp_flower_representor.h | 39 + > drivers/net/nfp/meson.build | 4 + > drivers/net/nfp/nfp_common.c | 2 +- > drivers/net/nfp/nfp_common.h | 51 +- > drivers/net/nfp/nfp_cpp_bridge.c | 88 +- > drivers/net/nfp/nfp_cpp_bridge.h | 6 +- > drivers/net/nfp/nfp_ethdev.c | 357 +++--- > drivers/net/nfp/nfp_ethdev_vf.c | 2 +- > drivers/net/nfp/nfp_rxtx.c | 123 +-- > drivers/net/nfp/nfp_rxtx.h | 121 ++ > drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c | 31 +- > 19 files changed, 3214 insertions(+), 284 deletions(-) > create mode 100644 drivers/net/nfp/flower/nfp_flower.c > create mode 100644 drivers/net/nfp/flower/nfp_flower.h > create mode 100644 drivers/net/nfp/flower/nfp_flower_cmsg.c > create mode 100644 drivers/net/nfp/flower/nfp_flower_cmsg.h > create mode 100644 drivers/net/nfp/flower/nfp_flower_ctrl.c > create mode 100644 drivers/net/nfp/flower/nfp_flower_ctrl.h > create mode 100644 drivers/net/nfp/flower/nfp_flower_ovs_compat.h > create mode 100644 drivers/net/nfp/flower/nfp_flower_representor.c > create mode 100644 drivers/net/nfp/flower/nfp_flower_representor.h > > -- > 1.8.3.1 > -- Kind Regards, Niklas Söderlund