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 190BAA0562; Sun, 29 Mar 2020 09:00:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E35FD1AFF; Sun, 29 Mar 2020 09:00:48 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2075.outbound.protection.outlook.com [40.107.20.75]) by dpdk.org (Postfix) with ESMTP id 3F5FCF3E for ; Sun, 29 Mar 2020 09:00:47 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f/n8Sev2PIZouhX98TSSAGaJ/n0szqhIyFxjjDEmVqNsnTw7pp78GeRkk280yTVqGwVA5itCUOyfiUMCk+TGbimoM66YJ6E4Ek2VcRrpAwxhPzdBTx7vnwZ2mim+picAF5T0OmMBCDg5khCvQzcOf77N+u/V/D7K+64gN2ZRBFH0Af4pR8ygfZhruz1JO4T7PBoKbr2qoCOo2prYYiesNlEv0EmQqiBT+ZxYSxVGP4utAw/YcxUpb0DUzMtw2hXtvoS6msFfrTa7jKhWglEDyJkHoaZB+H1prIiqCS8aTf86HYGctSSVWkzPdbJ7rNCsHGBoSwN3fEUdCsiwvZZX6A== 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=4Vek+xuLMiSLbsCCIIySzn2Rx28c0pgdPzuOw41nOyA=; b=kpUXH+cB8pds1yFQVvBaNz+uCRnw6SYv7TNXVAICcllW3MxdBuEqfWBWgzxAeR3CwfbDiwW6A5R900gmvURnHPJnMipAOFDqSffr3/yOLaxdMBRIgxHE1oD5oasxlVEkK/EqPUYbkYbvH4f7AIeBEUjppUMmMPl3sitYkRzqBMRmzWjOBE51euBZHh2SbXWL30rjbM5pWt3pgiX+luFxEDtumEit+enJ/mD/PPj4HgfOCph+HEYdTlr4reFORtTSWOYIID8vFZFLzmlN1EfsGQS+TXs2nlRIGzumyPDzDC+qzR7u+ODbTAMmvjCYmdBWksjTbkYBnv4vDjeiYwl4XA== 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=4Vek+xuLMiSLbsCCIIySzn2Rx28c0pgdPzuOw41nOyA=; b=WC/GzwyNl4xMo6oOHGq3BvipRbPHpqDFOs9K7qLME8ytClo5j1/j3011RI2HqYDw8dARRww2GrCOCEOEpFJsSQLF3qbD21V1tPjXpDC50RcWhZeiolwQTLVuoQL//VTV+CrfkD4jg+nia2/JoySY6PitTGazihU0k5YFpcpl42w= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3937.eurprd05.prod.outlook.com (52.133.36.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Sun, 29 Mar 2020 07:00:46 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee%7]) with mapi id 15.20.2856.018; Sun, 29 Mar 2020 07:00:46 +0000 From: Matan Azrad To: =?utf-8?B?QmVub8OudCBHYW5uZQ==?= , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix link state update Thread-Index: AQHWBFyoy/G270o5W0W+wgPlvS5NVqhfJNAg Date: Sun, 29 Mar 2020 07:00:45 +0000 Message-ID: References: <20200327172449.6514-1-bganne@cisco.com> In-Reply-To: <20200327172449.6514-1-bganne@cisco.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [77.125.94.232] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 8e139c5a-36c4-469e-6f40-08d7d3aee7b2 x-ms-traffictypediagnostic: AM0PR0502MB3937: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 035748864E x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(396003)(136003)(366004)(376002)(346002)(39850400004)(55016002)(71200400001)(7696005)(8676002)(8936002)(81156014)(66574012)(9686003)(81166006)(2906002)(86362001)(66476007)(66446008)(66556008)(64756008)(110136005)(316002)(6506007)(15650500001)(26005)(186003)(478600001)(33656002)(66946007)(45080400002)(966005)(52536014)(5660300002)(76116006); 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: BvGnpI1plNhU9fHLbuGHPWt37Mtzu6YjzWynNel8ELQSDIYpdpHtllOv4A11TAgtTnsm4NmWmp7YctyX/1CRTDMGVYx9Prtc5T8sQyXGUgY66Qs2F96rKXJdEUapNjuk009wKG7jx2Ou5W8FQpcqMsF5YQfkNe1lGCdxN8cmJUotzfcDmCqALj3EFxFpvz4DcJt5S5T6kC1bx9oLhu1RIXoCDgJD8EzwfmY+FhbdTadWA8UB86W5fynikcphLHvK7H0dwqwv7lmHNR+Xx8/fnog3n3Wlirml1AUyg0MVFgt3T4Xw8Gf35lhDPxFk4HU5yyyq6hIRRVPsK6uo5rdW3baKTJ9H/mXA3SxCEQMTTra3urSd/UpGyFgDCoh7LklSHHWW0c8nANAVmtoEWHrxjGcWufyTMmsRqichxP3QSIQiwnpymkHUDU3unLb4GSCS48XNmQdb6Fh/gCQUKK12E7sz8W9M7Lkoq5MghaubaC8WXGIWHNuReTx3Sd9C5sdD x-ms-exchange-antispam-messagedata: 7s+bbvFOr1ln0ZnefCfdUbRVOtHFvnNnbvg/Qr0donFOu/ySY9EGPwRhl9iK7PcLAi0E0T/euOj58p7BaM2CKMwggk0H7uowVFHXac7kqWRxqDVHZBIN6aZQ4Kq4R3NBLVj9KmrdZ5eESudqfE+UMQ== x-ms-exchange-transport-forked: True 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: 8e139c5a-36c4-469e-6f40-08d7d3aee7b2 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2020 07:00:46.0096 (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: Nt03HQbHLo2LpaIVnwRvcoKPrh9P5OlyEMMqfKjfVPBuU0jT3GbmOuqd12XWgwVUbTc62NrHoHsyxCz/M1TgFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3937 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix link state update 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" SGkNCg0KIEZyb206IEJlbm/DrnQgR2FubmUNCj4gbWx4NSBQTUQgcmVmdXNlcyB0byB1cGRhdGUg bGluayBzdGF0ZSBpZiBsaW5rIH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