Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75E52FA372A for ; Wed, 16 Oct 2019 09:40:54 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 27B742168B for ; Wed, 16 Oct 2019 09:40:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 27B742168B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 78F4E1E8B7; Wed, 16 Oct 2019 11:40:52 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 597531E54C for ; Wed, 16 Oct 2019 11:40:51 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2019 02:40:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,303,1566889200"; d="scan'208";a="279476705" Received: from atrybulx-mobl.ger.corp.intel.com (HELO build-VirtualBox.isw.intel.com) ([10.103.104.115]) by orsmga001.jf.intel.com with ESMTP; 16 Oct 2019 02:40:48 -0700 From: Artur Trybula To: dev@dpdk.org, fiona.trahe@intel.com, shallyv@marvell.com, adamx.dybkowski@intel.com, arturx.trybula@intel.com, akhil.goyal@nxp.com Date: Wed, 16 Oct 2019 11:40:43 +0200 Message-Id: <20191016094045.19895-1-arturx.trybula@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191011174613.4770-1-arturx.trybula@intel.com> References: <20191011174613.4770-1-arturx.trybula@intel.com> Subject: [dpdk-dev] [PATCH v4 0/2] Add overflow recovery for stateless compression 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch adds out-of-space recoverable feature for stateless compression scenario to QuickAssist compressdev driver. Unit test was also created to verify the new feature. v4: - if a device doesn't support out-of-space recoverable feature, then instead of "failed", "unsupported" result will be printed out on the screen v3: - rebasing onto the recent master v2: - rebasing over the external mbufs Artur Trybula (2): compress/qat: overflow catch for stateless compression test/compress: unit test for stateless overflow recovery app/test/test_compressdev.c | 280 ++++++++++++++++++++++++++------ drivers/compress/qat/qat_comp.c | 28 +++- 2 files changed, 258 insertions(+), 50 deletions(-) -- 2.17.1