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 8F7984541D; Thu, 13 Jun 2024 19:59:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E53A402E4; Thu, 13 Jun 2024 19:59:12 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id D1EED4027C for ; Thu, 13 Jun 2024 19:59:10 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45DBHFHb014866; Thu, 13 Jun 2024 10:59:10 -0700 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2168.outbound.protection.outlook.com [104.47.56.168]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3yqxxdhw84-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2024 10:59:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UplemR6yehU7etHtJPEIjlkFx+i1UwFFGJaCw98PmGukSFtbaydQY9enuat+wLYmChJUSzQgXUS0jykczmYClZUtC0TVuOhFiOV3vuC427YSlFBeB6WkK87YvGUa8BWmRziRUr6iZ8tbwhRdE4Uix5/ZuZ2Vvn19T2wZSq4PZOrwpH5XQHdrzQXcPL4LCss5y7hTFz6AaEUMzw1yxIOgD+AFo6c2FHUVIT944PR2SZmr0+Q4dZ1FTy50hpvWeZApIz7wfZDBX+GwMfMEUpnxcB7Oy2g+pTDHYrqI1Z4XWmgECfCClRZeALAW1eKSgoRKnpvaXKoEpEpmZA6Yx74uvw== 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=4OitocKwm3CWpL39IunbyWoQ55PAEvZTmpzDhL1njoU=; b=dSoW0Y2y+wR+jDsB7fIfRhYqMwZ3xW9JnR3gKYsTaI5P8KmZRDQB9zSZ5wk5oRB8WO99NcFcuDiDGKsO7nd6I3KMvIcRpJtiLMMyUBNx1LS9SrJJX9W4Mqlb9Gfis3MKSZpmLhqumBc1TLP0yV+pYCrQbM0iUsFbdJ8eHrsdaREZ7zAC8miKp/Yf5jxGz0FaFa34AcSWXDP6rDhwAo4n9axp1ZMDHObktYoy2lrI76eANxJl6FgKbCpfbrim1DpRAZYlJDyC81thAqeP4NK1L84vgiozLJ22glFrzFHY1g54zB7H2ZYV6C/qRcPhbTrCn/F4TevrG03gVwWaN7qHJA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4OitocKwm3CWpL39IunbyWoQ55PAEvZTmpzDhL1njoU=; b=btIanFEOGaC6U/6SPkj9Z9t5ZSRuss094dRgiKLTfX4ulq4WqisqVf/j+IsnQI23jGk/Afb2Tx8YC8hcnvez/Vgl4RoM3qL6V5vblNICprXBkQbP3mztkcyJuHlEJotB74w8F0OSCx4wQeWy4r3eVTNioz6h4hLzFIGrbv6ZUhY= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CH3PR18MB5733.namprd18.prod.outlook.com (2603:10b6:610:1b9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.28; Thu, 13 Jun 2024 17:59:06 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::3c98:dd36:4897:a51d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::3c98:dd36:4897:a51d%6]) with mapi id 15.20.7677.019; Thu, 13 Jun 2024 17:59:06 +0000 From: Akhil Goyal To: Zhangfei Gao , Fan Zhang , Ashish Gupta CC: "dev@dpdk.org" Subject: RE: [EXTERNAL] [PATCH v3 0/3] Introduce UADK compression driver Thread-Topic: [EXTERNAL] [PATCH v3 0/3] Introduce UADK compression driver Thread-Index: AQHau842jg9Y23Tl9EKSlWNxQkIZ9bHF/vtg Date: Thu, 13 Jun 2024 17:59:06 +0000 Message-ID: References: <20240611070726.468-1-zhangfei.gao@linaro.org> In-Reply-To: <20240611070726.468-1-zhangfei.gao@linaro.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|CH3PR18MB5733:EE_ x-ms-office365-filtering-correlation-id: 769c6539-0719-4c3a-9ff9-08dc8bd284d3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230035|376009|1800799019|366011|38070700013; x-microsoft-antispam-message-info: =?us-ascii?Q?/g3NWWkJLudLSCenyx3q7fnDSCU84PeZEQKBQmsg+Ds+qmaL4i9q0DJYjdv5?= =?us-ascii?Q?yk4PDij1HZBT4LSD2dC6CraqB8wgAlmpQNO8upQ9IDKsjpdQVJtPlnG2blaZ?= =?us-ascii?Q?2zX0eZk4gs9nM4gqXfDH2+uJL2JMKPqAHIom/5TtXQceZn51pdluHu+yEAE0?= =?us-ascii?Q?WjUFA1N3KO0s4Nu4DoQcuvRRNNJuYbdqgeS5ax0k/25dCqOQtydrzQFokfLi?= =?us-ascii?Q?ZiFGiLUn+Ia1LucLRI1LvdiamVc0drDMD5M1JFs9MZWThf+mY9lE9mbUtQJs?= =?us-ascii?Q?QR2U3Nu5Mx2dtswDszE2h6WI3x615kcYasGMdTu2Ed9KpJnL1pXI0r392yC0?= =?us-ascii?Q?eDPhxbaDZWqn6s7NMiEta0zN3dFOu2UOy/QORQLOiKleyGBju478kdfqlG5S?= =?us-ascii?Q?Eq2e/g3yi36lVPhj4W7lpYyfAB0eQoS5PX9WR2tm0A8/AVnHlCoNGL63zToM?= =?us-ascii?Q?W+LUW7wBRgiy8Wzmln3leXVtUKmixTnzkno7jBrHostne+iQPAZC9VYFKddz?= =?us-ascii?Q?Ei9wVm1lpt0lWxoCJJ5qmXseUWPuvWT+HNEBh63SoIyr6uErIHy52FV3n2+x?= =?us-ascii?Q?RBpVn+UDkVEyqEPqaYVjiYobRAfv1tcnRjM1GP2F6U0pd67POnlGEvVw2OkS?= =?us-ascii?Q?CUcURLCfdaYjiKK/dmikVLYqfvI1kQTzdsaFHXH6BHPprfBxNUbFF2VLEsuE?= =?us-ascii?Q?Jfvt1Nv/tKEjG3WYYOUwNBarwfJPYPu85hqB5B1q7jFiarug94AYHAMHnBQT?= =?us-ascii?Q?JFIkma9Mo2rXvdcOtuTd9id1aub7a8GhhvRk22F8GvNUFR55pjXhFPu584zr?= =?us-ascii?Q?A/joK4sxIfan/N5qXOLEvumIUJoL9LpvhWXUl5nrlkT9AHrINhMiCL5B2yxH?= =?us-ascii?Q?kfjRPkdQPc15FK8KEV/PPFs/qitxapT3DhB/Q5tZts/cJqc8ePDvdDaomj95?= =?us-ascii?Q?oD+qU43bOy/9/xJPyjfb0wQLmjMoBXPhUu9t3A9fMt5b4y5TevdQ8S1QhNX6?= =?us-ascii?Q?qopOq4UaBwsfD2zrf9KJZeqak1DzpaggHlzIG38PMMlrTBEf76wkny/rB5G5?= =?us-ascii?Q?Ka/Py1UasRqPYGOEv/HslRw10yt/GxmRZZaM7fqlEu9E32Et2+AvtOyFbwDc?= =?us-ascii?Q?RdJkslNxne4+WYZt3i0UPLC6zGEYJJd0JgoFoDYMA78+kKY5UoOR5AsEIdt1?= =?us-ascii?Q?vlGEb6CjYAoi5KYOgkH5kzl+n127Zi0+/6xLxgdA9FamvH2yD0qmY3Aa787Q?= =?us-ascii?Q?RDmAt/0a7wWSGeXdf0L9S+DDCGsPPw/3vN9Jn8KF5u/AZYoFyWF0K6vLTH2y?= =?us-ascii?Q?WtE/a7Re7Vi/dUNbycO9qR9V?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230035)(376009)(1800799019)(366011)(38070700013); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?EDzNYcQQtIRB7RcecjjmjV80vwR8cs25FMIKVHMNHm95uhzsRYGsMKXrjmW/?= =?us-ascii?Q?OpQ1wifuABKgTjcS9P6nTx+a+T6wNYrFnFi3lTHDJSLSnQ6PHK11Rwq0KcnG?= =?us-ascii?Q?0G9BGZ8hMzZORAw9VsJZTRfqbQndjBnllfFbe4S5u9voe6kPVoEQLO597T/r?= =?us-ascii?Q?iPTTkrVXpbf2lfH3LDy0agENikiCWdtnQIbItaTEmaF2kQHLaLOAyZUEKn2s?= =?us-ascii?Q?LL+w2cFWClaMc9G7owJDCcTiqxwVdVJccI/bdX+ZSnonZfl6h1ZlFlIGVrjF?= =?us-ascii?Q?d36HUXfIVTOss3QN+QkCb9JZxGke13FRe+0xcdtQbPO3ZW6uhhCGosRjs/YJ?= =?us-ascii?Q?pd4w2MPQy8nzbgQ9u5G4eUWWTc51FQNxhmcHA3xmbdnw22UpnegH/0UN1PWD?= =?us-ascii?Q?GWeffRhxozfsz1Diis+C1uiw0wddpcaOACm1sEzC66WVSmv3B6cYi6u/Eh4t?= =?us-ascii?Q?LfBk0rvlFByZEamXrJOikCkYpmSkgeY9l31JzT+/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?fH9ajuxUkhGcSVOxkRdrCBCyF1h9c9qifcOyo2ezXJlyEwqiDrJ9ltjjYTQo?= =?us-ascii?Q?QVN2uU+d1betfXBt+5Imf1jEET+bOXWdqBzTNPOYu5EtEWwvstpj3Q9STJcC?= =?us-ascii?Q?cgt4F9YYv5POdDYdfMxidD2L+hfmbYmuatyqCnHPcFEN9mRDQo0qxvx8SIha?= =?us-ascii?Q?FyCpHnq1tq0Nm1TqjKYI3ym5ttOB6N1P0AdeR88S?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 769c6539-0719-4c3a-9ff9-08dc8bd284d3 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2024 17:59:06.7327 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oKWyrejy03966yH5l5/g414vqmnxsEBw1XktuIks2XesV5/aF5YwcbBABO92m/SqJ9LmMcpN3Qufmkdfnymo7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR18MB5733 X-Proofpoint-ORIG-GUID: 2DdDtYfuUHlpBW3Iu9EU6zGJEoQO_UqY X-Proofpoint-GUID: 2DdDtYfuUHlpBW3Iu9EU6zGJEoQO_UqY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-13_11,2024-06-13_02,2024-05-17_01 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 > Introduce a new compress PMD for hardware accelerators based on UADK [1]. >=20 > UADK is a framework for user applications to access hardware accelerators= . > UADK relies on IOMMU SVA (Shared Virtual Address) feature, which share > the same page table between IOMMU and MMU. > Thereby user application can directly use virtual address for device dma, > which enhances the performance as well as easy usability. >=20 > Besides, crypto PMD is under drivers/crypto/uadk/ >=20 > [1] https://urldefense.proofpoint.com/v2/url?u=3Dhttps- > 3A__github.com_Linaro_uadk&d=3DDwIDAg&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3DDnL > 7Si2wl_PRwpZ9TWey3eu68gBzn7DkPwuqhd6WNyo&m=3DxPSsnaP1teim3GosZniW > _hGTHaRVZbQ8e65iuPxG-syp2JTmNilH06te_yWcoUeO&s=3DC9wsl1Qvu56lo3P- > w6bG_-XRqtFR2i1yhJL4EQj-WRU&e=3D >=20 > Test: > sudo dpdk-test --vdev=3Dcompress_uadk > RTE>>compressdev_autotest > RTE>>quit >=20 > dd if=3D/dev/random of=3Ddata bs=3D1M count=3D1; > sudo dpdk-test-compress-perf -l 1,2 --vdev compress_uadk \ > -- --driver-name compress_uadk --input-file data >=20 > v3: add the missing doc uadk.ini and change some docs to patch1 >=20 > v2: > remove mempool and simply use rte_malloc, suggested by Akhil > move doc to patch 3 from patch 1 >=20 >=20 > Zhangfei Gao (3): > compress/uadk: Introduce UADK compression driver > compress/uadk: support basic operations > compress/uadk: support burst enqueue/dequeue >=20 > MAINTAINERS | 6 + > doc/guides/compressdevs/features/uadk.ini | 11 + > doc/guides/compressdevs/index.rst | 1 + > doc/guides/compressdevs/uadk.rst | 98 ++++ > doc/guides/rel_notes/release_24_07.rst | 5 + > drivers/compress/meson.build | 1 + > drivers/compress/uadk/meson.build | 30 ++ > drivers/compress/uadk/uadk_compress_pmd.c | 436 ++++++++++++++++++ > .../compress/uadk/uadk_compress_pmd_private.h | 36 ++ > 9 files changed, 624 insertions(+) > create mode 100644 doc/guides/compressdevs/features/uadk.ini > create mode 100644 doc/guides/compressdevs/uadk.rst > create mode 100644 drivers/compress/uadk/meson.build > create mode 100644 drivers/compress/uadk/uadk_compress_pmd.c > create mode 100644 drivers/compress/uadk/uadk_compress_pmd_private.h >=20 Series Applied to dpdk-next-crypto Thanks.