From patchwork Tue Nov 27 15:10:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Daly, Lee" X-Patchwork-Id: 48350 X-Patchwork-Delegate: gakhil@marvell.com 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 AACBC1B45D; Tue, 27 Nov 2018 16:10:48 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 2A9671B116; Tue, 27 Nov 2018 16:10:47 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2018 07:10:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,287,1539673200"; d="scan'208";a="91011954" Received: from silpixa00399501.ir.intel.com ([10.237.223.69]) by fmsmga007.fm.intel.com with ESMTP; 27 Nov 2018 07:10:45 -0800 From: Lee Daly To: fiona.trahe@intel.com Cc: dev@dpdk.org, Lee Daly , stable@dpdk.org Date: Tue, 27 Nov 2018 15:10:24 +0000 Message-Id: <1543331424-53895-1-git-send-email-lee.daly@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] lib/compress: fix incorrect structure comment 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" Fixes incorrect comment on compressdev rte_comp_op structure element. Comment needed to be updated to be compliant with the use of chained mbufs. Fixes: f87bdc1ddcf4 ("compressdev: add compression specific data") Cc: stable@dpdk.org Cc: fiona.trahe@intel.com Signed-off-by: Lee Daly Acked-by: Fiona Trahe --- lib/librte_compressdev/rte_comp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_compressdev/rte_comp.h b/lib/librte_compressdev/rte_comp.h index 395ce29..ea306d5 100644 --- a/lib/librte_compressdev/rte_comp.h +++ b/lib/librte_compressdev/rte_comp.h @@ -310,7 +310,7 @@ struct rte_comp_op { struct rte_mbuf *m_src; /**< source mbuf * The total size of the input buffer(s) can be retrieved using - * rte_pktmbuf_data_len(m_src). The max data size which can fit in a + * rte_pktmbuf_pkt_len(m_src). The max data size which can fit in a * single mbuf is limited by the uint16_t rte_mbuf.data_len to 64k-1. * If the input data is bigger than this it can be passed to the PMD in * a chain of mbufs if the PMD's capabilities indicate it supports this. @@ -318,7 +318,7 @@ struct rte_comp_op { struct rte_mbuf *m_dst; /**< destination mbuf * The total size of the output buffer(s) can be retrieved using - * rte_pktmbuf_data_len(m_dst). The max data size which can fit in a + * rte_pktmbuf_pkt_len(m_dst). The max data size which can fit in a * single mbuf is limited by the uint16_t rte_mbuf.data_len to 64k-1. * If the output data is expected to be bigger than this a chain of * mbufs can be passed to the PMD if the PMD's capabilities indicate