From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8E9D6A0550; Tue, 31 May 2022 18:57:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D55440689; Tue, 31 May 2022 18:57:26 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 31C3B4067B; Tue, 31 May 2022 18:57:25 +0200 (CEST) Received: from [192.168.1.38] (unknown [188.170.81.145]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 8F6A085; Tue, 31 May 2022 19:57:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 8F6A085 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1654016244; bh=gI7detn1WV26AXrLYmSlpeYxfy0lD5XcRB3R0IxiGu4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hmW8ORvM9O55+XJr+jM9lQxh1x2WQUZsmhCrVTn5zhVK7wWMePiO8SqfjPxXbVxpm hzHKrv+pz41sc6Iwp0erz1zS/+VekEt/nZTXxODrSPzK55bHC4etY0N5xDf7vJVO3M q4+6Lc0oyhcJm8kPyr6HzfYVBqLBvJbRvI97XcPU= Message-ID: <76d7277f-1aef-8259-6e52-43bae1ef2aa4@oktetlabs.ru> Date: Tue, 31 May 2022 19:57:23 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH 1/3] common/sfc_efx/base: convert EFX PCIe INTF to MCDI value Content-Language: en-US To: Ivan Malov , dev@dpdk.org Cc: stable@dpdk.org, Andy Moreton , Viacheslav Galaktionov References: <20220526084550.243121-1-ivan.malov@oktetlabs.ru> From: Andrew Rybchenko In-Reply-To: <20220526084550.243121-1-ivan.malov@oktetlabs.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 5/26/22 11:45, Ivan Malov wrote: > When the driver queries its PCIe interface type via MCDI, > the value from the response is translated to an EFX enum. > > When the driver passes this enum value back to any other > MCDI helper, the inverse translation has to be conducted. > > Fixes: 1bf9ff57ccb3 ("common/sfc_efx/base: allow getting VNIC MCDI client handles") > Cc: stable@dpdk.org > > Signed-off-by: Ivan Malov > Reviewed-by: Andrew Rybchenko > Reviewed-by: Andy Moreton Series applied to dpdk-next-net/main, thanks.