From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8D954A0524; Tue, 30 Jun 2020 19:38:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F3FFC1BED6; Tue, 30 Jun 2020 19:38:46 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50082.outbound.protection.outlook.com [40.107.5.82]) by dpdk.org (Postfix) with ESMTP id E21721BE97 for ; Tue, 30 Jun 2020 19:38:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MxOX7rpDmGiWpEKcy7lzg8X2sE9yh1FgxmG8qK1vAYmvt340a28QOVgWqqN0SUE0uTo7Hv+TQ60TFys149X8mQ0xgpP+REvktDkJ2yVvBQlAL3KpeR/QAuL4tcqvOTZy364DkNVxOqW2MFjFhttQRlJQ0FlUr4OD0+fznKtKrb6IBfAoYyBqZ6RPbOlxJBcfnYlJrsOI+CfRUGR8vUSSz5fzQkfcV/D1ATym5bDrHj2nK40z1B7NmK5nwpTeKRD58ghK1/9EdXyAYmH+vtdC/wjUI0Sh5SlS175Mbams5gAltlO4gjbEbe4nqteXANav/mw2Z1mxoj9FlCx6+ebjyQ== 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-SenderADCheck; bh=1BJxAcY8xA2GU7dR7IFjYgzduQtxCFD+vY3GVxpMSv8=; b=T50HdP70euFZGE7ydcRHOuCdlNmSTMJuhxZxF15PpXvmuBnERKKvamAE+v7ZEbdqUzlYrVXnGBcReNluD3tNDElCRAS8FOwvo23SuZ+1X21FLoojF/q1Y6S8kxXfihxaUvy7u9bDXnmHjIuYhk2zhe+lTZj7LZwvEepjg1w0UkZ3fMdk6tpL7/u7xJ0saFYwGhE2AqadpgDqL58XM29bedtrhZ6QCgcNNEDSP4u320FSfs0GS5fHKtfnqc+pq970O6AsAGKCK9dX37ItrXV6hruvc8ntu4Sk+bN9lqXha5oLlRiExgpBbrCL3EhV68xg4+bXz1RkSS0dLh0GkG+qGA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1BJxAcY8xA2GU7dR7IFjYgzduQtxCFD+vY3GVxpMSv8=; b=D1t3wwuJk1DFiM3IptkrB9NSbvjh6tGJSMEhdN6PbBONfPclPDVctMtylR2WOI/Fb+Xds1KKSYcnTXF0XVVG954hY+aR3hHTX2NbaQbSU7JXisnZcxnz2bnbkOIK3h3qCfD/f3qPN21e+hlVu2iHJDjut456GJEknDHG1/9dMgg= Received: from AM6PR05MB5176.eurprd05.prod.outlook.com (2603:10a6:20b:63::30) by AM6PR05MB4375.eurprd05.prod.outlook.com (2603:10a6:209:48::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.26; Tue, 30 Jun 2020 17:38:43 +0000 Received: from AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::9024:accb:4d6b:805f]) by AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::9024:accb:4d6b:805f%3]) with mapi id 15.20.3131.027; Tue, 30 Jun 2020 17:38:43 +0000 From: Ori Kam To: "Jiawei(Jonny) Wang" , Slava Ovsiienko , Matan Azrad CC: "dev@dpdk.org" , Thomas Monjalon , Raslan Darawsheh , "ian.stokes@intel.com" , "fbl@redhat.com" , "Jiawei(Jonny) Wang" Thread-Topic: [PATCH 3/8] common/mlx5: query sampler object capability via DevX Thread-Index: AQHWSxDCpGuUf6b/EUuPZ9xZC3ZSXKjxS/DA Date: Tue, 30 Jun 2020 17:38:43 +0000 Message-ID: References: <1593102379-400132-1-git-send-email-jiaweiw@mellanox.com> <1593102379-400132-4-git-send-email-jiaweiw@mellanox.com> In-Reply-To: <1593102379-400132-4-git-send-email-jiaweiw@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [147.236.152.129] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0d65e849-5639-4bce-9b1a-08d81d1c6f3e x-ms-traffictypediagnostic: AM6PR05MB4375: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 0450A714CB x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rYIwbig63TSXkc5ZqGBhREWdDzQywHKB3Aw3Or7qhewJaVW+EX+PY9tqeGIVVhUaK0NQy5j1QQ9yTYy0BajSqrmtsMMK1XP1FiTjSy64S9FXelOS105T9CKlabPFHyTssINik6wYEtpDIUbDXb54tJ7TkXve7fpFGTrajDyI2nj+c5cWssYBAUk6/5wJsRZStEkOt9BVPBwowDAo88Oe0AfiC9oX0Isr7lSW9mNAPOS98pTbIC5hUJ1z6cw8SL5aacckEFLLYZUlkNTapoHt/eTKkphfZK3y7RJb0QbAD75wld/8+a1R2y4+8LaBMfNHSTWYwRSPmf4hca6JcoFs2w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR05MB5176.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(136003)(376002)(39860400002)(346002)(396003)(5660300002)(2906002)(8676002)(52536014)(71200400001)(4744005)(33656002)(9686003)(66446008)(64756008)(66556008)(66476007)(8936002)(66946007)(478600001)(76116006)(4326008)(107886003)(6636002)(55016002)(316002)(7696005)(83380400001)(54906003)(26005)(86362001)(186003)(110136005)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: GC1o0872hdgDffScHBT6psUBttE2ljhq8TbiCMczFRMtnjXgCaVCk9/1+p5TL3L+fzowZ1dVNsIWNFFGr94ei1pcoFEcm7OSIfhPhAxcn9DuEb1xlCTaP7kwWiw99gXMJ57z4Y4XHJCUNY3ebTDp9h15h/A7FKBrdginOl1KSpe85dz4NsoIA8uJWklf/WYPN5u0sk+PGfz6LohNrg+2ZvA7gAi1rsTe1wafz3ydlN8kmzB1wq4lEy6iK41We9jUFMIWl2Fn/BbVc1LdgnyH0a1Vf95rH1hYEYc27HjTVxaNxhr0mPj+cI3+xkFEsjcaQ8o+M462kqLbYsV2aiViPGycgvDvlU4tt2dbLij6zCAGEo7+Si+GPMEIrTkojZYzNTADL7ZWcZWaXxmgzmUDsdf3L+RgwTF6VnsQkjQYMV5O/IkdwMJzNAH4htoIutH/1m54SKH0fj7R+Om4MYMVD7h+hfNchXHuC/A5aGMTOERR28grpwnEaTmtWyFBVWPs Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM6PR05MB5176.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d65e849-5639-4bce-9b1a-08d81d1c6f3e X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2020 17:38:43.4479 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +TewuXVZuCyU2LaKS/757BUJphD7XJHmUXBhe0sv0oKs1HInFxkmvru+j22yPj4rICv4IA/8qixNParee1SFcQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4375 Subject: Re: [dpdk-dev] [PATCH 3/8] common/mlx5: query sampler object capability via DevX 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Jiawei Wang > Sent: Thursday, June 25, 2020 7:26 PM > Jiawei(Jonny) Wang > Subject: [PATCH 3/8] common/mlx5: query sampler object capability via Dev= X >=20 > Update function mlx5_devx_cmd_query_hca_attr() to add the NIC Flow > Table attributes query, then get the log_max_flow_sampler_num from > flow table properties. >=20 > Add the related structs definition in mlx5_prm.h. >=20 > Signed-off-by: Jiawei Wang > --- Acked-by: Ori Kam Thanks, Ori