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 27B80A0589 for ; Fri, 27 Mar 2020 11:02:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A1851BFD9; Fri, 27 Mar 2020 11:02:40 +0100 (CET) Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) by dpdk.org (Postfix) with ESMTP id 9862A374C for ; Fri, 27 Mar 2020 11:02:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=800; q=dns/txt; s=iport; t=1585303358; x=1586512958; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Oo2MQl4xBzo/CGkEs4UZXgGRdNWkimYGXqUlAgYXA4E=; b=bxO9pstB0OOkWizrCIwXmKTULbkn1jtXo1WBi0WLyMcijqnzzEEIfsLW AJavEvL7k18o0D+6WAFkP5K4mu9U0uGbmgITit3hbP9f875RxOVXQQjSa UFzLAy0VtbqgqMq2EE0CDkwi1FFX89NtE+R57I+nCqGk7t5g3Fg2jErq7 E=; X-IPAS-Result: =?us-ascii?q?A0ATCADwzn1e/4cNJK1mHgFDDIFTgVRQBYFEIAQLKgqHV?= =?us-ascii?q?QOKZoJfmB+BLoEkA1QKAQEBDAEBLQIEAQGERAKCMCQ2Bw4CAwEBAQMCAwEBA?= =?us-ascii?q?QEFAQEBAgEFBG2FVgyFcAEBAQECARIoBgEBNwEECwIBCDYQMiUCBA4NGoVQA?= =?us-ascii?q?w4gAQOhPAKBOYhigieCfwEBBYU+GIIMCYE4jC8agUE/gViCHy4+hFCDQoIsj?= =?us-ascii?q?XeLVJcWCoI8lymCTJkdkGSaKgIEAgQFAg4BAQWBWQcrPoEacBWCP2hQGA2OK?= =?us-ascii?q?ReDUIpVdIEpjE0BgQ8BAQ?= IronPort-PHdr: =?us-ascii?q?9a23=3Aw2/W6BZQXe+0WG+fhT6Jcif/LSx94ef9IxIV55?= =?us-ascii?q?w7irlHbqWk+dH4MVfC4el20Q6bRp3VvvRDjeee87vtX2AN+96giDgDa9QNMn?= =?us-ascii?q?1NksAKh0olCc+BB1f8KavgYCU8GslqX15+9Hb9Ok9QS46nPQ/Ir3a/7CAfFl?= =?us-ascii?q?DkLQQlerbTHYjfx4Svzeeu9pbPYgJOwj2gfbd1KxbwpgLU5IEdgJBpLeA6zR?= =?us-ascii?q?6BrnxFYKxQwn8gKV+Inhn679u9mfwr6ylKvvM968NMGb73eag1V/RYCy86KC?= =?us-ascii?q?E4?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="5.72,311,1580774400"; d="scan'208";a="442619808" Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 27 Mar 2020 10:02:15 +0000 Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by alln-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id 02RA2EGp020287 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 27 Mar 2020 10:02:14 GMT Received: from xhs-rcd-002.cisco.com (173.37.227.247) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 27 Mar 2020 05:02:14 -0500 Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 27 Mar 2020 05:02:14 -0500 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 27 Mar 2020 05:02:14 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C7dvpm7MvHvXNdw/rZ5B55DixwOMq4ql9EPMPPjPaLSrubeHpT+vxYJQwjDXSN8SpM4yRRnsADDY936A4WA9FnI0NANlaP36LW8A9YeyXh7jkkxNpEEQlzASiPZXaESfLVgaViF6EQOi6yhDRzSsvl5kKzfoymhBdMox8ZIN8QHt9mBH936cqfDo/tqlUPVp1iwZGb1JpnPdVACYnGXtK8/hMN1wc/KziY511uXNgskRjiXS4JT98Q5cnhYrJr8QycJUBwvD63tsmCHamX/9nCZrr/SArc71FoZVVTKh7RQmwX8Exc2eLkRFcqPxg+ji1PpafxT8G4REe56lv1cIHw== 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=Oo2MQl4xBzo/CGkEs4UZXgGRdNWkimYGXqUlAgYXA4E=; b=Z6tWOj/nIEkn5mf2TA/ekxDgM1M6ZfebH8LNZSkUe2C2pPaNn2FPBOu2KOO2B+Hd0XbvYdN3bW3A9DXlTtfI0KgvyLr4J+F+Zg0CwWyzHxyTStCCGhDWuQ1wzMx/e7P2Aoy+WUTpB/jY0JqOuW1fUFvDm5PMDSp9x/o2AaCeP9yGAhp46rhG4CFCL8Qr+/g2zskQHlWZGE017EiGGlk5+egt49bjLlUkFqcie4Mlv0eS4qilT5oXiaTHBt9lz+1Fm7UedYhbsNDJmXYOfIk2QiHK4qbIIB4tDASqS4uiUhUurMn/NUDlERMkry+ku+RHXiBlLHxUc+qaLI6QOu2K3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Oo2MQl4xBzo/CGkEs4UZXgGRdNWkimYGXqUlAgYXA4E=; b=Z56h/nFF/55A3Ng9Z59kJodtYbL/XKOOOSU5CIa5Y3YqWOvdYtkp+QSkBmsjEIxCF2KsIxkpjwxPYF2XjobOF5AcYhPEyTNcOCzhLAZBO9xxlSD2fGrzVwUw81sAT/LtbwB3anoVoS7vV2Ow9yyu6ZGPAQoKBNkJaI5JALAsybw= Received: from CH2PR11MB4327.namprd11.prod.outlook.com (2603:10b6:610:43::30) by CH2PR11MB4375.namprd11.prod.outlook.com (2603:10b6:610:47::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.18; Fri, 27 Mar 2020 10:02:13 +0000 Received: from CH2PR11MB4327.namprd11.prod.outlook.com ([fe80::2d84:413f:5702:c519]) by CH2PR11MB4327.namprd11.prod.outlook.com ([fe80::2d84:413f:5702:c519%5]) with mapi id 15.20.2835.023; Fri, 27 Mar 2020 10:02:13 +0000 From: "Benoit Ganne (bganne)" To: Thomas Monjalon CC: "users@dpdk.org" , "viacheslavo@mellanox.com" , "matan@mellanox.com" , "rasland@mellanox.com" Thread-Topic: [dpdk-users] CX4-Lx VF link status in Azure Thread-Index: AdYC1mshRkrwi7+yQ7SC7hJxVHlhAgAIQ0GAAB6bQgAACYtEgAAAxI9gAAEjToAAAA4U0AACptOAAAENkAAAAc7VAAAWcXwA Date: Fri, 27 Mar 2020 10:02:13 +0000 Message-ID: References: <4c84d14c-e12f-298b-474b-0c1da812a6d2@mellanox.com> <1712113.QCnGb9OGeP@xps> <2170638.ECZNHGQPT7@xps> In-Reply-To: <2170638.ECZNHGQPT7@xps> 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=bganne@cisco.com; x-originating-ip: [92.154.90.183] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8f4cb1db-834a-4a2f-e12e-08d7d235ec52 x-ms-traffictypediagnostic: CH2PR11MB4375: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0355F3A3AE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(136003)(376002)(346002)(39860400002)(33656002)(7696005)(55016002)(71200400001)(186003)(4326008)(478600001)(9686003)(52536014)(316002)(26005)(5660300002)(6916009)(66446008)(54906003)(81156014)(4744005)(8936002)(86362001)(64756008)(66946007)(2906002)(66556008)(66476007)(6506007)(76116006)(8676002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:CH2PR11MB4375; H:CH2PR11MB4327.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: viTZW3ATtQFA4QD81ek8b55TSS++AaYLxdYNASTnGxHgo0iXU0kDbzOHsJvgko+fQYFoT9T/1fbMtBAWB2j5Bz86/+hyK/POQTKWKeHuQJre5LJBUZK2l8nu8jlHAFmpA5bbq8mytWWhEUnRjDPn3M1kxcJdHXCdZTNjrHniVAzH/G1GGZEmiUEM+YnKwLE+9JyzWOvi2j09xFN1ldfDd/T8SpDfaO/HKpTMl+RTGF8ooHWlZ1PtGPVBSwRzaRJa9VE48yeTlN6M3lDitwG+zCm/66vI/3FLNKNxjMfCqDd12xMGvJnzqdX14Q/4yR7d8pwb1h/DRnGrkc/FaXRtIi+XCscmtFxH+fFronW8iZP9WIF7JPiqAtMEK6hKdDFzSHgd7KZb8aX0Yyn5uy0s8BHIIoyVAUiT040+SDZXQBBlyNAx/bnOfDgjcO8O5mIJ x-ms-exchange-antispam-messagedata: rKsmDSd/T06P5RspqDvbKDoAVUFgl09HkJhjLLa30YXGv6TbWi+yQBpRcNhULEMNxDIN1j3ojBgLpLLnaGhxzOipFuBHHBGVINMGHs+b5Q1ia/Nv/pcpfCkYCjOUxJLuuLqmPem89TjhmsxatjwCBg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 8f4cb1db-834a-4a2f-e12e-08d7d235ec52 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2020 10:02:13.5429 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: i+oImY/6wGV8U0qt+Iu3M5LU73AiYwIUv/hE9xlyduDKchhK40SE0E2peF3FguhYGDqyxv+ifHr654IcYR/Hug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR11MB4375 X-OriginatorOrg: cisco.com X-Outbound-SMTP-Client: 173.36.7.13, xch-aln-003.cisco.com X-Outbound-Node: alln-core-2.cisco.com Subject: Re: [dpdk-users] CX4-Lx VF link status in Azure X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" > Second, as Benoit said, we should relax this requirement. > If the link speed is unknown, a second request can be tried, no more. > Benoit, feel free to submit a patch showing how you think it should > behave. > Otherwise, I guess a maintainer of mlx5 will try to arrange it later. > Note: a patch (even not perfect) is usually speeding up resolution. I can do that, but I am not sure I understand the logic of this test to beg= in with: looking into other PMD (mlx4, i40e), it seems to be the only one w= orrying about updating link state only when "ready" for some not clear (to = me) definition of "ready". I'll tend to agree with other PMD here: if the syscalls did not failed we s= hould just update with what we know. Why was this test introduced and what did it fixed? ben