From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6690AC352A1 for ; Wed, 7 Dec 2022 07:49:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229677AbiLGHtL (ORCPT ); Wed, 7 Dec 2022 02:49:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiLGHtJ (ORCPT ); Wed, 7 Dec 2022 02:49:09 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 195902F392 for ; Tue, 6 Dec 2022 23:49:09 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C8D61B8013C for ; Wed, 7 Dec 2022 07:49:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2361C433C1; Wed, 7 Dec 2022 07:49:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670399346; bh=bB6My/PRtokI7IVPufQQ2Xl/5LAQPJjFYUdcYuhJaA0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sb+MrucsnffmrCIwayDRCJ4EMRBLh7Qwd6rPcLjbNJJn1T7EWonTgMgiTJM83Wyit haX6vw/EuWmbBb4RW63HKDCHRpKOQgQUM4ZsHZiSxwi4e7EDYLdOSaPIkIimWlm1P8 ygS/CG7K5UMjMVdeMB1r3j1YpconHX64m8gftKMaGkgnzC/f2pD+vzvicx/BN1JEuA FNsnsWJo7lX21/8BTuW9FTMNltrSGEcNwPYy1OFSzy0dQ6R1PvQSOr7yi9aaA5lNnE sJkFH4cLmXLWQdnIaPHxSY0PzPKD7w8rgpVfI//wzgiE9Hu/NmmLLZLSTjDia3ki23 UQjQqJOblz3fw== Date: Wed, 7 Dec 2022 09:49:01 +0200 From: Leon Romanovsky To: Eric Dumazet Cc: "David S . Miller" , Jakub Kicinski , Paolo Abeni , Tariq Toukan , Wei Wang , netdev@vger.kernel.org, eric.dumazet@gmail.com Subject: Re: [PATCH net-next 0/3] mlx4: better BIG-TCP support Message-ID: References: <20221206055059.1877471-1-edumazet@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221206055059.1877471-1-edumazet@google.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Dec 06, 2022 at 05:50:56AM +0000, Eric Dumazet wrote: > mlx4 uses a bounce buffer in TX whenever the tx descriptors > wrap around the right edge of the ring. > > Size of this bounce buffer was hard coded and can be > increased if/when needed. > > Eric Dumazet (3): > net/mlx4: rename two constants > net/mlx4: MLX4_TX_BOUNCE_BUFFER_SIZE depends on MAX_SKB_FRAGS > net/mlx4: small optimization in mlx4_en_xmit() > > drivers/net/ethernet/mellanox/mlx4/en_tx.c | 18 ++++++++++-------- > drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 18 +++++++++++++----- > 2 files changed, 23 insertions(+), 13 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky