From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03hn0228.outbound.protection.outlook.com [104.47.40.228]) by dpdk.org (Postfix) with ESMTP id A6B9F1B500 for ; Mon, 2 Jul 2018 18:55:47 +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=X5Lw3X9/ekZCZE9tGrgeGrpwUkR1meLijQTItnOJgG4=; b=Xb8DkgwtKuArRHZatU76f0DZC3cs53mTkCbWDJdDq9UEOQNvm6EgE/Cm+4mlsWD4uTkk1VWOkL5DgHhLhS3L6Ho6mWWhYDHhYIGCws2vKJWUuz5tfhO2t1sMzeyy5ENMZGxjPcV/U6Peij3nlWVFlz6JCcZAZdlY0GFJHAaPydw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Shally.Verma@cavium.com; Received: from hyd1sverma-dt.caveonetworks.com (115.113.156.2) by MWHPR0701MB3644.namprd07.prod.outlook.com (2603:10b6:301:7d::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.20; Mon, 2 Jul 2018 16:55:44 +0000 From: Shally Verma To: pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, pathreya@caviumnetworks.com, mchalla@caviumnetworks.com Date: Mon, 2 Jul 2018 22:24:31 +0530 Message-Id: <1530550477-22444-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: MAXPR0101CA0007.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::17) To MWHPR0701MB3644.namprd07.prod.outlook.com (2603:10b6:301:7d::37) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9479560a-32b4-4978-6577-08d5e03ca7ad X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:MWHPR0701MB3644; X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3644; 3:qPgSENPFdCY/YZzpI4LA9FlBvm6xGT722ua1Gmv1upPTw/D8ekK8cK98PuCkvtQjrAZtKeQxLCtW8X/iAI8cN+qNpRuiqAqlY3LLzi9e3gJ6SO8q/MMlib0F4n3xmqG8iLXaEtW2JL/uTMH1xjetHzaTZv/sSq6PkJ/R6MtpfItckZ+ehGKMyTaWPQ1Y5itNmPSCQ+h9HeUtwXgFwVdI1J5lY4plS1RimzKp17pYqxyrlWD0KJzgajaPOfoQ2t37; 25:6gWheo+vOU8oRIip+Gfl/eCacYen8j8NsJ2R/HElw1xU3HC2SxCF7kHuIP9Oe0empUq9QFwrdxwB8rA34DeMwEp9OAPMGEGqEzcB9jA4HiaKSzMQ5IB30v1aCV3YGq465tFUcsfG47MUfhhHO3CMpPoaMzTvJzDRcSIPopWpGdOQHMUBO6IGiQJYCrvD4x4sGz2+2tGUaJlegOPpSZV3FB7mmr3q4Y5EfQObIFGiBg2DFyQ/XBgmRqeMT24SCUJDBjBk34JFjFme1yBcdEe2IT9qinSeAbVOMArNTSXgoPmRB3VWmDN5uM2Nx3ai2h1Cd3h2sRG+BzAxa6Mi4JY3OQ==; 31:tMA3LW2L9rayw6sHhoocdR7qskwiOBuazds8uv9KLi4KXOSwQn2NiD41YG8zDO0/RqKol/K+KoyWOV9H1WB1NOWFLVPzfloymJu/3TnPj74eRrFca64fqa0svXD1xXCMfFgE8xMO4WwF5hxeVg6fDhsyjJXd6dbZGTidJFsciKi2lug/W51ZlfuQ+O9E0EJn3joiNCE1j5pWmse/c4iibUWaeh/lh+/il8gQT1AfA5k= X-MS-TrafficTypeDiagnostic: MWHPR0701MB3644: X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3644; 20:nygf7U95hbww6eKUTKMwfYL6HQNJ+r62PKaOQgu9AweYtF93mjVDBZiJ0n+ShHfEeDp0mmVUoqo8euNGSZK1txNJKTRNpPWT4ql7ojorDNuqRjBQCrIIyx1AedS43/0g2mtDpwBh6SlyvHGxDhjisabPitG7aMyAhudj1K6AJR2Cd0IAb9LUNuNOzs8SojGxar1fADzpumgELvBqequonbupi06bAHHx8u7U01sTYHXSt6nYQeWsOU/RMb20y14ONDMSICS/v2mtFYbVV8KPrip1LYlHgPDa9OBU4VuH4PffySpRIQhxyktcRBMLzxrBjoit0Hi4o4kDBnjfk4u3uWUVLzt1loXS8BpZWmpI6/auCk4cT9yGNfOF7KSE71tH99WSYA6bstYlHQKgZ2woqwZI6xDxtjUrwxAceHhGlW0XyuSl4aK/a9eKWI9WrXKsuvKpi4mXW2V1DRPbd24oZVzweYwlhR5Ior6j2wzozmjyFqJVhpzcXQWzOvrZkEvzCD4KBv9kyBDkKL8aFX8j1uJCUgAZ/D/nubRA3sVLSJT5ABAidiRxxT0yvIzngTEHLHE+GBdsrgiaHA9mjY366h4JclImwfJoS0HqMBxrzFw=; 4:TwQqcYWoy6KaEQrcqHyJLUz8mrhgh3FFGfqG3elQzcHjwQbRpwdhAPUhSFfxrHchVdh2KMuTYHl5eHdCFFqYB73jURqw4zAkuVbSBS4ghGrcavYy8VBMBQkIfV36lWgZ+slDaQeJUdGQ15vT2MOcx2C4NCGn4lutee5ti7LrMtAvThexhfvdFezuOM+sc+lbcs9ZC+OQ8bAAbblEc7lJbH34zRRxWhGCBf8LBKOZa1ZK2HsJ5akRYZsaqquCpCoJCUKJXMpOoDUUbCkNotNgLJof/s3CqQDkSkewKGR4dHyUoQbNSOnOTLa0GuS5A+W5 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)(93006095)(10201501046)(3002001)(3231254)(2232096)(944501410)(52105095)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:MWHPR0701MB3644; BCL:0; PCL:0; RULEID:; SRVR:MWHPR0701MB3644; X-Forefront-PRVS: 07215D0470 X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(979002)(366004)(396003)(136003)(39860400002)(346002)(376002)(189003)(199004)(6506007)(25786009)(55236004)(107886003)(3846002)(6116002)(16586007)(2906002)(14444005)(186003)(51416003)(52116002)(16526019)(4326008)(6486002)(105586002)(386003)(36756003)(6512007)(2351001)(42882007)(69596002)(72206003)(2361001)(53936002)(26005)(48376002)(50466002)(316002)(68736007)(478600001)(6916009)(476003)(81166006)(66066001)(81156014)(8936002)(97736004)(8676002)(47776003)(106356001)(50226002)(2616005)(956004)(6666003)(44832011)(53416004)(486006)(7736002)(305945005)(5660300001)(59010400001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1501; SCL:5; SRVR:MWHPR0701MB3644; 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; MWHPR0701MB3644; 23:rAFy7WqVC0Ptcc6tQ2hkD4KIyphsZfG/xgoK83g?= =?us-ascii?Q?+lx/pIr7+tSc1ZMEwSqvTnS0t7d8qbSRqAJKNfJo6nBzcYsvP59BalHwBuJu?= =?us-ascii?Q?aiQZAJeM5KX9OImPIeb/qjcufZlV+/cW/UiMZanyZXC3Kli1YZcbiV26/TNm?= =?us-ascii?Q?McMQ/Q8W+ng4gQ3hin5dL2TBqHaog0nFM7EJaLAW+i0eDzCcLhYZnsHppK6d?= =?us-ascii?Q?baOjzxByZk9jbWSpE4pfABqJ8coyzcz1kloNBAZFODtQc0rW5Euz5zuJv80S?= =?us-ascii?Q?P86RYYteuB9ur46j841pIsq99+oBH5sngDVGbrykV9zBeSRYvng7D5w8vgOI?= =?us-ascii?Q?tyerl3mwTxMBXNM8e+WVUrtRKiUDXEAkEQAkUzoMQXM1b1+DhB40bKoi5pvr?= =?us-ascii?Q?WIKFIpT9sTR0PpAYwSi+hYSKN0s1vRDdZiL70yW2FA9WKy97nNTFXjoLUnVG?= =?us-ascii?Q?3Fup2SZBHXfBtIjH02P9TF++dxt9gcu1zDOcTusyg7qC9r3MX9xEqU0vf7AR?= =?us-ascii?Q?+bI32e51qdZxKWKfakmSyZmJVyoPq6opMIA6V/IUUJ09x07gx6jdUVyDkqyy?= =?us-ascii?Q?+d3XSpvKzd0sa5NO9nvO4uL3Y/5DUD4ihoHIdmVY7P6+5hOM9xR1WrQhXBYz?= =?us-ascii?Q?6TnzH5Zggm3t50IhnUjrbphgiO5/N5jsknpvnRcqLECL50L3rn5oohkwJJSX?= =?us-ascii?Q?INtMk5seNRhrqDAtoQd27cnRxrzPYrqR4g7eGM7yc3sIp36fp3lc13SCt3da?= =?us-ascii?Q?ieyqzpVR4rEik0etvThq9HYbo1olbETGaLKQzwyHkAE5TssVMR7GygUup1oI?= =?us-ascii?Q?ctQcPBj76IyvZUwxFQinllAGAwdRBvIV5p0g9+FvoM6Ea73aGmNpxVh6RXwV?= =?us-ascii?Q?iGxkswTWFEE8Tk2uE8nvh7b4Bev07fYtizg+trvMesyNskyK9cL2aQuo6jGU?= =?us-ascii?Q?/cYLMb5AviykS6HsPS+5XYCKmzY5n35prs21dcSwMmmcPlIM+pwS8cmJ1QOj?= =?us-ascii?Q?tB7/aMPxH8xgTfyyMvCd/jJ60LIzfdZMVPuBBZot1A10iX67c4qqOI8n4POV?= =?us-ascii?Q?gGSSp57p0X6TkKEss3KNML718fUDZAdTxp8axBEOkLvRHL2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lzOYTMzteonBwXbiTOkO0vahf+wVS6UW3L82TiU2ZJr6/gk1EHwrbt1QiT2Es67tYEUYbCCUwGmn+Wvj3iwN1BeS3OaVxX7P57BmHZZA== X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3644; 6:tQeYBq6r3r4tUdvzKndsG7sXGbm41ihKxWKO72enIvfwa/ixslv2hqtE/jWmDQF6HcHTCwuyF4AucED10PWhn3Vwwza0/XIgUOy2hzVgfdoQXzmmZQwqbGU/1vyHZqp34BdHceekN/sS5T6guPkaPihIm9mu1cM+M7S5HNV075vSb5h4zewDpZo8JRd2UWlMTuWmJzIOKmRSEl1R58DGA7ZoEApsRQw0wFWGXL1uqSPRwMjjMcpq+2XCiJ2LVF21dclSinwGyd+s9/2YiApUXKQ8UhNsVAVHK4BirOQKY2cBouWfKE29VMznWgAu7RfYS+0OJqdxlNS8N5L6j/MaKec3NwT53NzILwBt+lVyBmsu3TIO/efVkk7iQ6dG7iKTfyQieGhhmN0a3GnOmZhB3lhv78f9oLuuyi7Zgf508sF6vS3LqW//oyEe0/MmWgRfXPOkbZoqmQ/l4l8TZAyAMuGzyvcoWHcDl4xUSKR//HfWIpLbWoUlfSU5IwWBHudQ; 5:RBZQoYaGRs+pma9wmwLtmdwvSQLsqD3vyfOfehDda4UElh7nOUTfWOwbXgktpcWfd8eHKJirl7Pr+5C9ha2VUIswTSOS51832XcytN1pHdih/JAKnuX67xpciA2fHGMA3PjUeHhcN5WMVIHNiRgZ/N4axvMagOKQp761KCZfEzs=; 24:PvWCwbVlcz0ZxxAV+JMVbJMh4IizkdNUfevhUwhQ+ULvOcqFfhranHWR9vnE3pBYy2PVj/JbuLCfLqtn2EcCdg== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; MWHPR0701MB3644; 7:BBKyC1nXO5DIPNuqgrHKRDp500CukOxJePsNbzecDiscSOCDvTGGHkHVsZfuRSV2GppYTRHy3uFwzD85uCqSU6EbvnuowNyII+pxH3Mt/yyXAd8fhq9T0fpePZhCI+CHBWWdzb8oB0iK/L4/KSHygyaa0RZdg7omxm9a2AYVhRhvyHKCrXchXWTJ8LyDiSin1xpOSVW38eL7hbNdBz4Dqrko0tv5Jp/pSg3aWDx91ajmo3F1yvjXdOvoNj/+SlGM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2018 16:55:44.5017 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9479560a-32b4-4978-6577-08d5e03ca7ad X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR0701MB3644 Subject: [dpdk-dev] [PATCH v2 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: Mon, 02 Jul 2018 16:55:48 -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. 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 support 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 | 22 + 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 | 721 +++++++++++++++++++++ drivers/compress/octeontx/meson.build | 11 + .../compress/octeontx/rte_pmd_octeontx_version.map | 3 + drivers/compress/octeontx/zip_pmd.c | 625 ++++++++++++++++++ drivers/compress/octeontx/zipvf.c | 185 ++++++ drivers/compress/octeontx/zipvf.h | 354 ++++++++++ mk/rte.app.mk | 1 + usertools/dpdk-devbind.py | 9 + 16 files changed, 2081 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/rte_pmd_octeontx_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