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 53161A00C3; Wed, 21 Sep 2022 20:56:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E8F7C40691; Wed, 21 Sep 2022 20:56:22 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id E202B4067C for ; Wed, 21 Sep 2022 20:56:21 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28LA4n0k023657; Wed, 21 Sep 2022 11:54:14 -0700 Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2046.outbound.protection.outlook.com [104.47.56.46]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3jr0b721es-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Sep 2022 11:54:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JPYqiN/cLchRu8l5Ap3Mc6Op4wroPNENaUa5MGyzOuE4cjlEvPVq4IDZ3j1s1p22/rJlzPS78UnYixbFfX8FDvM3HaFT6kp9Bd/RyUghVONXRq9Ac616neapvlRHki+QWnsy2ydXrcL6vSRAelFLQbxvj6wUNkk6zsJDRg1ooRBT8Yi4lq5py3UC0yud39ViEuOF5U/PsX9TZUm8bKYiBjnZvrD5nz5VGYEIYrKEQ0dtkFz56FsR+tCx0kAcpuIcWuk52p2xIr8Jeq2pqIuxUcSg7JIAVHDEAytSNxtt0S74qS+siNuRzkBO5hLi5OdvrX3055y5I6XenqLayJl7Jg== 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=a8GNCi5671Hq8nsu1i36un7bp9p+1EACf/gvn/Oegkk=; b=dS9dkVZ75Fj/Jq1FmCn4TUgEVWuEGIxX1GIIpdyHF4AKujAkGp7GbMkGFOebsa2s3P3TG0WJShDBTNkeWif0nJ1X4XLsKI1qr7tiuMODLUPl0jqMcxlMNgKxc6HlD6Cfw885KjZN+QgkAID/qkEpg3IIcI1ySsh5XFFxE/x7Q3odgD7PvAGDFyx+dbXLPlvQogTzjO3kDfB253XMrsXNICwt5UWc/U3Fvi0HKZowvCb/brWT/MnQOPviBjExEEe/K8QUfdhGcSv+YX+6kYYVIScLKgf6mwlqD2K3pbHcj9tAV/apV8VwJCux+qSVFqkKLW2e/krOkliEpoG//mj7rA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a8GNCi5671Hq8nsu1i36un7bp9p+1EACf/gvn/Oegkk=; b=oQ3SrnKfBwDOGDCg3LE2W/hC8CaBx/l9t6C2HrB2u+tlqv36bJjF/AV6DgAbM3GgUTHain2bfOf2jrF2qdEqz9XAFPWCLa1XIoLnW2H1QuEL1TPQwJsu9Sx4XZJ+uso3HqVRZsHzFJQ/ycEXOXH/pc+x+AoWzyazijZjhFNKCy0= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CH0PR18MB4290.namprd18.prod.outlook.com (2603:10b6:610:ba::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.14; Wed, 21 Sep 2022 18:54:13 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7cea:d050:5433:8c74]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7cea:d050:5433:8c74%7]) with mapi id 15.20.5654.017; Wed, 21 Sep 2022 18:54:12 +0000 From: Akhil Goyal To: Nicolas Chautru , "dev@dpdk.org" , "thomas@monjalon.net" , "hemant.agrawal@nxp.com" CC: "maxime.coquelin@redhat.com" , "trix@redhat.com" , "mdr@ashroe.eu" , "bruce.richardson@intel.com" , "david.marchand@redhat.com" , "stephen@networkplumber.org" , "mingshan.zhang@intel.com" 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: AQHYu9Ue7jxKwhVG102W3Bv1kFTsU63qXsvw Date: Wed, 21 Sep 2022 18:54:12 +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: <1661796438-204861-3-git-send-email-nicolas.chautru@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|CH0PR18MB4290:EE_ x-ms-office365-filtering-correlation-id: af04c296-fe11-42d8-ac31-08da9c02acc5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DGDvQvgqa1zvbduiCaCznIfnAaFiJ7ErOd70KW3QlV4MBcgwi38TfSlMIE2i2+BRHiPYXAk1W0QBE0bfZfjVP9htbxLY6kAIO/rFArbudh0CMW5Ikp3Mm1e+nFNhIyvRBLk8ry3h+VMcWm+j+Dz688tIrYscZiRtXhdyFBjZ+bcH+XfO/QGw9cWEPIxKThw5d2S/c+mXI3OARYCPecfTCy1Ldndj3wfCyf0mmf4tYCYG0uXxI9vlWQyfb/kdpVmTlmgZbxcNjdZGOJgSebFCFMtjR17yPqKSmn+t8dnS4GfvX5UtORQ2XIlF1VWG+sheP3UVEXGqK5Kn5rW3uOWgsf1JHdAMYSNemR458CJTMCEZYoq2mL5bOgyasq1Lq+f5hzjnKYgRv99SCFEY0ZA/DNI0fbXAv1ucxfHz9a2OPSf6Bp/3w/FrGFTBd6YOL2JC9mvOvFWkr9ukl9+7uB5+9XUa2zltRxJqYbnF9GA7tduAL29b2UFgNGoSwvgoXRfirZoJdRygWRGfUmpPFaobsbIGT03cxBbExSnYyFV/iBwkT0GIcwrdA1q52FTlkZdhcgsjNdf0LLmARUanAUNzwaDuRmKO9IswweulRKf8hyE+GE09zi4eBMVVo7z5G1g+1Bnw5FsngpYVCPl8XyhcA0fTQmWH/qIui1ZO2PvePqgBIFoX1hB2v7Nw7NCXHopexwIOk6ZDSVt/gWHnU3UHa2dKAMR/86vIM2NmwSkpVMCN19tC9M6BPZpZuHsYzfzLigWRluQHP2o/BIsL5KZmaA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(346002)(136003)(376002)(366004)(396003)(451199015)(66476007)(52536014)(7416002)(4326008)(66446008)(5660300002)(7696005)(55016003)(478600001)(41300700001)(76116006)(64756008)(8936002)(66946007)(66556008)(8676002)(4744005)(316002)(54906003)(110136005)(38070700005)(2906002)(38100700002)(122000001)(33656002)(86362001)(71200400001)(186003)(26005)(9686003)(6506007)(55236004); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XfTl1ebVQ7seaO420HDYhMYozh9TVD/RDVRTbYEAEfILHaW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uxP5Ae4nr8saxdNz2e00dkYGC1GR4CYP7w?= =?us-ascii?Q?IqN6TnAlsZXasoVEw4Kbx39zAJ/AfPIAyIXZCMcIvzXZEg2oHfEJjDvGwUwt?= =?us-ascii?Q?RE91A/ht0hnyrEcxrTMG77wlxND+qaPwKgkbxFX3jjstQhe1uN4PbPUATBgp?= =?us-ascii?Q?/cReDIxOWG6eEmwTn9puWYNyQeNGG9zinunJsl97N0P59objlmrET94Xnmsw?= =?us-ascii?Q?nCX++NpgJeeFY4UluRuNOilOR4ZPzeYqEpGldwrlwN+xm/LMGJ01IUey003G?= =?us-ascii?Q?zhgREBUIjekZNne55YT+MzPW4jmFtjmiGMaMa0RGNK2iGCeQlDbV7zsov141?= =?us-ascii?Q?XPxw49n3357DW11JFSUFMbkcKg/+4HuHSOWEgw03oh9FR0UzX9ofcj1xpHN2?= =?us-ascii?Q?kD8wwyFgp+9Tu985sZgoXWmuZLXTKJKBaNwa7AtrKeUEVtg82a6xhfRnO9ZY?= =?us-ascii?Q?7HyhGZ90IfD8WkXUKe2nNfKrNQIASmEvbzLzVkL7auZy83xq9pjQ1rnjZCbo?= =?us-ascii?Q?xpli7vwd+bXobO2fBaZlXguDGOd5txYn+zYqCeduHRRA2f+gSjfn+HLki3Qt?= =?us-ascii?Q?LTE+A0nffmpp57c5Wo+8XFfK/iPvZSS1QbET1w6itOGSRrhn6Ai1O7NGs3zM?= =?us-ascii?Q?I3gxJepzg3laivtGP8Xi9Tt4oDe3mTGI4jaSy6OA?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: af04c296-fe11-42d8-ac31-08da9c02acc5 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2022 18:54:12.8693 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1YQkPmHJhw2JNfRq0x4tOoNYyhzEmfoeQAY8NTGe5HRTQUozXPoI3IhLY+XJvhZS9OMr3Kegpu+zV/OwxUaVTw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR18MB4290 X-Proofpoint-ORIG-GUID: Yddf3ggUuKBEHpUyKx6eG29wJvFm_aSP X-Proofpoint-GUID: Yddf3ggUuKBEHpUyKx6eG29wJvFm_aSP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-21_09,2022-09-20_02,2022-06-22_01 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 > /** 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 */ Wrong comment copied. > uint8_t data_endianness; > /** Default queue configuration used if none is supplied */ > struct rte_bbdev_queue_conf default_queue_conf;