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 11CDFA057C for ; Thu, 26 Mar 2020 20:00:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 63D654C93; Thu, 26 Mar 2020 20:00:46 +0100 (CET) Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) by dpdk.org (Postfix) with ESMTP id 83F872C15 for ; Thu, 26 Mar 2020 20:00:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1337; q=dns/txt; s=iport; t=1585249244; x=1586458844; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=wIMa1wczrjC1kqWVIlVZ0YWPWeOviqt4yzB0TgLULZA=; b=eZZSOxcPCGCKQlpYTGGf9TvHo7ind0CJVEYXGqYFJlhO3UPnMsgJoT8t Qg6j8segWB2gw9i5adajFM+OhpPypVqS2Enc1QQT5JWseehALX6v009fm 99p+CE5pc2Hsn6hm3wEWhOYQj+VKkczwgDIoQX44W+OqhLSDYA+8Kca5R A=; IronPort-PHdr: =?us-ascii?q?9a23=3AcCJoeR0tk3ISGqHvsmDT+zVfbzU7u7jyIg8e44?= =?us-ascii?q?YmjLQLaKm44pD+JxGOt+51ggrPWoPWo7JfhuzavrqoeFRI4I3J8RVgOIdJSw?= =?us-ascii?q?dDjMwXmwI6B8vQA0LyKvjnRyc7B89FElRi+iLzPA=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AaCwCg+nxe/5hdJa1mH4IigVRQBWx?= =?us-ascii?q?YIAQLKgqHVQOKZk6CEZgegS6BJANUCgEBAQwBASUIAgQBAYREAoIvJDYHDgI?= =?us-ascii?q?DAQELAQEFAQEBAgEFBG2FVgyFYwEBAQECARIoBgEBNwEECwIBCDYQMiUCBA4?= =?us-ascii?q?NGoMFgksDDiABAwuieQKBOYhigieCfwEBBYEvAYQFGIIMAwaBOIwvGoFBP4F?= =?us-ascii?q?Ygh8uPoJLggKDQYIskDygHQqCPIdfj0eCTJkTkGGHQJJlAgQCBAUCDgEBBYF?= =?us-ascii?q?ZBC4+gRpwFYI/aFAYDZIQgmSHcXSBKYxsAYEPAQE?= X-IronPort-AV: E=Sophos;i="5.72,309,1580774400"; d="scan'208";a="466140001" Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 26 Mar 2020 19:00:36 +0000 Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id 02QJ0LJk006237 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 26 Mar 2020 19:00:36 GMT Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 26 Mar 2020 14:00:32 -0500 Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 26 Mar 2020 14:00:31 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 26 Mar 2020 15:00:31 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dyfBXs5oCjafcMFEoeOPPBGUqeBBwQWNJ8vaBobobuIsYxK1dWna68RutekBWuwQ0Euo1vVbnsYFvfUOkiJjWnzubWfy1ExB956JptEhkwMqJbOE3kBcjYY+XgB58CV1zzqNeNsMm882fQuJwNoiGNOhp2LxmqRR/OqJIQCZuAGZhuN2FTBUFNI4qhWrH2QOh7cBq30De8TydcuAISlfoGCA1r4UrludVhmWfJwV52nMME5VgPwn7ynu7mpRpX/tfBFbFl0psf47NuDoO2i1GmkGPbkSRMyX9eaUQlJ3aCyL3vyT/sm/2L5Y5qomiUrtgcSlupd0Yyx23b6t1cEjdA== 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=wIMa1wczrjC1kqWVIlVZ0YWPWeOviqt4yzB0TgLULZA=; b=SwOUXiRt/FQeFXSsAM9nDj09CzYsInf43ySCSlJAqVqQmkv6qvw4B3WVlAeHAhCSsQeLH3GsyylHFZLbayz5Fzt+jqy17TduK+Z0PwwhitYObLYf2baY3jiHBxW21oEdA+qWKt7B0eXX4uFKr/w5sRHqzbg6BGxRvDZ+gXXloQtCo0DYn6NrJbHnnwUbrBIrOoLMoPkVoRDHtoV3nCTZk5FEWz16bvXAhCpBZNFpqNeimvR4Lf+QKEdsfNYOs0j104wBRX4niV7gBZs49SAaLNNHvAWwSyg4038XCEpF1gOdzk+gVyN+VUdwx3VLpEO5oSGj9jkjJYf5XNlp6jjvZg== 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=wIMa1wczrjC1kqWVIlVZ0YWPWeOviqt4yzB0TgLULZA=; b=oK55Wp0RIEFNt+lntbTMgC6ntdPJz5GYzMqAEPm00SeVtuaK1BirTtkQeqpJvnvRga0uF7fqBDEJjIyVzFU6RI0ZjeHxLniBzEcg+RyBFVUGT4lMSN0L6NLcwPcApRadjqy+kVA3pREuywlkEF3VvsaxqwBsU0vIqFKJVfSZrF8= Received: from CH2PR11MB4327.namprd11.prod.outlook.com (2603:10b6:610:43::30) by CH2PR11MB4440.namprd11.prod.outlook.com (2603:10b6:610:48::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Thu, 26 Mar 2020 19:00:30 +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; Thu, 26 Mar 2020 19:00:30 +0000 From: "Benoit Ganne (bganne)" To: Thomas Monjalon CC: Stephen Hemminger , "users@dpdk.org" , "viacheslavo@mellanox.com" , "matan@mellanox.com" , "rasland@mellanox.com" , "saeedm@mellanox.com" , "eranbe@mellanox.com" , "markb@mellanox.com" Thread-Topic: [dpdk-users] CX4-Lx VF link status in Azure Thread-Index: AdYC1mshRkrwi7+yQ7SC7hJxVHlhAgAIQ0GAAB6bQgAACYtEgAAAxI9gAAEjToAAAA4U0A== Date: Thu, 26 Mar 2020 19:00:30 +0000 Message-ID: References: <20200326105753.5d1a7e05@hermes.lan> <9551713.0AQdONaE2F@xps> In-Reply-To: <9551713.0AQdONaE2F@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: 695971c4-be34-4c4e-8353-08d7d1b7f47a x-ms-traffictypediagnostic: CH2PR11MB4440: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0354B4BED2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(39860400002)(396003)(366004)(376002)(66946007)(66556008)(64756008)(66446008)(66476007)(6916009)(6506007)(71200400001)(7696005)(4326008)(76116006)(26005)(55016002)(966005)(316002)(186003)(5660300002)(478600001)(54906003)(8936002)(86362001)(52536014)(8676002)(81166006)(81156014)(9686003)(2906002)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:CH2PR11MB4440; 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: LiLskrD9fIyaCsEXUGztRqE8xZ7y4SNlf60SZ1zTLO6Sklj9cJf5yreZYPTcX6qM7u/UyYBgP6nmrXFymlz5KX9L5TWDuxM5ybzkeAbN7EwmtZoNPL0Mgv2C4WfwjA5Dl3PzyzZTI69Z4MuEPUuNE6HykoiaW9697OmL/njChY1ADzbefBqD3G70PmQKcOOwOwkaqjEnZCbfd/JyCmVKeCJwZkiRpsfTUqtO9LLDPfL78ME+QZfP2/4uLNAHZpkPoECaWkTVRq4szwuqEksqB2RXpwV4nB49Vjvt0F4VjqZD37es59rL6jyh/aTb8avR7blebZbFfcSOuqbbxXNLpXM5OcJY7aQUxoeDo8cZ4+7rMcfit8cYUelb8DFyvYlMcCxa3/mK1NmyWs60wRFiP8zl78OCVcLFsHhuy55164syQNdq+T2EkCD4PhCa7ZpKs2MXx29OodZe6NEl1DYyHxWDJJxq56GIFO884cdsqc7dr+JQosXh6cHRUA5T/17VaH87Q5aWMYKtEDxRyqHghg== x-ms-exchange-antispam-messagedata: 05HeB9Ug8aH9WiY0euh2xfiZDgZ9sURg/FFZAiCBvvF2lK1EXCiCPGJosEqbRelt8YQ6YeqZCjA84Ftbg8UEMoJxbjAi3eyb8WOmJRBJ8mcG4cRA8zBD2/w85IG4DjbldiLvE5yriFPe+cIE972voA== 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: 695971c4-be34-4c4e-8353-08d7d1b7f47a X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2020 19:00:30.6125 (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: 1PaucIcmUf8OyKlHj+sD4d138dIUv45HcGBlYgEI0JnliBQKeu5g731FHU8uoM0aFYrZkaZs1ckYWHHHanS5hg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR11MB4440 X-OriginatorOrg: cisco.com X-Outbound-SMTP-Client: 173.37.102.14, xch-rcd-004.cisco.com X-Outbound-Node: rcdn-core-1.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" > Pasting back this important info: > " > Note that ethtool and '/sys/class/net//speed' also fails > to report the link speed (but not the link status). > " >=20 > 26/03/2020 19:27, Benoit Ganne (bganne): > > Yes everything is initialized correctly. The netdev itself is configure= d > and usable from Linux (ping etc.). Just removing the over-strict check in > mlx5 PMD is enough for everything to work fine: > https://gerrit.fd.io/r/c/vpp/+/26152/1/build/external/patches/dpdk_20.02/= 0 > 002-mlx5-azure-workaround.patch > > The link speed is unknown but this is not issue, and link state and > other link info are correctly reported. > > Thomas, any input regarding this behavior in mlx5 PMD? >=20 > I am not aware about the lack of link speed info. > It is probably not specific to ConnectX-4 Lx. > I guess it happens only with Hyper-V? For me there are 2 separate issues: 1) Linux kernel driver does not report link speed in Azure for CX4-Lx in U= buntu 18.04 2) mlx5 PMD enforce that both link speed is defined and link is up to upda= te interface state If (1) is fixed, (2) should work, but to me (2) is too strict for no good r= eason: we do not really care about reported link speed, esp in a virtual en= vironment it usually does not mean much, but we do care about link state. ben