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 CCFCCA04F3; Fri, 3 Jan 2020 04:38:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 119511C212; Fri, 3 Jan 2020 04:38:48 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150059.outbound.protection.outlook.com [40.107.15.59]) by dpdk.org (Postfix) with ESMTP id 95DB81C1F3; Fri, 3 Jan 2020 04:38:46 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K+qcp2cnuWTbozW8GJaFKr7TFAm4dNra/yLIhy6+6/rWufWs8RCgiaKt2naxn6tSNk8/6I3uwCmAVzDDYbuTIT/IRlqKYolf+J/EUKO7EuDG0beo/Ke9M/FdSfjzFtNVtTx9i6Z9zs3A0NPTVL2UJ0dlnhId89o0q9nYzs8neP5mvgl8PlWvg0O81iNinHoTd7cPpBv9PDnhzwPgjl0CGjyQyTRnEurcZqK+X/75PjbOFtnFRBHD7iuce8Q5tY92XxMtdcBy626Gm92x9p4aM42XUgtruWrnZl/Ou9x+VfyQpJozU/UfsGqWf9IsifQc+f2Gab3RLfVlIOhAx1d6Kg== 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=R3L5XcTpngXJ9Mc4ebHqbfDKT+TdDDMTofZuXYrT0RU=; b=YJxOH2tFigl1z+F28lS7aOOlwd3GAEYZNMc4gY7YVzWpJrE+FkcYrEjmDrEeLfdubx9FVClQeLffzJPN9k+4p78POkf6FkfC9K2juxYrmhV1MSxnbDLraHdJsNhc+taaV8bLYCd6HueHWYgc/r7QKKneR1vw1MlbLUqtzpUR4oJUJiaEx2bjT//d6ptkCLhdutU8WRLkMJkVh3PsrBzK4fPzuCvhxamLG58lJeSYPaLxwkzV8DV+ZysAPkSUymMd4Q9DsO99O+omppgFYNbP8kncoRZEd6kitbpsko/pXTgZW//3mEBRJXUbOhLldDecvhOJPDbVDqbdUwxs3YHLwg== 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=R3L5XcTpngXJ9Mc4ebHqbfDKT+TdDDMTofZuXYrT0RU=; b=smsx0rDE0qnRBFW6L+ux/Zhux+RZ+Fj2JR5ssLuVgbd1Ql6d/ZtZT17V/sp6w/AQLduKy2l5iLJGkk0ef1hTnLXHke1wvjY0phl4ngQB6AZJa7/IlUod1+/6LmlbZCaxVNqJYEgXaUEZuLcqY3D2jAQAlqLwFF4QfWh2cwrjeY4= Received: from HE1PR05MB3484.eurprd05.prod.outlook.com (10.170.246.12) by HE1PR05MB3482.eurprd05.prod.outlook.com (10.170.247.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11; Fri, 3 Jan 2020 03:38:44 +0000 Received: from HE1PR05MB3484.eurprd05.prod.outlook.com ([fe80::540c:c9ae:282d:eaa7]) by HE1PR05MB3484.eurprd05.prod.outlook.com ([fe80::540c:c9ae:282d:eaa7%4]) with mapi id 15.20.2602.010; Fri, 3 Jan 2020 03:38:44 +0000 From: Suanming Mou To: Tonghao Zhang CC: "dev@dpdk.org" , "stable@dpdk.org" , Matan Azrad , Slava Ovsiienko Thread-Topic: [PATCH] net/mlx5: allow install more meter actions Thread-Index: AQHVtKvD/+ASJjUdrEab3XjoR53e3qfBPLcAgBcmIcA= Date: Fri, 3 Jan 2020 03:38:44 +0000 Message-ID: References: <1576567771-46094-1-git-send-email-xiangxia.m.yue@gmail.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=suanmingm@mellanox.com; x-originating-ip: [115.196.238.160] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 2655db59-feeb-433c-9a66-08d78ffe6efe x-ms-traffictypediagnostic: HE1PR05MB3482:|HE1PR05MB3482: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0271483E06 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(366004)(396003)(376002)(136003)(199004)(13464003)(189003)(6916009)(5660300002)(64756008)(66446008)(316002)(33656002)(7696005)(71200400001)(66556008)(66476007)(66946007)(55016002)(76116006)(54906003)(53546011)(478600001)(186003)(81166006)(2906002)(86362001)(8676002)(81156014)(107886003)(4326008)(9686003)(52536014)(8936002)(26005)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR05MB3482; H:HE1PR05MB3484.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9eEPoqBPjAh2wJBmRBmFuuP070bgYp489Hlu1Q3d+aARh/YrO+n6QmEuBGthDSEO4yq2s9jxxQesLpUVHNOeKs8joIcvX8XKnm9DeDmU5pN//+TuMGiJl7bhz3x5X+o9vQ7LB99V9vrEesgQd5xL0R92gs7QcrnWLMlU4HG3ZNyRCASSpOr/7SBHniOZCs2/DJNmWajcEVAsYLewqvp20HQqkMhxw6uInCqwCeVb4xJs2e9BUArbP8SKDlOQJfL2B0rtmikY0PG/AtUgyvUNZyUj2ZLO1pVA0vxhd21x0bRM4m2VCHD2YdIfoOEPMUBpahOnNivFtEAgxXrHgRGntdpTeb74O07GLFjuWGmZqTAvjbYOLLo8q+s1j4NqDFrPUhl2tLcU4Os+EkAqQcMuawQQGYkCfp8zxYFx2/6inS4ndIlt6N7xjsV01Gz0BNehuqxWuyr5grqg60lcYs/nTHdq5XmJQBfmbVvZBvVbNh/kDF9AGVr71OuefMabVEQP Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2655db59-feeb-433c-9a66-08d78ffe6efe X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jan 2020 03:38:44.1120 (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: ujpi9shR7cn+xcDWwycgJop86ZBoEl4DQx3pIsDIDs8D/EOXMImbWOc+1HTpbKxKXSjP/AdXdkmaPqh+GNokQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR05MB3482 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: allow install more meter actions 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" SGVsbG8gVG9uZ2hhbywNCg0KQ291bGQgeW91IHBsZWFzZSBleHBsYWluIG11Y2ggZGV0YWlsIGFi b3V0IHlvdXIgaXNzdWUgc2NlbmFyaW8/DQoNCklmIEkgdW5kZXJzdGFuZCBjb3JyZWN0bHksIHlv dSBhcmUgdHJ5aW5nIHRvIGNyZWF0ZSB0d28gZmxvd3Mgd2l0aCB0aGUgdHdvIHNhbWUgbWF0Y2gg Y3JpdGVy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vb2wg ZXh0ZXJuYWwsDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgYm9vbCBzaGFyZWQsDQo+ ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgc3RydWN0IHJ0ZV9mbG93X2Vycm9yICplcnJv cikNCj4gPiAgew0KPiA+ICAgICAgICAgc3RydWN0IG1seDVfcHJpdiAqcHJpdiA9IGRldi0+ZGF0 YS0+ZGV2X3ByaXZhdGU7DQo+ID4gICAgICAgICBzdHJ1Y3QgbWx4NV9kZXZfY29uZmlnICpjb25m aWcgPSAmcHJpdi0+Y29uZmlnOyBAQCAtMzc1OSw3DQo+ID4gKzM3NjQsOCBAQCB1aW50MzJfdCBt bHg1X2Zsb3dfYWRqdXN0X3ByaW9yaXR5KHN0cnVjdCBydGVfZXRoX2RldiAqZGV2LA0KPiBpbnQz Ml90IHByaW9yaXR5LA0KPiA+ICAgICAgICAgICAgIGNvbmZpZy0+ZHZfeG1ldGFfZW4gPT0gTUxY NV9YTUVUQV9NT0RFX0xFR0FDWSB8fA0KPiA+ICAgICAgICAgICAgICFtbHg1X2Zsb3dfZXh0X21y ZWdfc3VwcG9ydGVkKGRldikpDQo+ID4gICAgICAgICAgICAgICAgIHJldHVybiBmbG93X2NyZWF0 ZV9zcGxpdF9pbm5lcihkZXYsIGZsb3csIE5VTEwsIGF0dHIsIGl0ZW1zLA0KPiA+IC0gICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWN0aW9ucywgZXh0ZXJuYWws IGVycm9yKTsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIGFjdGlvbnMsIGV4dGVybmFsLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgc2hhcmVkLCBlcnJvcik7DQo+ID4gICAgICAgICBhY3Rpb25zX24g PSBmbG93X3BhcnNlX3Fyc3NfYWN0aW9uKGFjdGlvbnMsICZ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4gPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgJnFfYXR0ciwgbXRyX3NmeCA/IGl0ZW1zIDoNCj4gPiAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgcV9pdGVtcywgcV9hY3Rpb25zLA0KPiA+IC0gICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHRlcm5hbCwgZXJyb3IpOw0K PiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHRlcm5h bCwgc2hhcmVkLA0KPiA+ICsgZXJyb3IpOw0KPiA+ICAgICAgICAgICAgICAgICBpZiAocmV0IDwg MCkNCj4gPiAgICAgICAgICAgICAgICAgICAgICAgICBnb3RvIGV4aXQ7DQo+ID4gICAgICAgICAg ICAgICAgIGFzc2VydChkZXZfZmxvdyk7DQo+ID4gQEAgLTM5OTksNyArNDAwNSw3IEBAIHVpbnQz Ml90IG1seDVfZmxvd19hZGp1c3RfcHJpb3JpdHkoc3RydWN0DQo+IHJ0ZV9ldGhfZGV2ICpkZXYs IGludDMyX3QgcHJpb3JpdHksDQo+ID4gICAgICAgICAgICAgICAgIH0NCj4gPiAgICAgICAgICAg ICAgICAgLyogQWRkIHRoZSBwcmVmaXggc3ViZmxvdy4gKi8NCj4gPiAgICAgICAgICAgICAgICAg cmV0ID0gZmxvd19jcmVhdGVfc3BsaXRfaW5uZXIoZGV2LCBmbG93LCAmZGV2X2Zsb3csIGF0dHIs IGl0ZW1zLA0KPiA+IC0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgcHJlX2FjdGlvbnMsIGV4dGVybmFsLCBlcnJvcik7DQo+ID4gKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHByZV9hY3Rpb25zLCBleHRlcm5hbCwNCj4g PiArIGZhbHNlLCBlcnJvcik7DQo+ID4gICAgICAgICAgICAgICAgIGlmIChyZXQpIHsNCj4gPiAg ICAgICAgICAgICAgICAgICAgICAgICByZXQgPSAtcnRlX2Vycm5vOw0KPiA+ICAgICAgICAgICAg ICAgICAgICAgICAgIGdvdG8gZXhpdDsNCj4gPiBAQCAtNDAzNSw3ICs0MDQxLDcgQEAgdWludDMy X3QgbWx4NV9mbG93X2FkanVzdF9wcmlvcml0eShzdHJ1Y3QNCj4gcnRlX2V0aF9kZXYgKmRldiwg aW50MzJfdCBwcmlvcml0eSwNCj4gPiAgICAgICAgIHJldCA9IGZsb3dfY3JlYXRlX3NwbGl0X21l dGFkYXRhKGRldiwgZmxvdywgJnNmeF9hdHRyLA0KPiA+ICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgc2Z4X2l0ZW1zID8gc2Z4X2l0ZW1zIDogaXRlbXMsDQo+ID4gICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzZnhfYWN0aW9ucyA/IHNmeF9h Y3Rpb25zIDogYWN0aW9ucywNCj4gPiAtICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIGV4dGVybmFsLCBlcnJvcik7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBleHRlcm5hbCwgc2Z4X2l0ZW1zID09IE5VTEwsDQo+ID4gKyBlcnJvcik7 DQo+ID4gIGV4aXQ6DQo+ID4gICAgICAgICBpZiAoc2Z4X2FjdGlvbnMpDQo+ID4gICAgICAgICAg ICAgICAgIHJ0ZV9mcmVlKHNmeF9hY3Rpb25zKTsgZGlmZiAtLWdpdA0KPiA+IGEvZHJpdmVycy9u ZXQvbWx4NS9tbHg1X2Zsb3cuaCBiL2RyaXZlcnMvbmV0L21seDUvbWx4NV9mbG93LmggaW5kZXgN Cj4gPiAzZmZmNWRkLi44NDYzNmJlIDEwMDY0NA0KPiA+IC0tLSBhL2RyaXZlcnMvbmV0L21seDUv bWx4NV9mb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NCj4gPiArICAgICAgICAgICAgICAgICAgIGNhY2hl X21hdGNoZXItPnNoYXJlZCAmJg0KPiA+ICAgICAgICAgICAgICAgICAgICAgIW1lbWNtcCgoY29u c3Qgdm9pZCAqKW1hdGNoZXItPm1hc2suYnVmLA0KPiA+ICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAoY29uc3Qgdm9pZCAqKWNhY2hlX21hdGNoZXItPm1hc2suYnVmLA0KPiA+ICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBjYWNoZV9tYXRjaGVyLT5tYXNrLnNpemUpKSB7IEBAIC02MzQ2 LDYNCj4gPiArNjM0OSw3IEBAIHN0cnVjdCBmaWVsZF9tb2RpZnlfaW5mbyBtb2RpZnlfdGNwW10g PSB7DQo+ID4gICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIDA7DQo+ID4gICAgICAgICAg ICAgICAgIH0NCj4gPiAgICAgICAgIH0NCj4gPiArY3JlYXRlX21hdGNoZXI6DQo+ID4gICAgICAg ICAvKiBSZWdpc3RlciBuZXcgbWF0Y2hlci4gKi8NCj4gPiAgICAgICAgIGNhY2hlX21hdGNoZXIg PSBydGVfY2FsbG9jKF9fZnVuY19fLCAxLCBzaXplb2YoKmNhY2hlX21hdGNoZXIpLCAwKTsNCj4g PiAgICAgICAgIGlmICghY2FjaGVfbWF0Y2hlcikgew0KPiA+IEBAIC02MzU1LDYgKzYzNTksNyBA QCBzdHJ1Y3QgZmllbGRfbW9kaWZ5X2luZm8gbW9kaWZ5X3RjcFtdID0gew0KPiA+ICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJjYW5ub3QgYWxsb2NhdGUgbWF0Y2hl ciBtZW1vcnkiKTsNCj4gPiAgICAgICAgIH0NCj4gPiAgICAgICAgICpjYWNoZV9tYXRjaGVyID0g Km1hdGNoZXI7DQo+ID4gKyAgICAgICBjYWNoZV9tYXRjaGVyLT5zaGFyZWQgPSBkZXZfZmxvdy0+ bWF0Y2hl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