Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1352036imw; Tue, 5 Jul 2022 08:02:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1szRsbgR+gd6Qbrg9OLz9W8w/udn0xZViFdlzuDWBV+PhkX6e82nNJpedO3DEjnbw40RWqq X-Received: by 2002:a05:6a00:1c94:b0:527:c49a:3249 with SMTP id y20-20020a056a001c9400b00527c49a3249mr41536006pfw.18.1657033324632; Tue, 05 Jul 2022 08:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657033324; cv=none; d=google.com; s=arc-20160816; b=a0E6SsnWeRg66hW5ofBHToIX0vivTUrXnfM6FaOwXnJXIZVh8krIbIbULvqT5KbzEF Q9XLpflfjZgM5xxmaojOsWju7fi6arz1LgQMhYIBMpyQdMuhNXOwaihxpWHLLbu1nmOP U3LRRnepehvqTMJQU0S06HXckwzubgN3JRen2XeNcwKlDNskoQz8LtF5xtx8YIsCuVfi GFLH+Dg2PVIQW1JopwJc13CsJ4n+aSa/pSrUFGRvN6HiRHYmeWeDqz/0k4r/w2o1hnek s62xD23RBY70/5smYQX6LMdQXH/FaqwnnKABCC34vJxd6vXbCiPezGvmTqrF8tzN7Nqt UsIg== 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:date:subject:cc:to:from :dkim-signature; bh=Z8YGEj2bfN35wLLKtLYA/nV6d06fdy9+yrg4ltsbbtg=; b=skgp5qiAVy3X3lclPx/D5aK93ZdOH2Xj9WQ6pSHYYjLnAjyIKRDEQVwoS/p/zVZ39f lf99Lnhl7fYxD6W2ooL/jE0naxCnEh0ziAJFirTyBcrMQGBZIhx83rPoRgb6GLjPTrAN 9JL/0xJ+sGOYCYvd99u9RDkYoy9x5RDD6NHZ4NEtsN65+PGppX8Fw3qTDxXkhkjzu7/T 6+Xhv3Sd49R+M6Xc5ENxg9fhi13nDTANGzjUQMlDdwpgIdq+IpmWxoIqpcjQod4Lfhaf oCTMkUEIBkDkJEI/U1/igO4mGjyguWTzwaXAD6X7vNCru+TMeCbammKk+OOi3kMJ8wak lMOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TbPY1Fso; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s19-20020a17090a881300b001ef66b30dc0si13906838pjn.33.2022.07.05.08.01.50; Tue, 05 Jul 2022 08:02:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TbPY1Fso; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232360AbiGEOj0 (ORCPT + 99 others); Tue, 5 Jul 2022 10:39:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232496AbiGEOjV (ORCPT ); Tue, 5 Jul 2022 10:39:21 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FE0DA1B9; Tue, 5 Jul 2022 07:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657031953; x=1688567953; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bwCbUaDqvMtVlN4ueDxGSnxY6sfa6e9kx0utA3eoaAw=; b=TbPY1FsogGXp9xd6Nvzj/0yAAuq7nQgRbNIc/K3c/uTWFx4Qf6dDGiUN JkaENztPG82B3qt7t8pEu2Nv8FW1Dqht/S0mozl3AGu2nudinsaFRfzKB fjFPE8GjnMXfW29SnNmhAzWNhDTwQN9+y9aHVbAZHwtUbPOy+d5LlKOvE eCO4kQU6bWysXxqIdpnw5GZW8Gg0H3g1Zf9Z4orD9SoydiL29b9iqRasj o4qD7xl7/iatB/LM11v7ZpYlHk2NJoX3Y8+jjCAe0yYmjDqHO2cnfEdM1 gy3GrlCKUr13zjH5G+vDtHmNya1UXESqTE1KxbhADSlXLFvpXOrThvHFn Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10398"; a="283396868" X-IronPort-AV: E=Sophos;i="5.92,247,1650956400"; d="scan'208";a="283396868" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2022 07:39:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,247,1650956400"; d="scan'208";a="839142776" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by fmsmga006.fm.intel.com with ESMTP; 05 Jul 2022 07:39:08 -0700 Received: from newjersey.igk.intel.com (newjersey.igk.intel.com [10.102.20.203]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 265Ed6BM016910; Tue, 5 Jul 2022 15:39:06 +0100 From: Alexander Lobakin To: Jesper Dangaard Brouer Cc: Alexander Lobakin , =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , brouer@redhat.com, John Fastabend , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Larysa Zaremba , Michal Swiatkowski , Jesper Dangaard Brouer , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , Lorenzo Bianconi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jesse Brandeburg , Yajun Deng , Willem de Bruijn , bpf@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, xdp-hints@xdp-project.net Subject: Re: [xdp-hints] Re: [PATCH RFC bpf-next 00/52] bpf, xdp: introduce and use Generic Hints/metadata Date: Tue, 5 Jul 2022 16:38:38 +0200 Message-Id: <20220705143838.19500-1-alexandr.lobakin@intel.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <0cd3fd67-e179-7c27-a74f-255a05359941@redhat.com> References: <20220628194812.1453059-1-alexandr.lobakin@intel.com> <62bbedf07f44a_2181420830@john.notmuch> <87iloja8ly.fsf@toke.dk> <20220704154440.7567-1-alexandr.lobakin@intel.com> <0cd3fd67-e179-7c27-a74f-255a05359941@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jesper Dangaard Brouer Date: Mon, 4 Jul 2022 19:13:53 +0200 > On 04/07/2022 17.44, Alexander Lobakin wrote: > >> Agreed. This incremental approach is basically what Jesper's > >> simultaneous series makes a start on, AFAICT? Would be nice if y'all > >> could converge the efforts :) > > > I don't know why at some point Jesper decided to go on his own as he > > for sure was using our tree as a base for some time, dunno what > > happened then. Regarding these two particular submissions, I didn't > > see Jesper's RFC when sending mine, only after when I went to read > > some stuff. > > > > Well, I have written to you (offlist) that the git tree didn't compile, > so I had a hard time getting it into a working state. We had a > ping-pong of stuff to fix, but it wasn't and you basically told me to > switch to using LLVM to compile your kernel tree, I was not interested > in doing that. Yes and no, I only told you that I missed those build issues due to that I use LLVM as my primary compiler, but I didn't suggest you switch to it. Then I fixed all of the issues in a couple days and wrote you the email on 3th of June saying that everything works now =\ > > I have looked at the code in your GitHub tree, and decided that it was > an over-engineered approach IMHO. Also simply being 52 commits deep > without having posted this incrementally upstream were also a > non-starter for me, as this isn't the way-to-work upstream. So Ingo announced recently that he has a series of 2300+ patches to try to fix include hell. Now he's preparing to submit them by batches/series. Look at this RFC as at an announce. "Hey folks, I have a bunch of stuff and will be submitting it soon, but I'm posting the whole changeset here, so you could take a look or give it a try before it's actually started being posted". All this is mentioned in the cover letter as well. What is the problem? Ok, next time I can not do any announces and just start posting series if it made such misunderstandings. Anyway, I will post a demo-version of the series in a couple weeks containing only the parts required to get Hints working on ice if folks prefer to look at the pencil draft instead of looking at the final painting (never thought I'll have to do that in the kernel dev community :D). > > To get the ball rolling, I have implemented the base XDP-hints support > here[1] with only 9 patches (including support for two drivers). > > IMHO we need to start out small and not intermix these huge refactoring > patches. E.g. I'm not convinced renaming net/{core/xdp.c => bpf/core.c} > is an improvement. Those cleanup patches can be easily put in a standalone series as a prerequisite. I even mentioned them in the cover letter. File names is a matter of discussing, my intention there was mainly to move XDP stuff out of overburdened net/core/dev.c. > > -Jesper > > [1] > https://lore.kernel.org/bpf/165643378969.449467.13237011812569188299.stgit@firesoul/ Thanks, Olek