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 B057CCCA477 for ; Wed, 1 Jun 2022 15:42:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354750AbiFAPmU (ORCPT ); Wed, 1 Jun 2022 11:42:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245526AbiFAPmT (ORCPT ); Wed, 1 Jun 2022 11:42:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD78112635 for ; Wed, 1 Jun 2022 08:42:18 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 62F03614EE for ; Wed, 1 Jun 2022 15:42:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85F27C385B8; Wed, 1 Jun 2022 15:42:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654098137; bh=drBwPN1oGmAsQ6G3pwMNGwwVt8wVBWjblWRffXiZ/B8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=N1kQoPScyzrkbL2e7BJxu1KR5z2ebV3bgo/+XUkYt/u32zyHcr6GYDzwt2IjD8gQz ozDbEsOg1RZYUzZW9PFRjNnkqlOGg1xx0Kgab0Rt/sVZaPlhQ2F1y3B0vvxtNmQlLl 5JkcxJ5RWXmwOZ2PSmtjrx5XZF7TQ0Yqmpsz7ViNOkeppjyopO6J/QgfG3nDIIu4os 8iXlO5d8i5tciJ6bgVgulrfHuQQME2CO9AX8LYaIvmIhj91Ut+D1CQ4Zhbd601uxo2 r440VdfsV01KgLv+P/AxrkJtXjfmjgFsR5OvRTRHp6lmDGTA8UJnCKpmhmfnW7IZ26 N52KFetCkLRBw== Date: Wed, 1 Jun 2022 08:42:16 -0700 From: Jakub Kicinski To: Maxim Mikityanskiy Cc: David Ahern , Stephen Hemminger , Tariq Toukan , Boris Pismenny , netdev@vger.kernel.org Subject: Re: [PATCH iproute2-next] ss: Show zerocopy sendfile status of TLS sockets Message-ID: <20220601084216.0eb98e32@kernel.org> In-Reply-To: References: <20220530141438.2245089-1-maximmi@nvidia.com> <20220530111745.7679b8c4@kernel.org> <20220531121829.01d02463@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, 1 Jun 2022 11:58:22 +0300 Maxim Mikityanskiy wrote: > > For device offload only. Allow sendfile() data to be transmitted directly > > to the NIC without making an in-kernel copy. This allows true zero-copy > > behavior when device offload is enabled. > > I suggest mentioning the purpose of this optimization: a huge > performance boost of up to 2.4 times compared to non-zerocopy device > offload. See the performance numbers from my commit message: That reads like and ad to me.