From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] doc: announce ABI change for cryptodev config Date: Fri, 01 Feb 2019 12:14:09 +0100 Message-ID: <3553801.FxY0opz6cb@xps> References: <1547717928-21203-1-git-send-email-anoobj@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Akhil Goyal , Anoob Joseph , Pablo de Lara , Fiona Trahe , Jerin Jacob Kollanukkaran , Narayana Prasad Raju Athreya , Shally Verma , declan.doherty@intel.com To: dev@dpdk.org Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id D65BA1B122 for ; Fri, 1 Feb 2019 12:14:12 +0100 (CET) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" There is only one ack for this change. A deprecation requires more agreement (3 valuable acks). Other opinions? 31/01/2019 10:53, Akhil Goyal: > On 1/17/2019 3:09 PM, Anoob Joseph wrote: > > Add new field ff_enable in rte_cryptodev_config. This enables > > applications to control the features enabled on the crypto device. > > > > Proposed new layout: > > > > /** Crypto device configuration structure */ > > struct rte_cryptodev_config { > > int socket_id; /**< Socket to allocate resources on */ > > uint16_t nb_queue_pairs; > > /**< Number of queue pairs to configure on device */ > > + uint64_t ff_enable; > > + /**< Feature flags to be enabled on the device. Only the features set > > + * on rte_cryptodev_info.feature_flags are allowed to be set. > > + */ > > }; > > > > For eth devices, rte_eth_conf.rx_mode.offloads and > > rte_eth_conf.tx_mode.offloads fields are used by applications to > > control the offloads enabled on the eth device. This proposal adds a > > similar ability for the crypto device. > > > > Signed-off-by: Anoob Joseph > > > Acked-by: Akhil Goyal