From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id E35545592 for ; Thu, 7 Mar 2019 16:25:53 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2019 07:25:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,451,1544515200"; d="scan'208";a="152924792" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by fmsmga001.fm.intel.com with ESMTP; 07 Mar 2019 07:25:49 -0800 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.230]) by IRSMSX108.ger.corp.intel.com ([169.254.11.7]) with mapi id 14.03.0415.000; Thu, 7 Mar 2019 15:25:48 +0000 From: "Trahe, Fiona" To: Anoob Joseph , Akhil Goyal , "De Lara Guarch, Pablo" CC: Jerin Jacob Kollanukkaran , "Narayana Prasad Raju Athreya" , Shally Verma , "Suheil Chandran" , "dev@dpdk.org" , "Trahe, Fiona" Thread-Topic: [PATCH v2] doc: announce ABI change for cryptodev config Thread-Index: AQHU1NIdZHS4cH1T7k+XsWOZzXhkUaYASUFg Date: Thu, 7 Mar 2019 15:25:48 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B4358970DBDF@IRSMSX101.ger.corp.intel.com> References: <1547717928-21203-1-git-send-email-anoobj@marvell.com> <1551955163-1752-1-git-send-email-anoobj@marvell.com> In-Reply-To: <1551955163-1752-1-git-send-email-anoobj@marvell.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWY4ZTgwMzgtNzEyZS00YzczLTg4MWEtZTVjMDBiOTIyOTEzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiXC9BekJJUE94MGpcL2tteE1yakFnS0c3Y2tpWnlRdUhXVUJuVENoUnNWeDRxbmsySTYyQ2NQWmtaSDh2cWZMZmNsIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] doc: announce ABI change for cryptodev config 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: , X-List-Received-Date: Thu, 07 Mar 2019 15:25:54 -0000 > -----Original Message----- > From: Anoob Joseph [mailto:anoobj@marvell.com] > Sent: Thursday, March 7, 2019 10:40 AM > To: Akhil Goyal ; Trahe, Fiona ; De Lara Guarch, Pablo > > Cc: Anoob Joseph ; Jerin Jacob Kollanukkaran ; Narayana > Prasad Raju Athreya ; Shally Verma ; Suheil Chandran > ; dev@dpdk.org > Subject: [PATCH v2] doc: announce ABI change for cryptodev config >=20 > Add new field ff_disable in rte_cryptodev_config. This enables > applications to control the features enabled on the crypto device. >=20 > Proposed new layout: >=20 > /** 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_disable; > + /**< Feature flags to be disabled. Only the following features are > + * allowed to be disabled, > + * - RTE_CRYPTODEV_FF_SYMMETRIC_CRYPTO > + * - RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO > + * - RTE_CRYTPODEV_FF_SECURITY > + */ > }; >=20 > 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. >=20 > Signed-off-by: Anoob Joseph Acked-by: Fiona Trahe