From patchwork Thu Aug 2 15:09:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Jozwiak X-Patchwork-Id: 43529 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 273B91B4D8; Thu, 2 Aug 2018 17:09:34 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 545E11B4C9 for ; Thu, 2 Aug 2018 17:09:31 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2018 08:09:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,436,1526367600"; d="scan'208";a="77750099" Received: from tjozwiax-mobl.ger.corp.intel.com (HELO localhost.localdomain) ([10.103.104.43]) by fmsmga001.fm.intel.com with ESMTP; 02 Aug 2018 08:09:28 -0700 From: Tomasz Jozwiak To: pablo.de.lara.guarch@intel.com, dev@dpdk.org, fiona.trahe@intel.com, tomaszx.jozwiak@intel.com Date: Thu, 2 Aug 2018 17:09:24 +0200 Message-Id: <1533222566-17685-1-git-send-email-tomaszx.jozwiak@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH 0/2] common/qat: handle offset greater than first sgl segment 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 patchset fixes buffer lengths and SGL filling to handle offset greater than first SGL segment. Tomasz Jozwiak (2): compress/qat: fix buffer lengths in offset case common/qat: fix offset greater than first sgl segment drivers/common/qat/qat_common.c | 77 +++++++++++++++++------------------------ drivers/common/qat/qat_common.h | 2 +- drivers/compress/qat/qat_comp.c | 19 +++++----- drivers/crypto/qat/qat_sym.c | 18 +++++----- 4 files changed, 53 insertions(+), 63 deletions(-)