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 C00B041B8E; Tue, 31 Jan 2023 12:13:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9DDEA40DFB; Tue, 31 Jan 2023 12:13:18 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id A9B204067B; Tue, 31 Jan 2023 12:13:16 +0100 (CET) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (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 E6A335D; Tue, 31 Jan 2023 14:13:15 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru E6A335D DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1675163596; bh=a0dxTigb/0MxW7X70tdT5yfHCyjp/9EY4Ud7SEayvFQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=J33Gm1+dAuEMxejLsyNjYK/QJqSWlDbvwbaeFt0IoMZ/Wz3dQw1I1x1qi2IsrbvBS SqzDD0Xiy2+u5mJJqfEAJqD8YQhEsOgoknV1VUPpgQAvPdcbBQp9lyc3YMeYT8bgfQ 4EM7EmPLTc1trTWjItY6aVxYW8zvvreT0bTMSnmM= Message-ID: <12847fa4-130a-1fda-c658-a1bf4d35a64a@oktetlabs.ru> Date: Tue, 31 Jan 2023 14:13:15 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2] net/sfc: export pick transfer proxy callback to representors Content-Language: en-US To: Ivan Malov , dev@dpdk.org Cc: stable@dpdk.org, Andy Moreton , Viacheslav Galaktionov References: <20230131072444.6925-1-ivan.malov@arknetworks.am> <20230131110839.7453-1-ivan.malov@arknetworks.am> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20230131110839.7453-1-ivan.malov@arknetworks.am> 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 1/31/23 14:08, Ivan Malov wrote: > Currently, the "pick transfer proxy ethdev" callback is only > advertised for non-representor (in example, main PF) ethdevs. > That does not sit well with the original idea of this method, > which is to let applications discover the privileged port to > use for transfer flow management instead of any given ethdev. > Applications trying to leverage this API on sfc representors > receive an error and cannot configure transfer flow offloads. > > Fix the problem by exporting the method to representor ports. > > Fixes: 26706314d418 ("net/sfc: implement transfer proxy port callback") > Cc: stable@dpdk.org > > Signed-off-by: Ivan Malov > Reviewed-by: Andy Moreton > Reviewed-by: Viacheslav Galaktionov No capital letters in E-mail address, please. Reviewed-by: Andrew Rybchenko