From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02hn0201.outbound.protection.outlook.com [104.47.36.201]) by dpdk.org (Postfix) with ESMTP id 800C6235 for ; Fri, 20 Jul 2018 20:42:42 +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=NS2Llb4yMpOcdr8ig0XtgPp4AJo2fVkeEB9zMRYM95U=; b=YOi4QccKDy90shvwU/QVOQRmYI8D5y3vtMbor3GW0nn+HNzjrg/zfknhl/b+lieltWz0shSIAr3mqwZtdn7dHtHPKxjGruEujJIahQ3K78rsQe8uUaW2mSarIMH6NzNN1agwVNLd0W8GT8ZAUwTmYegmtNT7B+DTfJQi+9OI8N8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ashish.Gupta@cavium.com; Received: from hyd1agupta-dt.caveonetworks.com (115.113.156.2) by BN6PR07MB3057.namprd07.prod.outlook.com (2603:10b6:404:a8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.16; Fri, 20 Jul 2018 18:42:39 +0000 From: Ashish Gupta To: pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, narayanaprasad.athreya@cavium.com, mahipal.challa@cavium.com, Shally Verma Date: Sat, 21 Jul 2018 00:34:41 +0530 Message-Id: <20180720190447.7979-1-Ashish.Gupta@caviumnetworks.com> X-Mailer: git-send-email 2.14.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BM1PR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::23) To BN6PR07MB3057.namprd07.prod.outlook.com (2603:10b6:404:a8::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a3f67854-47b5-4a05-bf04-08d5ee709302 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600053)(711020)(2017052603328)(7153060)(7193020); SRVR:BN6PR07MB3057; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3057; 3:O9T7pqCgJYjhBbi8l6AzF2SAoySrNOwQQkO3zpEePUFF1TGTxzNTbYD9kD5a1VjShpqjZd8rt5yCegitQgJifuYASe4pQLnc4Hobp6ttwwnzuqFoL7s9b0CjsgaIGWrQd0SDyxsD+AtPA98gwAL3mHWyuxSpIgBGBiJKT2D9iYYqiW/7B7+InP9CsESadbfSGQCbNeOWixeVVjt6bggI9Gd/98vc/xKTXg9Y/pHIHfgVnQ3BpmylW1mCREtQPVa2; 25:/svNhs+YJnkUL67sMeY5pJa78oz7JxfIGj4CCP5Rwpf3nisXJnXPP6CIhBzKMRrSYSICZ+jqisAs+mAcg1XjrF0gkrXGYMmL4PeutrL9DqqDSau4J6F2xmY8atc2oFy91X0iQtdEkVul+7sCUZLErOEZ2vYoyHkjBllCPTy/cywiHrVmV58HLbnWZoiqxmz4TsPB/xNm0zDlJdEu9U6Cfv+bgfLRuwP9n/TnaZ6buEFPmTuPawGfU6xDpDT3pGRCeCt/R9JSxRx93j4uGmGoa6xVmXZOin0/gE157NTbtnHGVpU6xARYuW7SvKeAWbYzyDJIYfSA8JGBRN3wKwI+Xg==; 31:aXd4agETRtCZ7hneerugJ+8YM/6Nyb0M3TzrNZUQL6h3dNG169D7TPxmmeAMg/HCpTujfG/3XMqZfUpXZW4NfvmXAEpPitiL53cDPAyOxYY/KyGMkczB2BP0U8lHSJO+EXqz27t7/d01xO0aX7AQyoofw3kZbNXLjaFlVlP2u0lrZy0Y17fLAJQ0sSdXow8HGCWppAlAE/x4qUvbn2E+11yqRtfqokQ0Goju37ajxHg= X-MS-TrafficTypeDiagnostic: BN6PR07MB3057: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3057; 20:XFTTQTOIZZJptC/uAuwXHYkZVHqcyH8ENaj3dINSPVb4q500WVNVTgiP6NeoHboookaS4PSdcR4O4KcVTcDzKVklAFohxiFkt9Mve1n1n6WrbqWeI7CK2+JptNgKvQsccsLXT0Q38VJo83XroNOpEKNl/WJtndZVKXi8ZpKlWXDOTSjPFZghi87LL2vRPuElF2cJ5xvxThv0znazhla0pGUj2Zf1VZ4JcIchb+1Oku26kayY9KPogNi+jXEvQ+wZKg6dv7BUj/PrWiM9S72JCu1cLNgvc84qKerdlJTRRpTKnzILHxcEsTxmQhXnezvhRDILEvopT2mWqrOgCfblvaPgYt2woz8Uj8c2KHC7jIPT4K2bdFpVDN3VSy7sHUZdLetFpydSgFfUUDf0caQCnZWfnFujlILKxlvE7tykH7ALDiB28uBi9IJ78oKBDcfDaSMEKIZnlcmVRH70xDOF0c3IK7/aTOrUofSCaSF+Z6XO4DoCk6Zm+HINWjX/PHQ2HzhPieWoDmr7RsIAi2f0hsjtECtsG3x7aqs4hUc4CXxFBoad1F63pG7Lq07h2emaNRlX81ZlrHft59rsTPkQoxub2iL56CR10oBDQF+HG9g=; 4:mtZL/g6OLULvgwDn4mtQn9zHo5TY2WeJXYTIyiW8MmSPeIGjvI4qWl4EtSitwLTT2S2N6QTLrTimZBEHD7isgMZPoa5zwzGDk6JJV/509gs1ZTj1QcDDxUU8OkfBQPtljyarpWPOqsSefved3P83Bl3tw5Mf690C4vRVAt8zgVBEonbceuxcW+utm0d9IjFUw5N7GYt3+VUgeSeL45mPXQ+xcMYtDv48xq/KTtCx1eyDQZy+VX1kUCtwAfIoRfnhGx26/WW/VqoQwGhZQdyA7z2Ci+uAzZoeYY2qLMKjpoe4h/33pQYtgeUAhvFpty8p 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)(8121501046)(5005006)(3231311)(2232096)(944501410)(52105095)(3002001)(93006095)(10201501046)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:BN6PR07MB3057; BCL:0; PCL:0; RULEID:; SRVR:BN6PR07MB3057; X-Forefront-PRVS: 073966E86B X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(136003)(366004)(346002)(396003)(39860400002)(376002)(199004)(189003)(186003)(486006)(107886003)(956004)(476003)(2616005)(26005)(6512007)(16526019)(8936002)(81156014)(97736004)(81166006)(55236004)(7736002)(8676002)(72206003)(48376002)(4326008)(2351001)(2361001)(25786009)(6486002)(16586007)(53416004)(50466002)(316002)(105586002)(36756003)(106356001)(42882007)(478600001)(68736007)(69596002)(14444005)(5660300001)(6666003)(6916009)(66066001)(50226002)(47776003)(305945005)(1076002)(6506007)(2906002)(6116002)(386003)(53936002)(52116002)(3846002)(51416003)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:BN6PR07MB3057; H:hyd1agupta-dt.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR07MB3057; 23:wP/fp1Kg4gH34a/lygCOdqM3uZLe+TJa5nsCKOtm3?= =?us-ascii?Q?KA04RF2609PLQhcq0G49BXgkU+E+D2jdIXA8ouM5hqmp7A4jYml0qqiQKC99?= =?us-ascii?Q?KUFZMgPssjwNtScaGm90pVPirMjTnRs4JQaPwC1pq4orspgjJZqA5IcE59PX?= =?us-ascii?Q?giW0b6H1iI1pkeh8yUFNhirWeKeNw/IPx1nLJVBTbMGz95/KvHyZGZl4cXAf?= =?us-ascii?Q?6ACuIcVXelja+bA7n6P7HVevFbRliMP8GlY5OO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enant-Network-Message-Id: a3f67854-47b5-4a05-bf04-08d5ee709302 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3057 Subject: [dpdk-dev] [PATCH v3 0/6] 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: Fri, 20 Jul 2018 18:42:43 -0000 From: Shally Verma 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. Changes in v3: - update doc - add comp feature flags - remove stateful pmd ops - update pmd name and logtype as per naming conventions Changes in v2: - enable OCTEONTX_ZIPVF bydefault, and remove static debug flag - fix meson build in compress/driver/octeontx - fix 32-bit compiler error - remove global declared data structure - header files in alphabetical order - update doc with correct feature support V1 support: Octeontx ZIP PMD implementation Confuguration and Makefile changes to build Octeontx ZIP PMD Documentation ZIP PMD Build support in driver/compress meson for Octeontx ZIP PMD 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 compress/octeontx: add device setup PMD ops compress/octeontx: add xform and stream create support compress/octeontx: add ops enq deq apis doc: add Octeonx zip guide usertools: update devbind for octeontx zip device MAINTAINERS | 5 + config/common_base | 5 + doc/guides/compressdevs/features/octeontx.ini | 10 + doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs/octeontx.rst | 107 ++++ drivers/compress/Makefile | 1 + drivers/compress/meson.build | 2 +- drivers/compress/octeontx/Makefile | 30 + drivers/compress/octeontx/include/zip_regs.h | 712 +++++++++++++++++++++ drivers/compress/octeontx/meson.build | 11 + drivers/compress/octeontx/otx_zip.c | 183 ++++++ drivers/compress/octeontx/otx_zip.h | 352 ++++++++++ drivers/compress/octeontx/otx_zip_pmd.c | 640 ++++++++++++++++++ .../octeontx/rte_pmd_octeontx_compress_version.map | 3 + mk/rte.app.mk | 1 + usertools/dpdk-devbind.py | 9 + 16 files changed, 2071 insertions(+), 1 deletion(-) create mode 100644 doc/guides/compressdevs/features/octeontx.ini create mode 100644 doc/guides/compressdevs/octeontx.rst 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/otx_zip.c create mode 100644 drivers/compress/octeontx/otx_zip.h create mode 100644 drivers/compress/octeontx/otx_zip_pmd.c create mode 100644 drivers/compress/octeontx/rte_pmd_octeontx_compress_version.map -- 2.14.3