From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 2/5] pipeline: added bulk add/delete functions for table Date: Thu, 08 Oct 2015 13:41:57 +0200 Message-ID: <37034077.SclJjAr06D@xps13> References: <1441967499-21255-1-git-send-email-maciejx.t.gajdzica@intel.com> <1441967499-21255-3-git-send-email-maciejx.t.gajdzica@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Maciej Gajdzica Return-path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 9C1B35A55 for ; Thu, 8 Oct 2015 13:43:05 +0200 (CEST) Received: by wicge5 with SMTP id ge5so21675157wic.0 for ; Thu, 08 Oct 2015 04:43:05 -0700 (PDT) In-Reply-To: <1441967499-21255-3-git-send-email-maciejx.t.gajdzica@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" 2015-09-11 12:31, Maciej Gajdzica: > +/** > + * Pipeline table entry delete bulk > + * > + * @param p > + * Handle to pipeline instance > + * @param table_id > + * Table ID (returned by previous invocation of pipeline table create) > + * @param keys > + * Array containing table entry keys > + * @param key_found > + * On successful invocation, key_found for every item in the array is set to > + * TRUE (value different than 0) if key was found in the table before the > + * delete operation and to FALSE (value 0) if not > + * @param entries > + * If entries pointer is NULL, this pointer is ignored for every entry found. > + * Else, after successful invocation, if specific key is found in the table > + * and entry points to a valid buffer, the table entry contents (as it was > + * before the delete was performed) is copied to this buffer. > + * @return > + * 0 on success, error code otherwise > + */ > +int rte_pipeline_table_entry_delete_bulk(struct rte_pipeline *p, > + uint32_t table_id, > + void **keys, > + uint32_t n_keys, > + int *key_found, > + struct rte_pipeline_table_entry **entries); The parameter n_keys is not documented. Doxygen is reporting the error.