From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03hn0232.outbound.protection.outlook.com [104.47.41.232]) by dpdk.org (Postfix) with ESMTP id CF7851B7C0 for ; Tue, 5 Jun 2018 12:35: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:X-MS-Exchange-SenderADCheck; bh=GBzEJAgv4COlHkGC9kSuHOKBlfiqVcLDh5UCDarPJvY=; b=IFb04FgARb7V72UReP10pYrqweJSiyIDdSAbyBiMq25BNCswXVJ8VAZ4CBsnN1OuhY+a6REMErl6+pVUwAZJzhclscMKVHASXDpxss3AAlz43yuWXkjFdir8wS11bsZ7l5zXjem0KTch3g/7td1/D1iPbr0rgZjMNNsSMmVnLlM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Shally.Verma@cavium.com; Received: from hyd1sverma-dt.caveonetworks.com (115.113.156.2) by CY4PR0701MB3633.namprd07.prod.outlook.com (2603:10b6:910:92::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.11; Tue, 5 Jun 2018 10:35:54 +0000 From: Shally Verma To: pablo.de.lara.guarch@intel.com Cc: fiona.trahe@intel.com, dev@dpdk.org, pathreya@caviumnetworks.com, mchalla@caviumnetworks.com Date: Tue, 5 Jun 2018 16:05:06 +0530 Message-Id: <1528194913-25893-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: PN1PR0101CA0006.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::16) To CY4PR0701MB3633.namprd07.prod.outlook.com (2603:10b6:910:92::35) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:CY4PR0701MB3633; X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3633; 3:aFF2rr0YVuyVS7tFC9lUj4PS3d+1HYGu1Fj7qSlMsl4VumoI6sqdhue/y6soxWcDqLVl26+Cy+X7wrrz8wMjmgg19IU12FZjcMkr9QVz4bRgljK0/wpGZF7g99TLfUSR0tFo+sjq1BGR7ZfZpY0cPUeCH4jdwAx9HpmDxZ7ZyLdKYOjR97KW6gnwci1uDG4pRjIuAlTxjTnNkaH39RH4y3VRTmkfArNBmLXm9dfL8J+ZOufmQVHlD8ErIR4KQ5HI; 25:o6+mIsxQhnuD+LU4y6m2LE4bl2txsJyvrCeyRa/F7MFS0Oxktx8hj3mxDvvxKAbkgWTEWZE1t7hf8JrHodAtGoVIFXJ9AGb5GdHPwMv1mAptA/yywcG97bgVaYiY6Ghrjrmd0IUShfr+erhEYcklCcK8X/iku8py4TcS+ddXg6KEV5KjddHIrtyJN+yh+Y566TujFv2rs1ga1bcGtYhCbSdYXYUUvGBoUCkpVtc91KrMPgsQdErQi1AveTMkwP4lEZpzwuvE1YVPCSXEX4/LnRe2FQ5DExth1DBVDB/fvNHqjeOUFaV0rHpW6eucjPo7nosw/81BkU2Xf+Hkey5jVw==; 31:I402edsqO+C6vPk92Dl11DxlN/FrgK/RG1Ms08MKZQraWMVofU+4p19arw+v825RDIufNH+mwGy1gcsFNs6EygUfMew1pKL9tpCyHjuN43aDR4+IYY7SzhyN4heP2gkPrV3SmPX16/nAPXFm337YtTZ8c/KHV8t8gVeM7wFzGQEwWGxRqN89XgRu9gE6TZ4fbEXxj80PfNVOIuny0qGQi0MaqxXWUkIuD3rS0cm7zt8= X-MS-TrafficTypeDiagnostic: CY4PR0701MB3633: X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3633; 20:hqBfzP0Gb458b2KiEMf4pmXlZkxeAz1mqKhmBjN2NxQnOwWjqqBVj0hrwKjncf0LTlLX82Yd4HCczdNgOgcIwq+hJU8DvG4wL+rbxrP9RDABJ8iyKvK1AQYUwTUF8ycFSE7mH7fHZR2vLekdzrTwYT2SZNSVIXiLht+FP6VUFdG1aPScjTI48ogOKnYyGz8Ohvq90sTAqyB5gY/FDZO9zMHSJdHhJ81FkRqlSPQmx8EFhKlCOIP9pN4V6p0G5eSlLl73FLK8Rx03o3QY7WdsmPlpkPA3lex6oKhspLVhcuaChVhvVmKQZWz+PhkZfXPrWOjZsCJvsA30Ns3m2wZN966Wvd0yZkdJD4QI/rsdxXkyLzjM4GKzbEwaPgAD28vTP4ywbr3lBsjp5rXBNCknMJry3R2ZCALcvmF64Vx8ncTkYzjgKFyeISk6gEBlgFffwED01qtT7UFyQfYsFeYPJFomz6dxCyMUnCfBf4/SpAvaPvXzva69ma2NxKFChExOPX8LkpE/a/Cr45URQcm/LR0OMjYV9Ew7wlNMLEXH7NrAcgs3s1ymqJP5kKzeuMtvDNGn4w1vE78L9fe4UAkF3COvIbYG/x8LnPtgG+X2/7c=; 4:y5e16rb/fRilh6h8yfNoyaF4Doma8hRlmKAX3ZrEl6dfvja0Hy8RGah1s4FCj/ACL8dAnMPq0fAAc1X4DofctAiH1Sl9m1WEe3+84aG/xTBuj+ED+SnAc0cgkClHQKlo0Ivi4sNTufUjYqxxkK5PDgosSOKcGlp35BXxUDSgYrETBVJ76lvZ7r2pGyj40ajoXszcm/Kbi44SgBNhVtWrBeJnWlerLQQ+hhyEQX2xDqzT90uVkVuFrh2m4FRgkbcT6UvUhCfYhsAPI4eGbz9JL1ZoWswcmim2UTGj3At1fNHyRuIqPT8egSwOb//xuumE 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)(93006095)(3231254)(2232076)(944501410)(52105095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:CY4PR0701MB3633; BCL:0; PCL:0; RULEID:; SRVR:CY4PR0701MB3633; X-Forefront-PRVS: 0694C54398 X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(39380400002)(366004)(39860400002)(346002)(396003)(376002)(189003)(199004)(6486002)(956004)(476003)(36756003)(97736004)(5660300001)(316002)(386003)(25786009)(50466002)(69596002)(44832011)(53416004)(2906002)(186003)(48376002)(42882007)(52116002)(16526019)(6512007)(486006)(8936002)(6916009)(8676002)(53936002)(6506007)(6116002)(3846002)(81166006)(105586002)(81156014)(2616005)(2351001)(26005)(47776003)(51416003)(72206003)(305945005)(6666003)(107886003)(7736002)(16586007)(55236004)(106356001)(2361001)(4326008)(66066001)(478600001)(50226002)(68736007)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:CY4PR0701MB3633; 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; CY4PR0701MB3633; 23:kZJe3v3wEc3wFJK9yECFproPC1dp30S2ddI8bTm?= =?us-ascii?Q?n1TPrmfyp5APE9nyJ5ndYZkU/3wKiO0suWlq5LwYeoBxMfHPPGrL0463CZ2n?= =?us-ascii?Q?ER+KVj5P+cOhMeScvgJdlKVmbJJUnGCpqQtf1fnXX0Jc5ByukXUcamaylBRN?= =?us-ascii?Q?Xp4sE6zwAKOUPhhR60Ihw539qNpEQIB/9gOrKTZ05UOcunWtgoK4069hcv5n?= =?us-ascii?Q?LrMAyym5TjTILwy5MDzmUpiW+Cq9Jq3w9XaChc6w27z75XEyMn/yJWbm9Fxy?= =?us-asc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7D1A+RLL8I2OlkWNBcB0dxIrhlTKFvk3kGQdmIvd5ebMlJiIYaENnCaEgsUZpLy9+BPSDshfGjIcBRYn/wDFcg1IVmjwaJ8rBfCNvsgpQI2jKM0pC+SG6CMCV0t0u9jlj/vzkgb6ao768Yo56TUAO6otIlhToX8tiPqiQf63d0eDg6XYT1k/fS1+mIZt9EPLsEJIsNQoNyAwp7PYQnXfz9KpVHOzYhH/xGjZn5yptKj4OoX3hMhmp4b97omQusUa+nM2wDIX+5ybgzS8Y6A9u9utrssszbG8lxAgw2YRJvvdcbs7qk8pnvhCaLY7U1mW1SU; 5:FsFEis3V89Hl5V6H5qXhtGG4CAqqaIxyZNigbc4IhG6ED/8GO1Yx8qOnIX3PmGrO8SN+RuHDqIMJ9kYtKGPpe9MSxcHuXvanshAgggOf7zEFP80Pfq4Qxz6l4QbvrOgqXMkaMeKBsryx+eNYeHbQV3qPxS5wtScLGmT6veqd7so=; 24:mcEIm2Gl5gusqHAjc1pRHsjVThLNxl8LwcZn0kC8ZOTj+V0QLqbzls4fFaDFvJxdHaak17ZPD2LxBSplNHd4Yg== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3633; 7:RL8C+kGy+/1gyzXc7SNuNbJsIFz7vFlVqi2q293p6CU2PpVJ7NfNejRfTzKFR9nDSuxuEwJV5yZoKWM9usaOrOpkYwnUzHx9mMUUUvLFLe5BP+PrbCITqgSFliX07CHrWTZGzfUG2IeRSDdcqSzPg2ypsT9Q4kQ9TBsHydudqym0jRwpewv+a8w2hOs56MwSbc6ZViyyySLh3MTjSFeOQdJwWyP3E2bxPzDfG7j4V2C2QhHOIB2XpHF2FI2d/qNk X-MS-Office365-Filtering-Correlation-Id: 9326eed9-e8f8-4134-4d07-08d5cad01ee2 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2018 10:35:54.3418 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9326eed9-e8f8-4134-4d07-08d5cad01ee2 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0701MB3633 Subject: [dpdk-dev] [PATCH v1 0/7] compress: add Octeontx ZIP 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, 05 Jun 2018 10:35:58 -0000 This patch series add compression PMD for cavium octeontx ZIP module in DPDK compress drivers. Currently PMD only tested for deflate, stateless compression and decompression with direct memory buffers. v1 includes: Octeontx ZIP PMD implementation Confuguration and Makefile changes to build Octeontx ZIP PMD Documentation for Octeontx based ZIP PMD Changes in driver/compress meson build to support Octeontx ZIP build TBDs: Scatter Gather support, Stateful compression/decompression, test for performance This patchset is dependent upon compressdev API. Ashish Gupta (6): compress/octeontx: add octeontx zip PMD support compress/octeontx: add device setup PMD ops compress/octeontx: add xform and stream create support compress/octeontx: add ops enq deq apis test: add octeontx zip PMD for compressdev tests doc: add octeontx zip PMD documentation drivers/compress: add meson.build support config/common_base | 6 + doc/guides/compressdevs/features/octeontx.ini | 22 + doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs/octeontx.rst | 116 ++++ drivers/compress/Makefile | 2 +- ...rsion.map => rte_pmd_isal_compress_version.map} | 0 drivers/compress/meson.build | 6 +- drivers/compress/octeontx/Makefile | 33 + drivers/compress/octeontx/include/zip_regs.h | 721 +++++++++++++++++++++ drivers/compress/octeontx/meson.build | 10 + .../octeontx/rte_pmd_octeontx_compress_version.map | 3 + drivers/compress/octeontx/zip_pmd.c | 647 ++++++++++++++++++ drivers/compress/octeontx/zipvf.c | 178 +++++ drivers/compress/octeontx/zipvf.h | 343 ++++++++++ mk/rte.app.mk | 1 + usertools/dpdk-devbind.py | 9 + 16 files changed, 2094 insertions(+), 4 deletions(-) create mode 100644 doc/guides/compressdevs/features/octeontx.ini create mode 100644 doc/guides/compressdevs/octeontx.rst rename drivers/compress/isal/{rte_pmd_isal_version.map => rte_pmd_isal_compress_version.map} (100%) create mode 100644 drivers/compress/octeontx/Makefile create mode 100644 drivers/compress/octeontx/include/zip_regs.h create mode 100644 drivers/compress/octeontx/meson.build create mode 100644 drivers/compress/octeontx/rte_pmd_octeontx_compress_version.map create mode 100644 drivers/compress/octeontx/zip_pmd.c create mode 100644 drivers/compress/octeontx/zipvf.c create mode 100644 drivers/compress/octeontx/zipvf.h -- 2.14.3