From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 926F9A00C3; Wed, 21 Sep 2022 22:53:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F59740691; Wed, 21 Sep 2022 22:53:45 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 9B91F4067C for ; Wed, 21 Sep 2022 22:53:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663793622; x=1695329622; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=V/ug3xb5CZ6tyoSKL8ZSn9KTlwkuogorSye+76CTC7E=; b=LaXvlgIa6ooFIUbPLmUnIUPxZTQjB2EhhWlcxoz+lRfZ6eaBKaQxsKSh gFrgBPbUYP3IELj3QGKsFKuK7hJ6R7iAKVasDGaltBuU36yqJoLH5pVdd r8tJe2wevF9YswHTPka/JW2p7HQcMJFU8I2hIQd1Sp3slzQzC4bpmtdBm 1RTaJNYAghKOP/VfgQV7K8IlvxuGB9u9oWSUsL+sjNXRvIvBPxt3/lSAE wFYOW0fDKp2kZMk8h4yBUSdeFilgm6spHyrH5Aa5qOJPcdJNVgr335O/X bSGgVbpLQKSpYyvC0QKR3KWvugnoq0XO/aDI3UGkho9PB3Bf1uqkkZA9I w==; X-IronPort-AV: E=McAfee;i="6500,9779,10477"; a="386411580" X-IronPort-AV: E=Sophos;i="5.93,334,1654585200"; d="scan'208";a="386411580" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2022 13:53:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,334,1654585200"; d="scan'208";a="614956715" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga007.jf.intel.com with ESMTP; 21 Sep 2022 13:53:32 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 21 Sep 2022 13:53:32 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 21 Sep 2022 13:53:31 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 21 Sep 2022 13:53:31 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.170) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Wed, 21 Sep 2022 13:53:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bAK1KNlL196DQL8aAx69jXJ7YsHDUwdRs/y7L9aW6wjOeaIchz/8FMZl2eaME3M1iLA+IJtY21AulcoTIDrCqGCguA1Vme94iAH1Wk8lhVTuw5h+aG4Daoncb6KlGae5D4D6DguyK5bMGZ6W3iS7N5nADuc3CVEOuhXd/cVvMqtV05RjyJJ2RdMtXccAoNk6qIwWe1qLvtF8bgsMBt3p2BE/lP3NhfD/Ijyy/Qfa+N1G238WQr2x8aBcpQrIO1Oyqoa/MO5CssAUUv/GHkLweW6p2NQZQNZDqkeHQQk+vtBDkd5KLnUJTTYZHnQGbR1Bs9sbsVMQ4J2b/BtivUDNOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hoFWCGZASniJAQ5bmMl78am711flUltae/m4oK8IdnE=; b=ioENeybZ2k46QIG3AunIjQP84pOBzd6kDz3J87jpFIxge1TU9JB6xio35w2qLjE+rKslTgv8hCQezjJDjegnqUoSMSkxb+bcRU+p4pggu7TJxMJw8A36HDS+hOZLM/FskajUKsf0wSP1lcUlLP5a3GD3ygscn+fpznKu7cnpLFbFH+ABn9XGXnwW9Ki7NTwEI9KcDZQk9nutIvJ95TgCF/GYC953oKelXpCwhof8iHOvTO5dn0E5LVZ5Sb6pWvb/4GX/JyTYwECFgIR6XTjzmL16bOcSz4+N1GMfil2NnlA2k6hAOo/XzmUVtNZeWzZEleLrqn5kHowT740m6+7bTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BY5PR11MB4451.namprd11.prod.outlook.com (2603:10b6:a03:1cb::30) by MW3PR11MB4618.namprd11.prod.outlook.com (2603:10b6:303:5f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.17; Wed, 21 Sep 2022 20:53:29 +0000 Received: from BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::e6be:3feb:17fd:bdcf]) by BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::e6be:3feb:17fd:bdcf%7]) with mapi id 15.20.5654.017; Wed, 21 Sep 2022 20:53:29 +0000 From: "Chautru, Nicolas" To: Akhil Goyal , "dev@dpdk.org" , "thomas@monjalon.net" , "hemant.agrawal@nxp.com" CC: "maxime.coquelin@redhat.com" , "trix@redhat.com" , "mdr@ashroe.eu" , "Richardson, Bruce" , "david.marchand@redhat.com" , "stephen@networkplumber.org" , "Zhang, Mingshan" Subject: RE: [EXT] [PATCH v7 2/7] bbdev: add device status info Thread-Topic: [EXT] [PATCH v7 2/7] bbdev: add device status info Thread-Index: AQHYu9UhUXyGFL37/02fF7loqKXoY63qX2kAgAAhNmA= Date: Wed, 21 Sep 2022 20:53:29 +0000 Message-ID: References: <1655491040-183649-6-git-send-email-nicolas.chautru@intel.com> <1661796438-204861-1-git-send-email-nicolas.chautru@intel.com> <1661796438-204861-3-git-send-email-nicolas.chautru@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY5PR11MB4451:EE_|MW3PR11MB4618:EE_ x-ms-office365-filtering-correlation-id: 1115ddaa-1342-4b04-8297-08da9c135684 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8+c4kA6IB0LYrEAZ8fkYb+lKusWt/9v2hfKPMxKDtebwtnXaKLT19jXf2m0ybCfXS+EjXfnNgpTi4slQvm+7NED1dyRoXnX3CQYOl9ybR5iF0whyy3DFAM1a/6TGhf8fPt+pcNtHKm3suiBy9UJ1I1GRXvqCrNRyrLiWkhZBQk8E9vLG47TLYib/Nhpo9vngrZmZWX6I3sP4YXvAefzr5tLRkAWytNWKe1a6ovowEy/uicOkox1cdD0+Scbz8BFqJ0MDEP8demgcd7FfvBBGXx/aXpPs8Lxcu5YHeiFMkHcTgnfGTLzAVj+PVSfwBSVpMVcIN61dKr/RCXp4hG0Hs1eXla+99V3lWUvrRhXogp/v+Z0bx+S5G0wY5Sjvevfu/lX8VcwkDpD9PxHpZjE+UcRvyAHqyA/OCxIhhsthEgOu0LNJC/A/7VEmR62nBE+/J6ShpbipYYqsliSE8b6n0/b3sJQUFOGwv/1XTDw6TiM1gAKDjB/c0Bme1iJi3gTPKBt5m8kJZ5fdpqy2Jn1DPlt4uQXh13sBL6md8sHbWauSavSv2x6nKQ0B+3bCtIvM3oKgevbVZrmnwSmvZ7C5a+ZtjgAcEfJUNlRny2sWZ1A15Bo+iPi6twJlJZlT1jUgtjZdy58Vk7x8iBhk3rmOE5ep4SqNm6BTjDKiplnFzPqTDZ2xsbaz+aYO8oT1AjecFDyhHIWqhHi30dDXa/ObW1vG+Euw99aL4ti2DDTxGx4SoSi5OGZEE92DbT+UyNS2pdE5SRRxLITCH7X1K09FZA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4451.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(39860400002)(366004)(346002)(136003)(396003)(451199015)(38100700002)(122000001)(66446008)(38070700005)(33656002)(2906002)(478600001)(71200400001)(8676002)(4326008)(8936002)(66946007)(66476007)(66556008)(64756008)(5660300002)(110136005)(4744005)(76116006)(54906003)(52536014)(316002)(9686003)(26005)(55016003)(41300700001)(6506007)(7696005)(83380400001)(107886003)(82960400001)(186003)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?NlQ1wcqK0qPh0wYDEOVAkg9hrh9ZrS+ezVba5sO78Aeidq6X3wp2Gtfi8QoB?= =?us-ascii?Q?lBTP+/3D2qxIRqXYO8r3y7NvYK3YJCAZa2aHKKVwv/xnhWBrjdcDUpf2lyTB?= =?us-ascii?Q?xNpbXav7CK+DMa1NaWKgpg3lpS5MdmSzqMqUK7smw50IpCDiaMEbxXJ+M2dh?= =?us-ascii?Q?W0/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sC8p6m9ZtDS?= =?us-ascii?Q?FV/VR/ctj3k4N+07TmLYeZVFip4Z4MNjfG7Zh9uvd9lwIkZjdNhwuxs1hL+p?= =?us-ascii?Q?LDYis19oF47vRmbiYEaGHxiQxQ/wtAsozXgluX3eOsoMcVvLFW/tUj0Zpatt?= =?us-ascii?Q?ki+u4UzjWXZumOUa8CFhuBe+loVyHK5flj8wzKj/t/pOiDL4ARkWV7dvQqco?= =?us-ascii?Q?hOSG2hFVvZEeHUj4oI849GkKad3+qAiKo6FWJRul5wYCQ2Vjj2mhtHAkf4r2?= =?us-ascii?Q?jX/wYaqWieXrlIVh7HlGjUMSyHAIWZrBLuORw6A9e4zUFVe19l4HQjiFWI/O?= =?us-ascii?Q?wsIbjSkL5tEHInaoIr1qDPaJco5E+iL3+uCgpu2OsH5cpXiOYB2OxyRN+kGB?= =?us-ascii?Q?f3wgBCrkwT74pfqfQfIfXVoZGe2UcyiPqjoYa7bzDbiwml2s9DFSs3jVkEHO?= =?us-ascii?Q?gXbuwGvxsVDVYY8jhT5tJdCcIYE8mcJv9Zvu8yDwe6nGKIaO57r5aBIicVOY?= =?us-ascii?Q?gJfHoNN5Vi62rEcp3knEbYSVeH9qOnQe68wHKVG+?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4451.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1115ddaa-1342-4b04-8297-08da9c135684 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2022 20:53:29.5870 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: XMW3Qb67TDs6vyWM8MeZytPeqKwLRFdd6wQ8Sch0asR34oquZ8WDvZjHtumpBOmn7NhHKZ6B6RbL5Q7xRkhodXc5eWn9VMps2xZoYgqYD7g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4618 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Thanks Akhil. Fixing now in v3.=20 > -----Original Message----- > From: Akhil Goyal > > /** Device statistics. */ > > struct rte_bbdev_stats { > > uint64_t enqueued_count; /**< Count of all operations enqueued */ > > @@ -285,12 +300,14 @@ struct rte_bbdev_driver_info { > > /** Set if device supports per-queue interrupts */ > > bool queue_intr_supported; > > /** Minimum alignment of buffers, in bytes */ > > - uint16_t min_alignment; > > - /** HARQ memory available in kB */ > > + /** Device Status */ > > + enum rte_bbdev_device_status device_status; > > uint32_t harq_buffer_size; > > /** Byte endianness (RTE_BIG_ENDIAN/RTE_LITTLE_ENDIAN) > > supported > > * for input/output data > > */ > > + uint16_t min_alignment; > > + /** HARQ memory available in kB */ >=20 > Wrong comment copied. >=20 > > uint8_t data_endianness; > > /** Default queue configuration used if none is supplied */ > > struct rte_bbdev_queue_conf default_queue_conf;