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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8939C4167B for ; Mon, 27 Nov 2023 09:05:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 8230A60888; Mon, 27 Nov 2023 09:05:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 8230A60888 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1701075907; bh=nqbPQk2s3H83s8ZeVjKLt8C3PjVd1rNHq9MJ+/9NuRo=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=QC7N4v13FJE4R7uwy6HgXY2A4KGU6yvf5Uaue3CRpSdrMHC8SAC/Wo8i2BTx/F9CJ R8w1Jny9jGbjmF0+CX7GO6PytsVoQDxZS9eWADlDNltKOP9aeYUQQTcZAJFjM8Hiso uILydfb2LJFud8T5l0HqRAfiO/c291OQ8dG5nBcItcM5ij3p3WHr4On3s0Qu1Gh9JZ IMp/Vmr0wGrv61h9s2mT2/Kpk/41E3tMYasuuj6aTMosZBXRkDG4lpmgzF/AgqgIwD /7Y8sJDf8t9ntLtto4FgZ5nmKgtJUGGcbCnxe+PwPg4Uk1aG+1hCb+lDEJSnKshnrS /1av7JFTigoxg== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YMUJxmBr1mX4; Mon, 27 Nov 2023 09:05:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 9309E60A88; Mon, 27 Nov 2023 09:05:06 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 9309E60A88 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3E7C21BF418 for ; Mon, 27 Nov 2023 09:05:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 0B7A981284 for ; Mon, 27 Nov 2023 09:05:05 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 0B7A981284 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2S6RSS1PA5K6 for ; Mon, 27 Nov 2023 09:05:03 +0000 (UTC) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by smtp1.osuosl.org (Postfix) with ESMTPS id 74E0C81282 for ; Mon, 27 Nov 2023 09:05:02 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 74E0C81282 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a0f49b31868so87375666b.3 for ; Mon, 27 Nov 2023 01:05:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701075900; x=1701680700; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HI0TOtQb9c447DbOQLQ1/RG9mFnY5yOZxPwrai0TcrQ=; b=v6KfDmKcuZ0wsJzhsmYEofS0YefPQuE70I22LAglk/QgAtTHZYUf0WGIw+sBmpgtBR wVUe1RwKr3RtOFVDmpU6v8cQk+SCnCUsTpPrsIHQjaQ3mjABRZHrL/eYc54eXYyaF0zM IS3v68WmPxzwCinQO48qd6EL9tt7Sc8CM5l5r1qbsCMehxnE7kv3OEFVXmDWKLwxpXSy mTTofur4xYPZBodpuVPBcccpJY2Tj2yJaqk2C62oCnvKs05kJh73L3cXiXyySEUOBX2y v2wg6jdf8w5covHYfKWGn+u23gig3AH+9wRuJ5of1aL/x75YM64Yz5ZXKzI6j0+y43Az Sx4Q== X-Gm-Message-State: AOJu0YxWcDJvVsCtXZYaxVZvoia9xPkEDvkteUUqD3bttb2W8iIlCFeC 6y0cy0SlDhjDNxHvEUapG/SBNA== X-Google-Smtp-Source: AGHT+IGMN9QxP+tvYaW8enwn4HK0hNu5SbKLzvuHC5a2fj6GapL9xeT02R6kafwcgd/VY4ZU0ooFsg== X-Received: by 2002:a17:906:9d05:b0:9ff:6257:1b4c with SMTP id fn5-20020a1709069d0500b009ff62571b4cmr6439371ejc.37.1701075900268; Mon, 27 Nov 2023 01:05:00 -0800 (PST) Received: from localhost ([86.61.181.4]) by smtp.gmail.com with ESMTPSA id j10-20020a170906050a00b009fc54390966sm5508751eja.145.2023.11.27.01.04.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 01:04:59 -0800 (PST) Date: Mon, 27 Nov 2023 10:04:58 +0100 From: Jiri Pirko To: Alexander Lobakin Message-ID: References: <20231124154732.1623518-1-aleksander.lobakin@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231124154732.1623518-1-aleksander.lobakin@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1701075900; x=1701680700; darn=lists.osuosl.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HI0TOtQb9c447DbOQLQ1/RG9mFnY5yOZxPwrai0TcrQ=; b=urtRGzL6yvtF7GuuD1KFTotKHzZ7fcOBC16z+pH3OGZ8PNlFaP6FqKfcg7oxfFaZT4 jPga8FyUHlp+C6Btxvk/Jjj/GrtyuX1h++rb+DlTYqwq3AI+3DN5Ehkp8YQfosLBbn2j wc8CXlQ3xw05pgcOVXZmxNMrnNBrHPBwNf+zsPFtXjGjksJ6a+tAy30VdBFQ8rn91mk5 yi48XiSbk7u6t4vMDiZ4QLp/cYyYMn3McrFNxmcsH+Lf2a9qrWGqxymymxjxguHNIqlL dLgV7f2Ubhn7S0JWeN/b6qh1Opu+n83uX/l2Z//GCdYLKQSDp2b7ipTwcYI//cX30XmB Nlfg== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=urtRGzL6 Subject: Re: [Intel-wired-lan] [PATCH net-next v5 00/14] net: intel: start The Great Code Dedup + Page Pool for iavf X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Menzel , Maciej Fijalkowski , Jesper Dangaard Brouer , Larysa Zaremba , netdev@vger.kernel.org, Alexander Duyck , Ilias Apalodimas , Yunsheng Lin , linux-kernel@vger.kernel.org, Eric Dumazet , Michal Kubiak , intel-wired-lan@lists.osuosl.org, David Christensen , Jakub Kicinski , Paolo Abeni , "David S. Miller" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Fri, Nov 24, 2023 at 04:47:18PM CET, aleksander.lobakin@intel.com wrote: >Here's a two-shot: introduce Intel Ethernet common library (libie) and >switch iavf to Page Pool. Details are in the commit messages; here's >a summary: > >Not a secret there's a ton of code duplication between two and more Intel >ethernet modules. Before introducing new changes, which would need to be >copied over again, start decoupling the already existing duplicate >functionality into a new module, which will be shared between several >Intel Ethernet drivers. The first name that came to my mind was >"libie" -- "Intel Ethernet common library". Also this sounds like >"lovelie" (-> one word, no "lib I E" pls) and can be expanded as >"lib Internet Explorer" :P >The series is only the beginning. From now on, adding every new feature >or doing any good driver refactoring will remove much more lines than add >for quite some time. There's a basic roadmap with some deduplications >planned already, not speaking of that touching every line now asks: >"can I share this?". The final destination is very ambitious: have only >one unified driver for at least i40e, ice, iavf, and idpf with a struct >ops for each generation. That's never gonna happen, right? But you still >can at least try. >PP conversion for iavf lands within the same series as these two are tied >closely. libie will support Page Pool model only, so that a driver can't >use much of the lib until it's converted. iavf is only the example, the >rest will eventually be converted soon on a per-driver basis. That is >when it gets really interesting. Stay tech. The world would not be the same without intel driver duplicates :/ Out of curiosity, what changed? I always thought this is done for sake of easier out of tree driver development and old device support dropping. _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan