From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01hn0234.outbound.protection.outlook.com [104.47.33.234]) by dpdk.org (Postfix) with ESMTP id BE0F87D19 for ; Tue, 15 May 2018 12:32:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6PMdIOphsEdW5EO9i9nRJt0OtyAcmKK5+9gE4uY40D4=; b=FaJDTLCMjaLXj1R0taZd+3WBX/DD548sALJ7ToYKHQqe4OKEcGsxNO5z83DjfGE2G/tLxbcpHk++fJHw/bADW2U/Pxmt7Cs3d14O9/0/P/N7eEfnuax+aQq9PsVlA9Idx1jRo0tJG3VgXZoUA12Lt9BYdLITrjOQpC3yUCAFh1I= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Shally.Verma@cavium.com; Received: from hyd1sverma-dt.caveonetworks.com (115.113.156.2) by SN4PR0701MB3646.namprd07.prod.outlook.com (2603:10b6:803:4d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Tue, 15 May 2018 10:32:54 +0000 From: Shally Verma To: pablo.de.lara.guarch@intel.com Cc: fiona.trahe@intel.com, dev@dpdk.org, pathreay@caviumnetworks.com Date: Tue, 15 May 2018 16:02:20 +0530 Message-Id: <1526380346-7386-1-git-send-email-shally.verma@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BMXPR01CA0033.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::19) To SN4PR0701MB3646.namprd07.prod.outlook.com (2603:10b6:803:4d::12) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:SN4PR0701MB3646; X-Microsoft-Exchange-Diagnostics: 1; SN4PR0701MB3646; 3:HNKDt/3ZQ1wEF9HqgirTjr013gAVi6RJ2ujkEWlI4i51KjU2qcvF4T8JrWhj1xTybug9qins5OiTH0xse1i38eQ8dyvopcM6Xo4FBHgQ33+/ezFLl/9brH3oV6HQDqlay8imu2vrxnC561nQ+DneucelOzXFP4OS0jS1uKupTqNnmBa/mPwySxIB/RPhOM6/JWDrFOduUKJO1j8rahB23MgK2d4D0cA73fKEpQiSVGvNt99OBMuCG5zuQ5bcwBex; 25:1O2UyQqMEBjzmtNmJm2ziFKqsguMm4wxPB50Hx/v0XffdbQbZHBrt16SYH0wfNIXeUdF0su4N45Lo/02kFhZGPVr5+kTF4XBWoWXEegzhr6rU1+zDtTJ+4g2ExFfGgRj0JbyS/++ujOTckJ8jeFqDpzamUKKwtBX+OgoxBkbSNjQsGv6R9MQQNljmdTNyBG17jpZ5DXkMs681Ywt5Li0eH3LkCeyefjSVey98FyjULmZK2yghITUsP0+1Vc6V7fKyluKQgq12j/CqiNyIDp4xvQwOzEnDAqBQY41xeia11cvd3+m/6CHuFh9e5hZwFxH8tZ2VM6WsIIy/3mf9qiYYg==; 31:yxX5pndjJkMtgPcR0eERbbmuj12PKMpVQk9Ii4RlhK9MdUyl/6cS3QoQI++f6eipDiAsH+qaIr7X/zxTOwBSuf7cKBqXU8fgeTWrgPePaZl9+gG3vRpUvTg6N9+W4cclAomB4tjO/HYwKQRlwT1YT6wcZjgs2+oUhcrz45sgIXzOPEJyfQdiJnX106p0aIinK5NEzRU8ZBToiwBnUDDuQcufcjmHHEiNUPIDktPymbc= X-MS-TrafficTypeDiagnostic: SN4PR0701MB3646: X-Microsoft-Exchange-Diagnostics: 1; SN4PR0701MB3646; 20:830H5ej4mUISgr741b0ly1sECHd0gKSJ52Trej43aax1jUAMHnc0Dink/ZRinO7xWjbk5HHZsS/E8cFLON4dieNU44qnB7ciO8xOxyfycnOfRIb1LsLC/maILTmiD370PkKcA0zyb81br5NP+bHm9PbV48VlNO+0Jv67Fn7pF/0D01hZO6X8trxV1w3l+F84mXAe2+LPq+TyalRTWWMsQDDreau3LPZPw23QpZtg+wikSzhHs+T5PUYJeyN9mD5Bepwg1prNwQMPCwVWJE2NRotRasO7Zuld5Yu9vRff4Ybi3rG7RqcDHlzzKUfMOp9VipNr9NG5ttqYxrKGPp7moiXDqVIJb/VPWsbF61tBCrT+RtG5+j9sQvbcwFLlusMvl5WpS53CtSncgY9BS8SM1aJ1nJTtzlOfXGnSnORuwyel31rc1wFENcV3vMD8Ll5ZNXaEKtwPUoKoR2jKr9NCNhgVNiH9CpFdE8dlWbsiK+22yWRaHpU88lyidlO3ulGtBEAQ1UCEh6RgAjTgaAbWCdSkDmOmmCqLdmd2gl+sCAIO1F/9cH8WAc2bpYQSB+7rQ+MIqJyfOpYZJRJ7Ty0EUWaVmS4uR+Hv2opI3GKOn/Y=; 4:gnlGyvcBw74Dyy9SStFqDq0QE5dAt/Dax1IomVKuIwZ1W1E3fxtVlQeRszryfQdfsfrUxN3A17TOp0HlKUTwuqOQ1hk8K1WMnUmMSE1iJ61jZnlCno7HcbZ2b/tnuLJMappx3vzHi8lJqUxF+SXp5whig6uUQxbSwyD59XYndNfT5cXFuGJ8dkfEF8OLObvqG/GdUJb57ohdCfbo+a6qj3GjugTI4aTmv+3YSlx7XLZ2xy49Oek+q4p7ljULQ+iJJ7s5YH/tiGrwOgTlqKWLMaq1nJseonyhLXoPPbB/at9I4uW8QTaeXLnMTE5PmCVn X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(66839620246622); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(2232076)(944501410)(52105095)(93006095)(3002001)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:SN4PR0701MB3646; BCL:0; PCL:0; RULEID:; SRVR:SN4PR0701MB3646; X-Forefront-PRVS: 0673F5BE31 X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(39380400002)(39860400002)(376002)(366004)(396003)(346002)(189003)(199004)(478600001)(486006)(55236004)(44832011)(16586007)(316002)(47776003)(2906002)(59450400001)(6506007)(386003)(8936002)(66066001)(6486002)(72206003)(6116002)(3846002)(25786009)(97736004)(5660300001)(42882007)(50226002)(36756003)(8676002)(48376002)(53416004)(52116002)(107886003)(26005)(50466002)(2616005)(81156014)(105586002)(81166006)(2361001)(53936002)(6666003)(6916009)(4326008)(16526019)(68736007)(476003)(956004)(106356001)(186003)(7736002)(2351001)(69596002)(6512007)(305945005)(51416003)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:SN4PR0701MB3646; H:hyd1sverma-dt.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN4PR0701MB3646; 23:FhV4FM6/L453YGyoTQLdW1e90/lMdMdOdT94Uz+?= =?us-ascii?Q?8ZAf+ehn00UaSDRS+CnddI4oP1p+JExEbeYQqSlW/lyYc1Jk67PKmZdL4O0w?= =?us-ascii?Q?G52Es8jTvNT6cUn+TnmQ9Ce3O3CelO0HzCOqXwFrcwl1ZGPaLdspiDlh68f0?= =?us-ascii?Q?CYcAU/MstR/SpRRE/yybkeI3UKTQ+8SITHs5b9gnFtC0oAy4/aDSc5vRjI38?= =?us-ascii?Q?LjwwwDGIiRcQAXgmUZU8Hiy0xx3riGUueRvwsUeU8uFvmHcXUfIDi4BDRF1b?= =?us-ascii?Q?vpT+R3hcAFEbaU8zG0cSOPz1bZ7l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LXxNReklEcw5z1j8M9SV3jEP47Qc2OB3GV8iOWWkSIaJORApuXh7IbXryw8onOq1A7oPmUvrZrCgUubtV8vkJXWtSqXny0ezunPDgkAY+aujsmju6UIyYocKcWVk1aZgDY6k+fQPYZunYUg/5RIuQjJfGufEJ76IOFPyW4UgsX/osPN/kIJ3Hbc5sFGlVDO/HY8Xz5t2CYqIx09TdBBtgwwnbXg+vvsfbeAs9h2UvaRqcfREn73OLBuBNBj/KjjF4TYRY8NRjazg0ABDjXJrpalWDzmTR2d6rUTr9PwjJbsRkyQ+; 5:kgGhNkU0fstf84r0lmte/VHtXqh5M1CnZiDpYwKX4PKcafYyZeNlc3dF6T37yMui7+DiFWFmu/ffKy7OSvotzgSbPj4eeP3XOqZaIJvIo4OwDajsTUAsGWILlafflESAiXa9hxVc/aTBPOQvlNrgOI5QIunm6IvQz5rhSXqZWts=; 24:XRAjoiMvn9vVemPlhKf2yWYQdq32wo3spthjnCXPcGigYjPzMS+SzGYt9t6urxsfL4JxmkysgPDFmy8uWfABhg== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; SN4PR0701MB3646; 7:wLUMG9cGIQTlxgg8pgdsupxie3zU9omJAYJr4hSZU1SqbOZ1XSGJo2qQxBY2NOt7MQAVDjte16pX/DSvwtHwHikMns77/cuGAO3hgiAYOjdQ24tR+Wq5wq4OYdQwiwJmakwVLEAf9v8NCzuvLrxO/68F8y1tHroSjiO+grj0EbHKsTO3LTd0rpX9QPkczL9yHJnIZawDJai7TzhDoyChrMuXdfVC4hEiNDrIff2wVNto4uKO9quA3TQi+Bo3B6XP X-MS-Office365-Filtering-Correlation-Id: de9e3d94-080e-49bc-8b78-08d5ba4f38a0 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2018 10:32:54.1458 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: de9e3d94-080e-49bc-8b78-08d5ba4f38a0 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR0701MB3646 Subject: [dpdk-dev] [PATCH v1 0/6]compress: add zlib compression PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2018 10:32:58 -0000 This patch series add software zlib based compression PMD in DPDK compress drivers. Application must need to install zlib prior to compile and run this PMD to avail compression/decompression services. Currently driver only tested for deflate, stateless compression and decompression with direct memory buffers. v1 includes: build changes to build zlib PMD zlib PMD implementation zlib PMD documentation meson build support This patchset is dependent upon compressdev API. Sunila Sahu (6): compress/zlib: add ZLIB PMD support compress/zlib: add device setup PMD ops compress/zlib: add xform and stream create support compress/zlib: add enq deq apis test: add ZLIB PMD for compressdev tests doc: add ZLIB PMD documentation config/common_base | 6 + doc/guides/compressdevs/features/zlib.ini | 22 ++ doc/guides/compressdevs/zlib.rst | 72 ++++ drivers/compress/Makefile | 1 + drivers/compress/meson.build | 2 +- drivers/compress/zlib/Makefile | 32 ++ drivers/compress/zlib/meson.build | 11 + drivers/compress/zlib/rte_pmd_zlib_version.map | 3 + drivers/compress/zlib/zlib_pmd.c | 478 +++++++++++++++++++++++++ drivers/compress/zlib/zlib_pmd_ops.c | 314 ++++++++++++++++ drivers/compress/zlib/zlib_pmd_private.h | 77 ++++ mk/rte.app.mk | 2 + 12 files changed, 1019 insertions(+), 1 deletion(-) create mode 100644 doc/guides/compressdevs/features/zlib.ini create mode 100644 doc/guides/compressdevs/zlib.rst create mode 100644 drivers/compress/zlib/Makefile create mode 100644 drivers/compress/zlib/meson.build create mode 100644 drivers/compress/zlib/rte_pmd_zlib_version.map create mode 100644 drivers/compress/zlib/zlib_pmd.c create mode 100644 drivers/compress/zlib/zlib_pmd_ops.c create mode 100644 drivers/compress/zlib/zlib_pmd_private.h -- 2.9.5