From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id F08AEA0AC8 for ; Wed, 1 May 2019 11:43:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 958A32BAE; Wed, 1 May 2019 11:43:03 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id D97142BAE for ; Wed, 1 May 2019 11:43:01 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A775F308624A; Wed, 1 May 2019 09:43:00 +0000 (UTC) Received: from [10.36.117.211] (ovpn-117-211.ams2.redhat.com [10.36.117.211]) by smtp.corp.redhat.com (Postfix) with ESMTP id CBA5610027BA; Wed, 1 May 2019 09:42:59 +0000 (UTC) To: Yongseok Koh Cc: stable@dpdk.org, shahafs@mellanox.com References: <20190430202227.36167-1-yskoh@mellanox.com> From: Kevin Traynor Message-ID: <7ce2c6b9-17af-f75f-14b4-cd644835eae0@redhat.com> Date: Wed, 1 May 2019 10:42:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190430202227.36167-1-yskoh@mellanox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Wed, 01 May 2019 09:43:00 +0000 (UTC) Subject: Re: [dpdk-stable] [PATCH 18.11] net/mlx5: fix instruction hotspot on replenishing Rx buffer 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 30/04/2019 21:22, Yongseok Koh wrote: > On replenishing Rx buffers for vectorized Rx, mbuf->buf_addr isn't needed > to be accessed as it is static and easily calculated from the mbuf address. > Accessing the mbuf content causes unnecessary load stall. non-x86 > processors (mostly RISC such as ARM and Power) are more vulnerable to load > stall. For x86, reducing the number of instructions seems to matter most. > > Fixes: 545b884b1da3 ("net/mlx5: fix buffer address posting in SSE Rx") > > Signed-off-by: Yongseok Koh > Acked-by: Shahaf Shuler Thanks. Added a reference to the dpdk master commits in the commit msg and queued for 18.11 stable branch. Will push to dpdk-stable next week as part of next batch.