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 4DCD8A0562; Tue, 31 Mar 2020 17:09:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B9CDD1BFC5; Tue, 31 Mar 2020 17:09:47 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40055.outbound.protection.outlook.com [40.107.4.55]) by dpdk.org (Postfix) with ESMTP id DF671322C for ; Tue, 31 Mar 2020 17:09:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FKMTS7smrAXvz6RNJl01uoh5IbbRCexWS4D7hxzUhzN8ih0kEqCvm5STGfZe1m++5hDf1/EaA84WMm1HpNte/uPm7nV0GkPrnM3zIBKY+pQTdVu3F3oM06oiJ9gCOEgWoQZ1jjFixZlbtSmylAM1paGKX2PUlfE/I30bMAL/WHAfmkHNcVAGdSTuvwpiuQ72VJE8i8BwMHFc/hdiLgiCwQxQqQNBYjvcF2sZBGOXcL4DEGw17KDqga2VNsgahkj2WzkyG7h9J1IPQgUqQQ06a2iLAk0BK3bBFflRe7W1AQrcekTl2x4LIOhqViMU9aKHBNULSxcoerWbuY4mLCgwLg== 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=Gkk3RXv/unIwCm8PLTzw//X6ZsY+ba6DXGEB5yHRQ+8=; b=D+amu3hZfP7ix1TilNUWM89XozqVEmofYz0rDrvPSHESGRCYyRcyVIkGCbf/5RH+KdD5BTDY2hak6QbTQnDl/qJ2DSmFAmh9QBfyZHcT9GfrmLehpbW9V/VIF4azRn9o3MBO9nL85yi6/v+GU2YA6igzO5THBI0OOXWLtp/HVV3YmaI5Kxb79SEug+fknAAgxljThvbrpp4yFX4jHQQRrbX+BkhdmuGSON5RAsWswnIWthlqzIdsSK8oVCZTZ+HYAvFT9tEIGDrRGfdnlzkzOcwra0+Bma6JRQkMCxTKCziiFWcHjZtH4APwiOwPO7TmdrlTCSbSgYxdaum8Oic7+A== 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=Gkk3RXv/unIwCm8PLTzw//X6ZsY+ba6DXGEB5yHRQ+8=; b=ev9LZt9b00dTbUPW1ISOBcNwfnf7AjtbiOROT62AZS5XM6gFg54yq+FCUT/CAsCLxVkJKAVe2DY6bE3IyCqADcyzRpk/XZ6WogQ5lhrWWLoji8ZZGodJ436VwpivQMcfXddXsI3h98P23yVPb7b/O6aoSYPDUdgxcvIRidh0BUM= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (10.171.188.154) by AM4PR05MB3315.eurprd05.prod.outlook.com (10.171.190.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Tue, 31 Mar 2020 15:09:43 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::da5:7919:35c1:894]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::da5:7919:35c1:894%6]) with mapi id 15.20.2856.019; Tue, 31 Mar 2020 15:09:43 +0000 From: Slava Ovsiienko To: Stephen Hemminger CC: Matan Azrad , Shahaf Shuler , "dev@dpdk.org" , Alexander Kozyrev Thread-Topic: [PATCH] common/mlx5: fix bogus assert Thread-Index: AQHWByIH06kShlcoU0ea+M+TfF8VY6hiSb4ggACAwgCAAABLEA== Date: Tue, 31 Mar 2020 15:09:43 +0000 Message-ID: References: <20200331060247.10954-1-stephen@networkplumber.org> <20200331075514.775408ee@hermes.lan> In-Reply-To: <20200331075514.775408ee@hermes.lan> 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=viacheslavo@mellanox.com; x-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f7001d39-2866-4940-6354-08d7d5858b24 x-ms-traffictypediagnostic: AM4PR05MB3315:|AM4PR05MB3315: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0359162B6D x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR05MB3265.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(39860400002)(396003)(376002)(366004)(136003)(346002)(8676002)(81166006)(81156014)(107886003)(33656002)(6506007)(54906003)(316002)(6916009)(55016002)(9686003)(53546011)(7696005)(8936002)(186003)(5660300002)(66946007)(26005)(64756008)(66556008)(478600001)(4326008)(76116006)(66446008)(86362001)(52536014)(2906002)(71200400001)(66476007); DIR:OUT; SFP:1101; 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: CCi8hROh7WdnRqV15LMkOAFq3UX21VcG7ie8cIetfrTggPfdTdorpKx4f5pNck39vEnxGWm/6lve9I6fMxW2M5GE+Kd3BUz6lLuAE1HdzWzp1iGlKX7omEdhlLyXx1tJxsw4zHtS5K40LTJsN9AROMs/vpopb6TdSICUYhkTs8lO3nDZG6pW52rhBxzrMjsV9gxYkuT6EkX7+//EKTHgmhCGFKo9Vwe57BNsi8VFST0x1MfsY5Iv+BcR3pQNIaDUXevyz8vG3+0jIdraYCw6QPx5JZs1ncZbNNIULaGNIimfSQb5Hh/L/7BSq5nukkrfZvUeB3wfcE/GeEaO5REYYXD7VxMddOZGrTY1wLijfrmX3csShydu/G5QRVqpQBJMVQJHbSB2RjLYLWxZKe5g/9RhqMDy1rxXi7/0ZSEKOO5s8C0fqTdnDd5xOxF8zCPT x-ms-exchange-antispam-messagedata: zy20s+2dagARhbd5ObmUjYKfbtVeFukBvTZxwF185l1NbmhWvzOQjcXAhTbJT7+g4n7L1QB4VVobQLLZAgWBxs/CqMWqxLTh8MfPv28LtwRHIsoh+VdbsywD5AyGC+m93E3EIh7qhCDqD+C3V765DA== 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: f7001d39-2866-4940-6354-08d7d5858b24 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2020 15:09:43.6299 (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: iAREzjySbzdVr70WQY68cePpkH3BRErqk7xMBqPX+Wz3LCYYqedM7+SdOALFsawSfiYuVa4UZBEVDAngmYw9UZSKsjXeoWTtJ5+td3HNAI4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3315 Subject: Re: [dpdk-dev] [PATCH] common/mlx5: fix bogus assert 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBTdGVwaGVuIEhlbW1pbmdlciA8 c3RlcGhlbkBuZXR3b3JrcGx1bWJlci5vcmc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