Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1720665rdb; Mon, 8 Jan 2024 08:10:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IED0xgzDUtQ4Nrf0q9OVcCIIV4HQQ+mDI2jq/XuAwG3gUHDhoG/NmvzetRtT4F0U5ZlJQ+7 X-Received: by 2002:a05:6a20:8f28:b0:199:ce63:6667 with SMTP id b40-20020a056a208f2800b00199ce636667mr802637pzk.3.1704730210249; Mon, 08 Jan 2024 08:10:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704730210; cv=none; d=google.com; s=arc-20160816; b=iKlviHPbrCBvFqW3WklYtl9jvm9UxKk31s4ItsouxDM2FCSoMEnPBjFFyazchzZlfM x2WWTN2xcgm/MDX2qPHE3TUjObZYuIUlW7jAxXb5NikKf/U7AVASjYswrS4i+h3V4t3p o8DGDIl7MqMjIFv2sc3eilaVVIDbD53tAkU1ao3uU34Y+s4DLanVQ4BwrL2tqjPYTa/S S+nu5yI3DQKk9vBOt8SAdBofSMa68VPfT/0oSTk5cyJsINg+8LwzyTZE4Z+gVOcBhDhz 7vVaHxXRoNsT2BNfo+RVbh07rQj+0STA6dq09S12sjOlaywv9EHApcdtau2LGRqCY1vU N/0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:references:in-reply-to :message-id:cc:to:from:date:dkim-signature; bh=9dhSewSpgkcJyN3c0+ItuRDu2rcQV9xAuNoLxs3FbQc=; fh=fLEF0Ljo7IbpIsPI1ocNXDDQceYJOkKVZq2YY8Eq6Sg=; b=pudT6ARvBpOhlp9O3fOdrAwUoS6D93VxGlGjVxyNv18FKxfwS1kG5il/KqKBK2MIF8 cBYH0k08crKbs+ll8IPhA4GjK6dNiQq/iqPDayCD13RwCShA5UgYIJrPWjlY6pimpcTQ nXeNl5zm4p7RcR/Pc8sWypP6KZXjgT2TXfrlwpyFrlW5n7vumtG3+bE6fcg/meZju6Cl d0MZfn2ShDbYPW5LGRT5wiHtmW7gP26b9JNo1+Dx8M8BKyqBn/xvtJksEu3/uH8ulCbc I04wmBVe+PYP5sHpIB9GIo7VEf/kW2iyCDrrDonMYJ0wA0s9ul2jOGAGpXCcW9Zgk04l IjtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Chb5hd3L; spf=pass (google.com: domain of linux-kernel+bounces-19819-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19819-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y12-20020aa79e0c000000b006dad16336f3si61393pfq.5.2024.01.08.08.10.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 08:10:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19819-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Chb5hd3L; spf=pass (google.com: domain of linux-kernel+bounces-19819-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19819-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C6D2A283D3A for ; Mon, 8 Jan 2024 16:10:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F3ED524C8; Mon, 8 Jan 2024 16:10:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Chb5hd3L" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D497524A8; Mon, 8 Jan 2024 16:09:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qv1-f41.google.com with SMTP id 6a1803df08f44-67f95d69115so18182306d6.1; Mon, 08 Jan 2024 08:09:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704730198; x=1705334998; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=9dhSewSpgkcJyN3c0+ItuRDu2rcQV9xAuNoLxs3FbQc=; b=Chb5hd3LVaV/0lQjKPeMGxPrJlIFdQY1sYY7uBkMIWpQ8w1O7zkLf94sa5K5lefARi wWu2V561owDDd2DuXDl8SG+KabIFr8KDjGZwz5xWaOgN7aAgGa7HAganxq00QMW/7Bj1 lrnuRbj+BhfmrLFyZzSFwGKbbAxG6SXkWav51dL6Wjq7GsIe8f90xWvXTPCFmDpxLbDZ 9uoqUZBmL/XitOY0cZcEng+9utr68KtCj0ii1FzJ55woiWO5QHAAsEohEEe4OhZavo5+ HjmJpSBmUIz4XxhWNL2YWKtXqsAeKmmFxjQyY7fPydht/75ZxRZ4ZDaDBSPt0WX2v2Ov 3YAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704730198; x=1705334998; h=content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=9dhSewSpgkcJyN3c0+ItuRDu2rcQV9xAuNoLxs3FbQc=; b=ahMD94I5xq91PiE3w8sVDWpXTss9PPyD56BiA1Remdm/L3qU91wH2OYBwL51zGV+Or h7IMIrVMcVXV47NF1VgZWiAKLipOJWj8XZwciUpRrkMpoJQGU0BI685fb0g+wfVFNh6j gcykzAQfg95FgF9MXW5NZ8h8hSowlwmBMwykmiWSicAIU2JU79Yn32k+BQrIEXb9CYWw Hb/xXEsb2/CEDXmamFDovaEstFoCT6vB2lOB5u2siANjJmGmDAm11RjnzN7JkLbF/MS5 P/fBOPWF1k9K+msFRw4lDM4pTR7FBgSPlaE4IBCntAr19BVexfRO3HVPbIkHMj5RQrn5 jtTg== X-Gm-Message-State: AOJu0Yx13SNO2UG3qLxxYWg3iLTH4Q3cqMG0XShMroRIi+mP72IHzaoK OFwmVMxt44ZnXHNMlJ2TOGw= X-Received: by 2002:a05:6214:d62:b0:67f:a9dc:4cc9 with SMTP id 2-20020a0562140d6200b0067fa9dc4cc9mr6000478qvs.30.1704730197994; Mon, 08 Jan 2024 08:09:57 -0800 (PST) Received: from localhost (48.230.85.34.bc.googleusercontent.com. [34.85.230.48]) by smtp.gmail.com with ESMTPSA id d6-20020a0cc686000000b00680b7496635sm81108qvj.42.2024.01.08.08.09.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 08:09:57 -0800 (PST) Date: Mon, 08 Jan 2024 11:09:57 -0500 From: Willem de Bruijn To: Alexander Lobakin , Willem de Bruijn Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maciej Fijalkowski , Michal Kubiak , Larysa Zaremba , Alexei Starovoitov , Daniel Borkmann , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <659c1e5543102_32ba6829429@willemb.c.googlers.com.notmuch> In-Reply-To: <49f86f3c-2476-4991-b01c-171a54258994@intel.com> References: <20231223025554.2316836-1-aleksander.lobakin@intel.com> <658b364d56c6e_5c2a929468@willemb.c.googlers.com.notmuch> <49f86f3c-2476-4991-b01c-171a54258994@intel.com> Subject: Re: [PATCH RFC net-next 00/34] Christmas 3-serie XDP for idpf (+generic stuff) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Alexander Lobakin wrote: > From: Willem De Bruijn > Date: Tue, 26 Dec 2023 15:23:41 -0500 > > > Alexander Lobakin wrote: > >> I was highly asked to send this WIP before the holidays to trigger > >> some discussions at least for the generic parts. > >> > >> This all depends on libie[0] and WB-on-ITR fix[1]. The RFC does not > >> guarantee to work perfectly, but at least regular XDP seems to work > >> for me... > >> > >> In fact, here are 3 separate series: > >> * 01-08: convert idpf to libie and make it more sane; > >> * 09-25: add XDP to idpf; > >> * 26-34: add XSk to idpf. > >> > >> Most people may want to be interested only in the following generic > >> changes: > >> * 11: allow attaching already registered memory models to XDP RxQ info; > >> * 12-13: generic helpers for adding a frag to &xdp_buff and converting > >> it to an skb; > >> * 14: get rid of xdp_frame::mem.id, allow mixing pages from different > >> page_pools within one &xdp_buff/&xdp_frame; > >> * 15: some Page Pool helper; > >> * 18: it's for libie, but I wanted to talk about XDP_TX bulking; > >> * 26: same as 13, but for converting XSK &xdp_buff to skb. > >> > >> The rest is up to you, driver-specific stuff is pretty boring sometimes. > >> > >> I'll be polishing and finishing this all starting January 3rd and then > >> preparing and sending sane series, some early feedback never hurts tho. > >> > >> Merry Yule! > >> > >> [0] https://lore.kernel.org/netdev/20231213112835.2262651-1-aleksander.lobakin@intel.com > >> [1] https://lore.kernel.org/netdev/20231215193721.425087-1-michal.kubiak@intel.com > > > > This is great. Thanks for sharing the entire series. > > > > Which SHA1 should we apply this to? I'm having a hard time applying > > cleanly. > > > > The libie v7 series applied cleanly on bc044ae9d64b. Which I chose > > only based on the follow-on page pool patch. > > > > But that base commit causes too many conflicts when applying this. > > Patch 6 had a trivial one in idpf_rx_singleq_clean (`skb = rx_q->skb`). > > But patch 14 has so many conflicts in page_pool.c, that I'm clearly > > on the wrong track trying to fix up manually. > > net-next was updated while I was preparing the series. I also did a > couple changes in the basic libie code, but a new rev wasn't sent. > Please just use my open GH[0]. > > [0] https://github.com/alobakin/linux/tree/idpf-libie Even better, thanks. I'll use that to run my basic XSK tests.