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 A5E514256F; Mon, 11 Sep 2023 15:06:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92C1840648; Mon, 11 Sep 2023 15:06:36 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id CECA3402EF; Mon, 11 Sep 2023 15:06:34 +0200 (CEST) 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 (2048 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 623BE62; Mon, 11 Sep 2023 16:06:34 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 623BE62 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1694437594; bh=VT20KaE3OGXVSVcTWLkOutmSF1N6JG2xKzgTWWfTSb4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=DrHdjOdYjqk+jkUSjQ/Flw+RDpUZqJ2H57Iyo+DiYvxcWqXkhW7ilbhkqq86iKqg+ KB/jGzo3Z2c/Ox5XcYXvvcJLZ5il7/ZCI1psgNSHIIqf5c4pn/1TQD2tMwc8kIca4d sS53fygDNUJ1poSNYFAJja5CJJBAagwKGz3+A16s= Message-ID: <03a1ddde-e636-6db6-1909-8b668bf7f506@oktetlabs.ru> Date: Mon, 11 Sep 2023 16:06:34 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH] net/sfc: account for data offset on Tx Content-Language: en-US To: Viacheslav Galaktionov , dev@dpdk.org Cc: stable@dpdk.org, Ivan Malov , Andy Moreton References: <20230911104739.31452-3-viacheslav.galaktionov@arknetworks.am> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20230911104739.31452-3-viacheslav.galaktionov@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 9/11/23 13:47, Viacheslav Galaktionov wrote: > Memory buffers passed by the application may contain private data, > which must not be sent to the NIC. Omit this private data by using > the actual data address instead of the default one. > > Fixes: 3037e6cf3dde ("net/sfc: support regioned NIC DMA memory mapping type") > Cc: stable@dpdk.org > > Signed-off-by: Viacheslav Galaktionov > Reviewed-by: Ivan Malov > Reviewed-by: Andy Moreton Acked-by: Andrew Rybchenko