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 C41D4A09E9; Tue, 8 Dec 2020 18:05:43 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B471C72D9; Tue, 8 Dec 2020 18:05:41 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id D023998 for ; Tue, 8 Dec 2020 18:05:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607447138; 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=vPEtCdrdd/r+NUnBruABoK9mDuR3Mx1xa3F7VjUdxIk=; b=Kquct6RfO1+RZM+yy5FvxY7WBFtWFKW46AoXS/qy4w+Jx9zESUAJSvN/Y/3Dy7JUkLZELu qDjVSuL4YT3dWFEm3L7sNSucYY+Nqkm7IOlzz3dJ6qvacI+V0Zg2f96V/sKyewAJ4vQWRq zJAXZnrbTRbHqREK0CIwNPVZjSjSbXA= 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-269-yitViOGLO8-JjRf_seAysQ-1; Tue, 08 Dec 2020 12:05:36 -0500 X-MC-Unique: yitViOGLO8-JjRf_seAysQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 06E75812FF; Tue, 8 Dec 2020 17:04:21 +0000 (UTC) Received: from [10.36.114.230] (ovpn-114-230.ams2.redhat.com [10.36.114.230]) by smtp.corp.redhat.com (Postfix) with ESMTP id 317C31F401; Tue, 8 Dec 2020 17:04:19 +0000 (UTC) To: Ferruh Yigit , Stephen Hemminger Cc: dev@dpdk.org References: <20201123221918.20825-1-stephen@networkplumber.org> <20201123221918.20825-3-stephen@networkplumber.org> From: Kevin Traynor Message-ID: <140722d7-d1a7-8a05-402e-5069fcaf8b26@redhat.com> Date: Tue, 8 Dec 2020 17:04:19 +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: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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-dev] [PATCH 2/2] net/netvsc: fix ethdev get_supported_ptypes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 08/12/2020 15:53, Ferruh Yigit wrote: > On 11/23/2020 10:19 PM, Stephen Hemminger wrote: >> When doing rte_eth_dev_get_supported_ptypes on netvsc device >> the values reported are incorrect if VF is not present. >> >> If no VF is present the device uses rte_net_get_ptype() >> which can return a wide range of values. Use the same table >> as TAP device in that case. >> >> Signed-off-by: Stephen Hemminger > > Which commit is fixed, can you please add Fixes tag? > and stable tag if it is requested for backport