From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] {net,IB}/mlx4: Initialize CQ buffers in the driver when possible Date: Thu, 22 Nov 2018 11:39:29 -0800 (PST) Message-ID: <20181122.113929.263542711882893251.davem@davemloft.net> References: <1542813125-28797-1-git-send-email-tariqt@mellanox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, eranbe@mellanox.com, danielj@mellanox.com, jackm@dev.mellanox.co.il To: tariqt@mellanox.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:39028 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438363AbeKWGUS (ORCPT ); Fri, 23 Nov 2018 01:20:18 -0500 In-Reply-To: <1542813125-28797-1-git-send-email-tariqt@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Tariq Toukan Date: Wed, 21 Nov 2018 17:12:05 +0200 > From: Daniel Jurgens > > Perform CQ initialization in the driver when the capability is supported > by the FW. When passing the CQ to HW indicate that the CQ buffer has > been pre-initialized. > > Doing so decreases CQ creation time. Testing on P8 showed a single 2048 > entry CQ creation time was reduced from ~395us to ~170us, which is > 2.3x faster. > > Signed-off-by: Daniel Jurgens > Signed-off-by: Jack Morgenstein > Signed-off-by: Tariq Toukan Applied.