From patchwork Thu Mar 23 17:36:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fiona Trahe X-Patchwork-Id: 22192 X-Patchwork-Delegate: pablo.de.lara.guarch@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 233995598; Thu, 23 Mar 2017 18:36:24 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 26BB02A5B for ; Thu, 23 Mar 2017 18:36:20 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP; 23 Mar 2017 10:36:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.36,210,1486454400"; d="scan'208"; a="1111511040" Received: from sivswdev01.ir.intel.com (HELO localhost.localdomain) ([10.237.217.45]) by orsmga001.jf.intel.com with ESMTP; 23 Mar 2017 10:36:18 -0700 From: Fiona Trahe To: dev@dpdk.org, pablo.de.lara.guarch@intel.com Cc: fiona.trahe@intel.com Date: Thu, 23 Mar 2017 17:36:10 +0000 Message-Id: <1490290570-14651-1-git-send-email-fiona.trahe@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH] cryptodev: add API note 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" Add note to cryptodev API that chained mbufs are not supported in DOCSISBPI mode. Signed-off-by: Fiona Trahe --- lib/librte_cryptodev/rte_crypto_sym.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h index 4d5459f..e066b0a 100644 --- a/lib/librte_cryptodev/rte_crypto_sym.h +++ b/lib/librte_cryptodev/rte_crypto_sym.h @@ -417,8 +417,20 @@ struct rte_cryptodev_sym_session; * to the data in the source buffer. */ struct rte_crypto_sym_op { - struct rte_mbuf *m_src; /**< source mbuf */ - struct rte_mbuf *m_dst; /**< destination mbuf */ + struct rte_mbuf *m_src; + /**< source mbuf + * + * @note + * For DOCSISBPI mode rte_mbuf.next must be NULL, i.e. + * chained mbufs are not supported in this mode. + */ + struct rte_mbuf *m_dst; + /**< destination mbuf + * + * @note + * For DOCSISBPI mode rte_mbuf.next must be NULL, i.e. + * chained mbufs are not supported in this mode. + */ enum rte_crypto_sym_op_sess_type sess_type;