Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7512962pxb; Thu, 18 Feb 2021 12:04:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHM2s+jGr95FcgTK9NlZd2/4Vs5yS0gXQM+Nwt9iOnncLaIJrFcksOtsDuUCwPDq9SZn77 X-Received: by 2002:aa7:c9cf:: with SMTP id i15mr5636299edt.296.1613678670149; Thu, 18 Feb 2021 12:04:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613678670; cv=none; d=google.com; s=arc-20160816; b=B+gdXyWT0+JkIM06Eb+rXTHGz0vFihb5PRuW2sCwyGEXJHZmgjJ5ooXXHA4Zfdb4d9 kUMp8Xg60wkTywZxCOIXYia1vsPruZ9sS7XYyI1ylOlWFLn0tYlIC4KcOvQMWQJcBoRp 8SAFj4T09Bo2x9wHg18AT3ZeCMU79LpqqvFDHkuv4huRaT/MDh33TtVehmnNbDrnhxA1 sQG85FoZbhbpjl+Yw18ii0FLgGrnITEZmzxghSHV+NU8hoevbvwbJTinEtWIHS2dutFa wd9TF7ZCrOKwhP7bBRQWbUmiK5B4hVqUq6sYvY8PB0p6zVE+iYjfuqeFd5m2Ih7Ef+5K E72A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=E6Z6aPdG9JB6uuerUUXyl00WBEHTDBXUkuwrWIfRhh4=; b=BZpm0dsDGk+HLSLjsarSQNK76Np4aqG48EPKEc+B0srLITw1KWYXwpWtlR3CDgjC1m jfdNig2DdHo0cDWiy3UZ/kkZcgOoikvRYP1GsGwYAJV45tucoZfJugrxwnWWmLaINIv/ Dr5TUfbGdnHKcBdGswMRCk9YqYsBHMxcPgZXIm/ecDC2qtP9hnmrJaf1Y5JPqAc/k91W kJMexxw3rIQ8QHlWhnxgvKBMUbIca1gdmdx8dbLmyVPSl5ibxPjx4sZqC2bsteFdqmvt 4F3wsMXurRMB+uYmCVuHZ9pD001FU+sgvLM6W6YkBx6QkCVGGYHxtHN4ulIoVSpYPRVV EmKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZyHxabcq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i20si4346533edg.156.2021.02.18.12.04.06; Thu, 18 Feb 2021 12:04:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZyHxabcq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229989AbhBRUCZ (ORCPT + 99 others); Thu, 18 Feb 2021 15:02:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:37050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230099AbhBRTtr (ORCPT ); Thu, 18 Feb 2021 14:49:47 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 84CA864E76; Thu, 18 Feb 2021 19:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613677743; bh=SYtSkHlu2EXJRk0tbziB5xsPkOTfkNrnnAOYvujKArE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZyHxabcqlg9QpnFzGtIihpM6W47iTuCK0OeMwURWsdjwxpTDQi0q/upqPCoDkE50C himXD2B5vFKS2LSXT6YDWNYNkAqagtEDsWYiHMYtuSNxoSLbP3h4HhyJpTEjZb9dB7 MrW1/6KBXPMlYPOIGYKUAfb9ZydKHMNOMwH8nY778hfW4OmMPeP8X3Mpr1ltFA6IWI eQEZibOPM+Dj+htyT2pmu/3wLQPX0z7AYnIm/H/AXk5liRzHNrGv1eNMj6IMECJp7T vjwequUCAoCyRwee2UkQJPjj6UB62nbKoECOUVPvJFBEcQ0lFHNuKtWJL4zRNGQM6g aXSPUub2lX86g== Date: Thu, 18 Feb 2021 11:49:01 -0800 From: Jakub Kicinski To: John Fastabend Cc: Alexander Lobakin , Daniel Borkmann , Magnus Karlsson , "Michael S. Tsirkin" , Jason Wang , "David S. Miller" , Jonathan Lemon , Alexei Starovoitov , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Jesper Dangaard Brouer , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Paolo Abeni , Eric Dumazet , Xuan Zhuo , Dust Li , virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH v7 bpf-next 0/6] xsk: build skb by page (aka generic zerocopy xmit) Message-ID: <20210218114901.1787c7f0@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <602e0477af4c2_1f0ef2088e@john-XPS-13-9370.notmuch> References: <20210217120003.7938-1-alobakin@pm.me> <602e0477af4c2_1f0ef2088e@john-XPS-13-9370.notmuch> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Feb 2021 22:08:55 -0800 John Fastabend wrote: > > ---------------- Performance Testing ------------ > > > > The test environment is Aliyun ECS server. > > Test cmd: > > ``` > > xdpsock -i eth0 -t -S -s > > ``` > > > > Test result data: > > > > size 64 512 1024 1500 > > copy 1916747 1775988 1600203 1440054 > > page 1974058 1953655 1945463 1904478 > > percent 3.0% 10.0% 21.58% 32.3% > > > > For the series, but might be good to get Dave or Jakub to check > 2/6 to be sure they agree. Not sure if Dave would consider holding this series just because of this, but I'm not a huge fan. I think moving towards a bitfield would be a better direction an all these flags and defines. This series is not the place for such effort, so perhaps drop patch 2, leave it be and follow up with a conversion to a bitfield?