From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [dpdk-stable] [PATCH v2] net/mlx5: fix Tx doorbell memory barrier Date: Wed, 25 Oct 2017 14:34:43 -0700 Message-ID: <9fc7dd98-8add-cddd-cc57-2c17114aa410@intel.com> References: <20171022080022.13528-1-yskoh@mellanox.com> <49c39b44917c35ecaabf06f5f920d0f7e0ed0b6b.1508891141.git.yskoh@mellanox.com> <20171025091934.hvf5fv4bpkzaba2u@laranjeiro-vm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: adrien.mazarguil@6wind.com, dev@dpdk.org, stable@dpdk.org, Sagi Grimberg , Alexander Solganik To: =?UTF-8?Q?N=c3=a9lio_Laranjeiro?= , Yongseok Koh Return-path: In-Reply-To: <20171025091934.hvf5fv4bpkzaba2u@laranjeiro-vm> Content-Language: en-US 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 10/25/2017 2:19 AM, Nélio Laranjeiro wrote: > On Tue, Oct 24, 2017 at 05:27:25PM -0700, Yongseok Koh wrote: >> Configuring UAR as IO-mapped makes maximum throughput decline by noticeable >> amount. If UAR is configured as write-combining register, a write memory >> barrier is needed on ringing a doorbell. rte_wmb() is mostly effective when >> the size of a burst is comparatively small. Revert the register back to >> write-combining and enforce a write memory barrier instead, except for >> vectorized Tx burst routines. Application can change it by setting >> MLX5_SHUT_UP_BF under its own necessity. >> >> Fixes: 9f9bebae5530 ("net/mlx5: don't map doorbell register to write combining") >> Cc: stable@dpdk.org >> Cc: Sagi Grimberg >> Cc: Alexander Solganik >> >> Signed-off-by: Yongseok Koh >> Acked-by: Shahaf Shuler > > Acked-by: Nelio Laranjeiro Applied to dpdk-next-net/master, thanks.