Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp859649pxk; Thu, 17 Sep 2020 19:23:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0O63txzMcoVVkzuyUndUbkPPtwgoLJNuITRtiOPYFadUwYAOJoh1UVTov75rpVFKtNEQl X-Received: by 2002:a17:906:b784:: with SMTP id dt4mr35566451ejb.376.1600395790312; Thu, 17 Sep 2020 19:23:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600395790; cv=none; d=google.com; s=arc-20160816; b=XJr/A1XjqqK/hzOet55wEnpKtHFfrEG7nSoQEPxD6uFSn81B4N9Aidf+wZOQhLIKQn 6WYt3TF0Ml1ZjN06f5zbXUxbIdvbPZuJ6F44pV5M0rnCTXetYm1ZE0Vyngcksz92Qhlf LpMh8kbBAUm+7M+Al2q6a+ItShESc9xpIcfAOUXqhnQ+PIsgQYXN87bMeAbF0pbWj6DE njb75Px9M8KkaPQ6ErAH/kOc6M2c6kiKKcrlapBX5M8suzwRYLD5SMYNvakehQy+j4tv A+tKFdr0/HLH9SNHPeRLD43Sa8nLvgT0CGBK8hXKpexy+UBGnFy0KeakMlwrm4gYsGyR BUWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=fScXCn92Z2M4f5AGmAC2C4Z0ZYGJptb/Xy5j5iRbW78=; b=T671cbYaUNkYkpLfMtxq5hmmVw41jfAuuq73ZN0UNZQ7a8x/yWKKxkkQHZFmMNRlHK jvVkZ0fCBFmtCeHCflTLo8MK6e/ZH+yvC+WzyWs74hO/sVjS0L8UuiIfMkgB7d/fLnY9 1nYQ9+uX/nEuTH/QZDzT2oWgV2fQ7KJLbfIxJrAsvXSDHS4Lo1WcvTy0po4EyUhzfkDz DxmAkhWquh2PO5Bpum2PxqKiVRtUcDqLraSRTkhzQrxbwhUMxMi2ywOASxYn9pZRRYP0 PHdNyv1CdMepjSnE7tr6pCIrtiYkq3XIH51OGxqeDWSNaEkznT/62erHQzBpWLA1GkGi HpiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ByDmbHL3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si1265114ejk.275.2020.09.17.19.22.47; Thu, 17 Sep 2020 19:23:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ByDmbHL3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729158AbgIRCSb (ORCPT + 99 others); Thu, 17 Sep 2020 22:18:31 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:34261 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729372AbgIRCST (ORCPT ); Thu, 17 Sep 2020 22:18:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600395499; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fScXCn92Z2M4f5AGmAC2C4Z0ZYGJptb/Xy5j5iRbW78=; b=ByDmbHL3FHuSOEdaWNdsHFKLmGA48ZtOti1gA9+mnYc6u/UBznam2+dWqayBKLTvJN1vOE k6ywfMb9h6r51OPNZwJRKyKnSEljFAY/m/GlzrUS/tuwOb0IK/XyWfAFWgazjZoT/0zlE1 0J+r1FtIAHg7JFkfhrrkt2VpF6ZOj8A= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-87-PPTSZXiXN8q1jnpCMVT9Rg-1; Thu, 17 Sep 2020 22:18:16 -0400 X-MC-Unique: PPTSZXiXN8q1jnpCMVT9Rg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C417C10BBED9; Fri, 18 Sep 2020 02:18:15 +0000 (UTC) Received: from [10.72.13.167] (ovpn-13-167.pek2.redhat.com [10.72.13.167]) by smtp.corp.redhat.com (Postfix) with ESMTP id 63F0555765; Fri, 18 Sep 2020 02:18:08 +0000 (UTC) Subject: Re: [vhost next 0/2] mlx5 vdpa fix netdev status To: Eli Cohen , mst@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Cc: lulu@redhat.com References: <20200917121320.GA98085@mtl-vdi-166.wap.labs.mlnx> From: Jason Wang Message-ID: Date: Fri, 18 Sep 2020 10:18:06 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200917121320.GA98085@mtl-vdi-166.wap.labs.mlnx> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/9/17 下午8:13, Eli Cohen wrote: > Hi Michael, > > the following two patches aim to fix a failure to set the vdpa driver > status bit VIRTIO_NET_S_LINK_UP thus causing failure to bring the link > up. I break it to two patches: > > 1. Introduce proper mlx5 API to set 16 bit status fields per virtio > requirements. > 2. Fix the failure to set the bit > > Eli Cohen (2): > vdpa/mlx5: Make use of a specific 16 bit endianness API > vdpa/mlx5: Fix failure to bring link up > > drivers/vdpa/mlx5/net/mlx5_vnet.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) Acked-by: Jason Wang