From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <users-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id CDC34A057C
	for <public@inbox.dpdk.org>; Thu, 26 Mar 2020 19:52:34 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 05D3E4CA7;
	Thu, 26 Mar 2020 19:52:34 +0100 (CET)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com
 [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id DF81BF12
 for <users@dpdk.org>; Thu, 26 Mar 2020 19:52:32 +0100 (CET)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47])
 by mailout.nyi.internal (Postfix) with ESMTP id 73E835C02A2;
 Thu, 26 Mar 2020 14:52:30 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute7.internal (MEProxy); Thu, 26 Mar 2020 14:52:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=mesmtp;
 bh=K19OcshYyK/65Jj9ICAD9uJKMSK+WWiRz8GUQQttJOY=; b=LCrDZ4B1m4os
 UYwqiUiuMuc8gRZcHg8/kt0FQKobt1H53qjU2IDP4UWU6wUUWsmiaawytj3N2pXg
 V1H08MkkBEp7pYYGLdRwvtYDM0525TJhXDuIvxBWh1NCUtxdOLk+appTP9dNCWT/
 tn8HBM+YCLq+bt1ZJVGud2qkPoftWWQ=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=K19OcshYyK/65Jj9ICAD9uJKMSK+WWiRz8GUQQttJ
 OY=; b=xdDOR9LuKMqgc5wTvHKgo6vL8ShPuQscHm0naMFcrFq11f5ZUX/W6Ig0Y
 Rv3VyoteCazlTK6rXbcnUHuz507xzxC6cCIp+u/6HwO4dklDaiUFQgFwsj0rm7LV
 6YTSPVH9Am3ypHUQwLP2qUSd4wBdGz/ogQOPeo1W8NyN0FyIi5+wCWpPsx1Zt5Eb
 03WpzZr/jhMfhLdaYgyG99tCs/S2rq8KWAgz5HchZFx1sbJzH2duqxEQ2AIUMSIX
 wWMKzTcr05lKZdSn5q47R18yWJjj2ENFSmZqngB1CQ66go92v6aZk5MAoUPpBGkZ
 PFJwHt1CW6PvZYowUbSDJHx1Q8xxw==
X-ME-Sender: <xms:7fl8XpfireXglMB87ctn9BVXtAVArIOJk-NOcG0yIOvZGdT08biEKA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudehjedgheefucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuff
 homhgrihhnpehfugdrihhonecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhu
 shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmh
 honhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:7fl8XtomOen1RAPv7wFUT6WX_E4h7wDKqR5ErYG95f6re3kqHn_N0w>
 <xmx:7fl8XrWdZFGg7HC_9r18h3Qcv3arHw2Ib5AA2UL57sj3VbeKfVc0PQ>
 <xmx:7fl8XiO4E9cpQYXbDNrXhToTUPYoUDPdnooo_MJi-NNPNqfkqf05aw>
 <xmx:7vl8XhH_v4UqfGGOlD1Bn2j29M7xRK7lVjfQgbtrYImNFqPxWvrT4Q>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id CACBA306A418;
 Thu, 26 Mar 2020 14:52:28 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: "Benoit Ganne (bganne)" <bganne@cisco.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>, users@dpdk.org,
 viacheslavo@mellanox.com, matan@mellanox.com, rasland@mellanox.com,
 saeedm@mellanox.com, eranbe@mellanox.com, markb@mellanox.com
Date: Thu, 26 Mar 2020 19:52:27 +0100
Message-ID: <9551713.0AQdONaE2F@xps>
In-Reply-To: <CH2PR11MB432798DF21D43DD7AAEFEEAFC1CF0@CH2PR11MB4327.namprd11.prod.outlook.com>
References: <CH2PR11MB4327898A6961D9BC8A4DA2A3C1CE0@CH2PR11MB4327.namprd11.prod.outlook.com>
 <20200326105753.5d1a7e05@hermes.lan>
 <CH2PR11MB432798DF21D43DD7AAEFEEAFC1CF0@CH2PR11MB4327.namprd11.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
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 <users.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
Errors-To: users-bounces@dpdk.org
Sender: "users" <users-bounces@dpdk.org>

Pasting back this important info:
"
Note that ethtool and '/sys/class/net/<iface>/speed' also fails
to report the link speed (but not the link status).
"

26/03/2020 19:27, Benoit Ganne (bganne):
> Yes everything is initialized correctly. The netdev itself is configured 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/0002-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?

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?

Cc mlx5 maintainers