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 5D2B5A04F1; Sat, 14 Dec 2019 10:40:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 85D4A1BF91; Sat, 14 Dec 2019 10:40:32 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00044.outbound.protection.outlook.com [40.107.0.44]) by dpdk.org (Postfix) with ESMTP id 3371A1BF8E for ; Sat, 14 Dec 2019 10:40:30 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Izsbwl73zvcyrY8Vewd33M8lhCdoksxod2ZZDWGC+6ir+7EMhFqZqp9xyoRrIqujGWWO9R0jAwaysndaeN3VhaDtvtsu2V3PKHdjDgQBMe1yX7lwkq7qs9jz91AMgQx/+cxKIL1SYo72tWo0njGjNUxD+53ljCMbf1uuXcP79jAU1PR89uPbQz3nVESZuDw5T9R0BsYHKjmG2brYg3sLqB4bLOspLsDlINohiHLGmOSN8ACznVu7/l87xLvt8B9TytZoQM5rb32+EWy4ANHf+hQTT6Ah1Jtp1nvbJY3IO/3K54vtwRzy9bD0pJDXxEQVo8JORRXOI+ZkYIoDerz3GA== 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=Pozfq7m1RftaWGt3qhFHHqexQFVFQ1R+p4dKezGL+T8=; b=etxHLMZOeZu3shkQP0vZRTTYWLDaFhsaS5oiFhAZLZlouDhsFWUdYnwsoDyey2CtE+WhESocA15+EOGIy3aTmEiGeQgRQrNKtmDbn/ixvFmgq51ynG9Pj5AXP6Lp7NokIkZTYbTOZfCSXe2HXtiDf7AoFVAl5dvab/t8MTVpv+rP/VdU3UN9F8tE2jikthkmxzNUJhislPmCPCi/RwGdrAkKafSzbmxoFSTM1eryzSo1SVaEd1yB9e3MPBTKajY/jNHB+0PwfYiovg9nP9P45psPtfXezB22hr5DXtGGsodYPE9B2pbDzGU4cej0x5aGMhuJ1e4+vMwIXeEEjfs/Ig== 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=Pozfq7m1RftaWGt3qhFHHqexQFVFQ1R+p4dKezGL+T8=; b=UqQZ66TEdUOYqZNlXltaqDkCiFhMzj4aO+2jVfreuFm33J6jkoo0q+7BkmOz5nuuFXM87bqNv9jaHdaKLR8r7lIFRmOfnLvOOuYTD8f+hZQAzszMkkJmGoIsDfc4/ts96AbOBz5o5SVoLAunam/E9Ed6sUhyd7Nr6TpU+fbcWeE= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (10.171.188.154) by AM4PR05MB3316.eurprd05.prod.outlook.com (10.171.187.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.17; Sat, 14 Dec 2019 09:40:29 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::68eb:ad79:71f4:110f]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::68eb:ad79:71f4:110f%3]) with mapi id 15.20.2516.021; Sat, 14 Dec 2019 09:40:29 +0000 From: Slava Ovsiienko To: "mmanning@vyatta.att-mail.com" , Thomas Monjalon , "dev@dpdk.org" CC: =?utf-8?B?TsOpbGlvIExhcmFuamVpcm8=?= , Matan Azrad , Shahaf Shuler , Raslan Darawsheh Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix eagain on admin down Thread-Index: AQHVrr3NQ3DJK6muUkKGtENpa5fDlKe3GhIAgAEO4eCAAAjfAIABNTnA Date: Sat, 14 Dec 2019 09:40:28 +0000 Message-ID: References: <20191209182314.4698-1-mmanning@vyatta.att-mail.com> <1868349.qFeMPqzfeV@xps> <5d69fcde-a7a1-d531-174d-0cb6c17dbdc7@vyatta.att-mail.com> In-Reply-To: <5d69fcde-a7a1-d531-174d-0cb6c17dbdc7@vyatta.att-mail.com> 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: 80c92cf3-a9eb-4947-409c-08d78079a7c1 x-ms-traffictypediagnostic: AM4PR05MB3316:|AM4PR05MB3316: 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:1728; x-forefront-prvs: 025100C802 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(376002)(136003)(396003)(366004)(13464003)(189003)(199004)(26005)(66446008)(7696005)(316002)(186003)(2906002)(9686003)(55016002)(81156014)(110136005)(8676002)(8936002)(54906003)(66574012)(33656002)(71200400001)(107886003)(66556008)(5660300002)(81166006)(52536014)(64756008)(478600001)(53546011)(86362001)(76116006)(966005)(66946007)(4326008)(66476007)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3316; H:AM4PR05MB3265.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: /gdDyT3zq/nzgEItFViLGi8uIXpxFq+M67SmH0sbIRsBL65uWwd6gwwHysE/8FJ9qbUDA+nkjkJvZhD3kLCzF56vX+XJLlnsB3eFN2PYyjrvBkzTT1xUJ+zNp4DEPbeha63KKs+bqrUdBHZ4ffM819DrIglM7qWPsOnkAr/X/BsmkPk3GHrSMbxYy7zt4RJ7t1RgQohaF6/bbxC4XnPx7hAvOneqJID931Jrfw0Tcl/toYCx+Gu0DYZ/BBgPgikZ5DK+WotgOzW+Yw4kWOj2NaZJ4sfByhUXyWD7w2/aeSlUrJtL3Ti1Gj/Pn3MOctU1005rpyIhOLq3xUTAOvVH2AS/u54JvzBn3wZmKEBPDD7GYxR5VPSOzP5Ne9yfT5xputSHDYOkXW+g/srt/6WunDSAx/jO/busrucWUsANqO+H6scV0OR5xNVqQLUzBMcFwSsUO9IKyUqoM4e0/ZVjI4emKV2LbpUcta4HMcNPRtgvO4RZPc4BH3HAEvEXqx++Xm8hYsYvdTLvGA6kCpAfjw1+XA9dq6F/SS0d24D2uyw= 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: 80c92cf3-a9eb-4947-409c-08d78079a7c1 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Dec 2019 09:40:28.9453 (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: SzCo82Y4f5OHuiRW/Ed3XFKEETS9d6RaSoiCK8d43+QwJQ2pOcHFHBtymOENDwfpggf84n3rEKm5EeJa/juklMEBpa5f9kfpajKfoAf4Ylo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3316 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix eagain on admin down 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" SGksIE1pa2UNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNaWtlIE1h bm5pbmcgPG1tYW5uaW5nQHZ5YXR0YS5hdHQtbWFpbC5jb20+DQo+IFNlbnQ6IEZyaWRheSwgRGVj ZW1iZXIgMTMsIDIwMTkgMTc6MTINCj4gVG86IFNsYXZhIE92c2lpZW5rbyA8dmlhY2hlc2xhdm9A bWVsbGFub3guY29tPjsgVGhvbWFzIE1vbmphbG9uDQo+IDx0aG9tYXNAbW9uamFsb24ubmV0Pjsg ZGV2QGRwZGsub3JnDQo+IENjOiBOw6lsaW8gTGFyYW5qZWlybyA8bmVsaW8ubGFyYW5qZWlyb0A2 d2luZC5jb20+OyBNYXRhbiBBenJhZA0KPiA8bWF0YW5AbWVsbGFub3guY29tPjsgU2hhaGFmIFNo dWxlciA8c2hhaGFmc0BtZWxsYW5veC5jb20+OyBSYXNsYW4NCj4gRGFyYXdzaGVoIDxyYXNsYW5k QG1lbGxhbm94LmNvbT4NCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIXSBuZXQvbWx4 NTogZml4IGVhZ2FpbiBvbiBhZG1pbiBkb3duDQo+IA0KPiBIaSBTbGF2YSwNCj4gVGhhbmtzLCB5 b3UgYXJlIHJpZ2h0IC0gSSByZXRyYWN0IG15IHBhdGNoLCBhcyB0aGlzIHdhcyBmaXhlZCBpbiB2 MTkuMDggYnkNCj4gNmZkMDVkYTllZmJkICgibmV0L21seDU6IGZpeCBsaW5rIHNwZWVkIGluZm8g d2hlbiBsaW5rIGlzIGRvd24iKSBhcyBwZXIgdGhlDQo+IGxpbmUgeW91IGluZGljYXRlLg0KPiAN Cj4gSSBzaG91bGQgZXhwbGFpbiB0aGF0IHdlIGFyZSB1c2luZyBEZWJpYW4gMTAgd2hpY2ggd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