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 359F9A0547; Tue, 26 Oct 2021 17:44:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B4E5640E0F; Tue, 26 Oct 2021 17:44:34 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id B2CEA407FF for ; Tue, 26 Oct 2021 17:44:33 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19QAMWPf014640; Tue, 26 Oct 2021 08:44:32 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by mx0a-0016f401.pphosted.com with ESMTP id 3bxfv8hc6e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Oct 2021 08:44:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jgOPTTwy671b0gXT9jkqfMU6GoINypY+0QXOiffQHeGE07RxR1h35YThUXngrMf2lvTbQVrEfLN/kviE1Sd03KJrqHNG868oMh6h+ggEAg3EPXGFC06Y5BnBlw9CuLHJ67GzP8J7sm/RDptiizZlb4q8rq8Vu0G7Zupci/vzUwzjIGmfYHrvb82GyiKZrMwJACkm5ofVb6yjrj3LGIoPgVGNg1QBlRCeIwbf8jVkMcRj/r/8EFHtao/P0VneOwsK9+f1GDw5a1uviUi4gO0choBox/zY2B6U6cjSmhU5dfptETpCj6Y7vrcuy3a59MIfjeSNR/zmagTEmnAOLj/txw== 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=idTaqqyc1QbmzSP5L5zHsPXfgIWJza+/i7v5bPDAXc8=; b=E+SXdNK6R9PjyT9pQk17javDgwQS7fTn/k5olHAZH2xz/CZR2y7KNwghW51LD+FX7tNb0+Z3qSSWJ5HE3d5OkE8Aj/mA1mt7gtNUBMkh6Yz3PNhwzGQ5x7qfrDMQCNz/m2pT1d6Qyy/ru/ky7VRcrj87R9deKoXjctWtzMbUigm7T9E3UelHZX2DfBZwalqBOQa6T63+g5OM3IEAGTq5Pj9MxHwdz6RmFm021rl2z9SvutEW/pdwrZUzxjNLyof5kfq90GQldIfLvWhTD4Y2PsmV3oklFNFGS21sSanR0nT0ymcFgMVj73LpMSbMhnpr6X7X9YZhqUD7B+r3usAyXQ== 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=idTaqqyc1QbmzSP5L5zHsPXfgIWJza+/i7v5bPDAXc8=; b=fsHUmYgstIPnCqvtp3WMgukLl8N5Po5GWPaWzNZIgWpzCiHdyBGDBoliN9Cf+AnG69iOTGF0rxzzhFKpC4CXHQsDnvlz2TeLlDG3/qHZ+m/t9L2AuE48trXWKT0SQyxbsJf4h3rilSSFw8xmS32Iz6WRc6WMjoe46LEzL0uT7Dw= Received: from CO1PR18MB4714.namprd18.prod.outlook.com (2603:10b6:303:e9::18) by CO3PR18MB4848.namprd18.prod.outlook.com (2603:10b6:303:17b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Tue, 26 Oct 2021 15:44:30 +0000 Received: from CO1PR18MB4714.namprd18.prod.outlook.com ([fe80::8c05:ddeb:f02:7b5c]) by CO1PR18MB4714.namprd18.prod.outlook.com ([fe80::8c05:ddeb:f02:7b5c%8]) with mapi id 15.20.4628.020; Tue, 26 Oct 2021 15:44:30 +0000 From: Gowrishankar Muthukrishnan To: Akhil Goyal , "dev@dpdk.org" CC: Declan Doherty , Fan Zhang , Jerin Jacob Kollanukkaran , Rebecca Troy Thread-Topic: [v5] cryptodev: add telemetry endpoint for cryptodev capabilities Thread-Index: AQHXyms+aP+84oN9N0eQ2Kom73yeM6vlUh4AgAAZFLA= Date: Tue, 26 Oct 2021 15:44:30 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 899d8b56-f1f5-4a4d-54b0-08d998977fd8 x-ms-traffictypediagnostic: CO3PR18MB4848: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VD62CBldVbjNy/5kDHPARsvQ+3K6xVHPeyfuQi+DhhoTQJ0NARiuFzV7PEmuQa+88MwLvPWpkWSeSNEiH9s5w09IMBFj9ESElrqh251iuFIsA5OHCMf19+NU0j5R7waQv8D08No4FqooS1H9QHRHO1kJsAecZMUJz0jj9Ty6fVNi5tpcd4fdMzr008C8Gt53hvd61csgzaiBX/Ucb4cc2KQ4/6VC9PC+RZWKvZlK6mx07/49J/E5M1AlaV8MZEtR+qpArbTiW/mco0YyhI2BW/j3YcOs1USWUYbr+685lQtzWLxAQAls0+tgx+9muG9u/yMTkW/kI2dKUlx/Veikj1yXjSXHIX2t7ZaoWtJww3OnThOp8JegLiV+2G8+s+1Aei2m52IDxj7Gq1G8ko2ETd1s+RUDNaNvi+TAGVEitzX9HqWL6Z6ts4dA58jCtjuDpuH+xZboCtfnn9xEBv5U6q2Okl/GBiOc8IMhETpd8X4AUkN0yxZy+wVMFzmglynJJGS/kxiXytVTlvuZtFPbti5gNP2xkrxsPhbOR8RmixbQfGf3WNKPeMp4wBaaYfgzlZlGgKG+MRbTB8pKBrYH49usgZQ5zZawSCFKQ2hREzVffYDsmoLQSmdZWuyY30S2pQc4C+7d26RdiphdKBN/ZmsxgGYE8RQsgHOl343qfSdxFch05MdopfK5poArTVIE x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR18MB4714.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(26005)(55236004)(2906002)(86362001)(110136005)(55016002)(9686003)(54906003)(8676002)(38070700005)(186003)(8936002)(83380400001)(66446008)(33656002)(76116006)(38100700002)(122000001)(4326008)(5660300002)(4744005)(64756008)(7696005)(66476007)(66946007)(508600001)(6506007)(316002)(52536014)(71200400001)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hbdX+Sg64rKPgTzhhRM8bS0dzgEK+kpJpDZrVi5njPAH2RivVDEqh9BMNDkr?= =?us-ascii?Q?Tl6X9AMy0M63YIRxEL+bFVb6Xi59kz8nBcg1EaFp82Xw4bZ5Ik05Kv3PHqw8?= =?us-ascii?Q?mKlnxL5TySBzWcKVtpPrkF1Me6T1bvylPPH0HJWTsgEIXVIx/q1q7gY5JveB?= =?us-ascii?Q?5YBwQ0FlRL4Hi39p6i/8EGDOw58obnU3/oSCJFUJiZ09euAmgg88WNkpNgHb?= =?us-ascii?Q?rBtdizTc/xpevAyQBfmVqXsFhHZwWnrNe8E2jVW/HGwegHUkxx3CrLh6fsBv?= =?us-ascii?Q?D3FYkH74F1ShTssfcRXgvhJi35B+Ag3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?UlUJgEBVHgSL2/qC2cjAKRq8NYI+62S+f6zPsF/tRKPvx6kzkDeRL1MmmQly?= =?us-ascii?Q?h33vSgvxIjdTq+fB9p7jbmPlU9QgNyXwXUQCQUinrGfAgLP4iFjKgCL/GE50?= =?us-ascii?Q?NGpBGiF14jyopwjh/BIrWuRfLpw+31tl03wkEGmahe2nDn1Jw+H9zJ6yjoBP?= =?us-ascii?Q?haNHbDlxILIPmfT3NQS51K1U2HeweiPk+tSFlYg5WqF5pJHp72AAz2DAwkvB?= =?us-ascii?Q?03nB9JMxTpK2/cGy4FJimA64Uk+Qh5IpkHrp4IbrSd60o3XDFMNabKkEmjHZ?= =?us-ascii?Q?6xXYxOeZH1142dzhUprzEe91sV/jbdUsINpzJHcTbNiysAh47k574/9hbhWw?= =?us-ascii?Q?pjVoVj7X4GJ8RLd58zqD6OBET38NiPacgWwmxDyC9wpsVogIoZgjTq+pCC9a?= =?us-ascii?Q?GJd0hAD5jSIabjZ3Md/ClZxS0Cc5Crq1r7kgi8gKjKNbBOd+0lK1fz+6AnDy?= =?us-ascii?Q?dscG9w=3D=3D?= 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: CO1PR18MB4714.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 899d8b56-f1f5-4a4d-54b0-08d998977fd8 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2021 15:44:30.0828 (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: FqqWaWaPmmoDA4M+fbpiBk8B/HeWxks2lW/44Ft5C/5lN10oG6ak1g65b5kSNOPWyHKAVmLwYf0CPN7Sc7Mojde5W9iwqZEKDxjfzzo9Avc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO3PR18MB4848 X-Proofpoint-GUID: TmD8erLvT-lBWyKOoAQkW7dVup4cIOS4 X-Proofpoint-ORIG-GUID: TmD8erLvT-lBWyKOoAQkW7dVup4cIOS4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-26_04,2021-10-26_01,2020-04-07_01 Subject: Re: [dpdk-dev] [v5] cryptodev: add telemetry endpoint for cryptodev capabilities 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 Sender: "dev" Hi Akhil, > Please send a text to update in the documentation. > Will update it while merging the patch. diff --git a/doc/guides/prog_guide/cryptodev_lib.rst b/doc/guides/prog_guid= e/cryptodev_lib.rst index 25663e552e..223e933bf4 100644 --- a/doc/guides/prog_guide/cryptodev_lib.rst +++ b/doc/guides/prog_guide/cryptodev_lib.rst @@ -1308,5 +1308,9 @@ are shown below. {"/cryptodev/stats": {"enqueued_count": 0, "dequeued_count": 0, "enqueue_err_count": 0, "dequeue_err_count": 0}} +#. Get the capabilities of a particular Crypto device:: + --> /cryptodev/caps,0 + {"/cryptodev/caps": {"crypto_caps": [], "crypto_caps_n": }} For more information on how to use the Telemetry interface, see the :doc:`../howto/telemetry`. Thanks, Gowrishankar >=20 > Acked-by: Akhil Goyal