From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/4] cryptodev: add rte_crypto_op_bulk_free function Date: Mon, 20 Jun 2016 11:45:33 +0200 Message-ID: <5472998.Ej0WxNay6E@xps13> References: <1466106543-209204-1-git-send-email-deepak.k.jain@intel.com> <1466106543-209204-2-git-send-email-deepak.k.jain@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, john.griffin@intel.com, fiona.trahe@intel.com, pablo.de.lara.guarch@intel.com To: "Jain, Deepak K" , declan.doherty@intel.com Return-path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 74E816CB1 for ; Mon, 20 Jun 2016 11:45:36 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id a66so70299220wme.0 for ; Mon, 20 Jun 2016 02:45:36 -0700 (PDT) In-Reply-To: <1466106543-209204-2-git-send-email-deepak.k.jain@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-06-16 20:49, Jain, Deepak K: > From: Declan Doherty > > Adding rte_crypto_op_bulk_free to free up the ops in bulk > so as to expect improvement in performance. > > Signed-off-by: Declan Doherty I wonder why these changes are dropped so late? > /** > + * free crypto operation structure > + * If operation has been allocate from a rte_mempool, then the operation will > + * be returned to the mempool. > + * > + * @param op symmetric crypto operation > + */ Please check punctuation, grammar and document every parameters. > +static inline void > +rte_crypto_op_bulk_free(struct rte_mempool *mpool, struct rte_crypto_op **ops, > + uint16_t nb_ops)