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 5F2C0A09E0 for ; Fri, 4 Dec 2020 18:05:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 43B04322C; Fri, 4 Dec 2020 18:05:44 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 77899322C for ; Fri, 4 Dec 2020 18:05:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607101539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1HhTzPAT0t89CUa6abZkhGN/o9uyPdnzJ6SJm5BqIwI=; b=OKfOT3KQ6mWmdcATXWu5ySVjL1hpFJQo/3Mu5XoBdg90bG1AEhqCYqVWygfzDsIrLAQXPS 4krqPAoLsW3hni3vOtKt9sVrdwyAfFvcBjRghKGBuM1YyBwMhdr+rAoIGpbky3zyTyH+N3 PH41eOphALo5qKwol7uiNt3GRhyrRds= 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-130-S7yYh62uNMKpMRkhV_upZg-1; Fri, 04 Dec 2020 12:05:37 -0500 X-MC-Unique: S7yYh62uNMKpMRkhV_upZg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 452D08144E4; Fri, 4 Dec 2020 17:05:36 +0000 (UTC) Received: from [10.36.114.167] (ovpn-114-167.ams2.redhat.com [10.36.114.167]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7F4D4620D7; Fri, 4 Dec 2020 17:05:35 +0000 (UTC) To: Viacheslav Ovsiienko , stable@dpdk.org References: <1607089154-25892-1-git-send-email-viacheslavo@nvidia.com> From: Kevin Traynor Message-ID: <3e8d6acb-b3cd-7284-7abc-24b27fc2e546@redhat.com> Date: Fri, 4 Dec 2020 17:05:34 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <1607089154-25892-1-git-send-email-viacheslavo@nvidia.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-stable] [PATCH] [18.11] net/mlx5: fix PCI address lookup X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 04/12/2020 13:39, Viacheslav Ovsiienko wrote: [ upstream commit 482a1d34b60e7b918a39b2ccd32e06638f8c5aa4 ] > mlx5 PMDs use the mlx5_dev_to_pci_addr() routine to convert > Infiniband device name to the Bus-Device-Function location > on the PCI bus. The routine returned success even in case of > not found identification string. On caller side it likely > caused the wrong match with the BDF of previous device > resulting in wrong representor and master recognitions. > > Fixes: 771fa900b73a ("mlx5: introduce new driver for Mellanox ConnectX-4 adapters") > Cc: stable@dpdk.org Removed Cc: stable tag > > Signed-off-by: Viacheslav Ovsiienko > --- Applied, thanks.