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 4593DA0577; Mon, 13 Apr 2020 11:51:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2AEC02A66; Mon, 13 Apr 2020 11:51:10 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150045.outbound.protection.outlook.com [40.107.15.45]) by dpdk.org (Postfix) with ESMTP id 87172FFA for ; Mon, 13 Apr 2020 11:51:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dyI44NENlnNJwR8a/7zv9M76TnKtqcs7VxQ69OLXIrhvMNbPId4J6d+84bAtIL2ADtUfY8bBJAs72E13EfDc2TAnzmX0Q7hDkwI0pHP+X2maMEFxxT/IKtzEEpCulp9NjNE9b6VO+n0/26gnyEagocP2VKFONzLawU9iySrkuEBHrP/7L7HsXT1obgbpB8xf4ybtIJSic18XuThgu2/V+BHyV0XU7q7zrmtsNEjrUm1BxYHDqQpdr8+O5u/+CqE57x6K0ranPx/XvhcJfM37LBoqwDIHuekR38jHRwLBz0PzHs4bOjxXdp0zDWx/Cazpufo0fTVrN/zBaRO9H9zXcg== 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=JaOGlZcB5W2UMNVyaa0fKSKDhsQMbIenCjDswi7bqQQ=; b=VvtCrzukkFqAFC38zJxTAGQgYlqnMCJpvPqh1PoVrUpaLayf+JQ8ZZLvudcmYZZe+r+p5RXdYJc8u5DIhi0bj/91dZ2d0d+WwerpZ+wjNpF4QF/A6vw4MYU+GRYYWIClBepwaV2GmIAl4EVJWkI1nOL7Pmr0Eguz8fL8ttC1/nay+SjJno7fMbOJErTl+8u23IO+Ok9lME9hnPjF/4rU0iQ+gDBGLhQnW33H3bfdIp8HaEvr36XlodT9aqitBTIjwn9RILhZNOvdjk09l6bU/7VjcJVscePeTfBff+/r97a0l6St7ExWIHb69TSdEsNUbnO68oA+uQSjEfTFU8iYtA== 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=JaOGlZcB5W2UMNVyaa0fKSKDhsQMbIenCjDswi7bqQQ=; b=ck/ie9EMgiu4LSC7DlKPWxwwpZCnGBm8FEYijPZNBzEIWfdZwGPJlLsOhhPhmAlzdoRi4dbfgO2vhEKV4CoOL9ui60LdIJuQlzz8aGNQzxkVJVrPtPIh34NI1bQ7pS8cAPmhLrINQf+Tn8A7SCAMXX88Pg0zLAapB0h8z4hrPWA= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (2603:10a6:205:8::26) by AM4PR05MB3201.eurprd05.prod.outlook.com (2603:10a6:205:7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.26; Mon, 13 Apr 2020 09:51:06 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::bdf0:88a3:3a39:4be4]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::bdf0:88a3:3a39:4be4%7]) with mapi id 15.20.2900.028; Mon, 13 Apr 2020 09:51:06 +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+TfF8VY6hiSb4ggACAwgCAAABLEIAP3gCAgAQ3PhA= Date: Mon, 13 Apr 2020 09:51:06 +0000 Message-ID: References: <20200331060247.10954-1-stephen@networkplumber.org> <20200331075514.775408ee@hermes.lan> <20200410101445.34f2ab0f@hermes.lan> In-Reply-To: <20200410101445.34f2ab0f@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: d5306432-cffe-405e-1050-08d7df902fd5 x-ms-traffictypediagnostic: AM4PR05MB3201:|AM4PR05MB3201: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 037291602B 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)(376002)(39860400002)(396003)(366004)(346002)(136003)(6916009)(316002)(186003)(66476007)(76116006)(54906003)(66556008)(8936002)(66946007)(66446008)(64756008)(81156014)(8676002)(5660300002)(26005)(478600001)(53546011)(52536014)(6506007)(7696005)(55016002)(9686003)(33656002)(2906002)(71200400001)(4326008)(107886003)(86362001); 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: 2wrjkO4+twT5IxmE9RkT36FQpQNnQjxNE/SpmjGkid1lLs/3w958c/B8HVr6J1cH7shb41TQdXctGsFiJyaFVpW0/yo19O4dT2lqHa37EOkRFevQSNoqFLABxwvPcQnBCwOF/aBTvYajlkv639uD5v1ewKF/7zjhtp2N5PCUnOF4wA6/vxad+bQei+GOHo9cAQokP9Jbm+0pQ8kJ8n/gUt1kTuus3pbSW0uXNK4/W+pP1zBAw/CwLlJW8KUydO+8DiLIrpBNgBwXEwohxFmjNlI7wvUdG//hSOFMyp06GqxJ2fPKLIQ2j6pCJz3XEN/5LXaJWUNvCkSdRm1lZTKqzHapHKYeyDCUtaXgFKFp2HYXlWION1VhuYIt7wUmk/ca/24xlhz/SWdJESpuIo8qdqbrxuptzjJbWADTCS/p4AOukV/YOgZoUZCi0f5Vn2bj x-ms-exchange-antispam-messagedata: 7/QO5IwNbPF9799Jdnpjdo4rdgjFLuS7GCAQEMeTKAPNxqk2479gjgj/wZH3wbiGoBRIlJQ2JBSFgoWQm1eVf2eEujr4I0DojcF7AwKbSwJau1w7Ms0U5gLxkZeeRMy6e85MvwJaDtwW6ogM6CKOmw== 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: d5306432-cffe-405e-1050-08d7df902fd5 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2020 09:51:06.6302 (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: 1F30XkEyA11ZlyZwp8jlm6EUuU2Yj8KjHU4zhfmq31Hlf1GpfaFfhhXE+dsCBrA+SgeH+BgO9oAzTDo9SsW2c4thd92HXY1d9nkHRAbxQQo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3201 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4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