Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37086913rwd; Tue, 11 Jul 2023 09:15:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlEaZkoHLEK3GW1LfjCghjOo9ID7T+t2pbgbOTAxa9EFvVTTKE2E9pX1RcnJtmBi3p+Mlgtx X-Received: by 2002:a05:6a20:3d27:b0:127:72c3:fd60 with SMTP id y39-20020a056a203d2700b0012772c3fd60mr16704514pzi.1.1689092104060; Tue, 11 Jul 2023 09:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689092104; cv=none; d=google.com; s=arc-20160816; b=DJgPZhlWsgPEvkTcJm9foS14FW0/pg79aHTxJ2dGNR8PJejoT7LoavUhvPCW9KLSN1 dXDdorn+xjIAmsGnT2cZcN/egCTWg0/WLkQBe+SJ09n7UaX4Y1AkraU5wBFIfv8bwCxw A6oZvIdz0cBkT2nIm782og7oECa7c50fbH/JQPFKhytNbzGHWrEPpH68CWa4LSk7MyOG DQVReeOUx0pGYEQs/vfqtEDJpLGK2bVZVTC/+FfqvZAtzG1JgA0rmceISj7upSR3L5pc o2+5phvUCiZKEHUzNT/qlDOgdn+RvhmN3qmDnj+rYm8IiMbg1mSQgaBUO/g62aNfdgzE G5Dw== 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=ZzEhfDol3gJs1oH1ujganOCMfOnwazuDjBZaNV24APA=; fh=rIKv1tzVscB2G/zbVTVKcBit/wNBpN7NPN6WW9lBKYE=; b=hPsigMlQ6QjXc3bSwWA9da3MfxDr1F0bO4uWN7TIjGr45Qn6mH1vRy9OONh1o5XV8X T211eXT/tswMs68/qIGIgquSrA9PS0B01xn8mT8VZTip0n4H3pdJBDF8shr8TlvhURt6 6/9viQXUy0543ic3JXj4H/dK5YkeKPJrku+BdOxKBZREUyutFPKemHoQJFTVRiEB69WM rBaKC+K/EvJnyDxIjNPysJDydB5kMnt1Jbp/nquoLK1UsI6PY0jEvXMaDHL6LDSie2Zq DhphgU4rD8aBP+v5sVUQzHpnqF7k5XZ5khlExQhpdfUfJWKZXcusWyQgHLb4lMg2aGsY f32A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H5Pjqt9z; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e189-20020a6369c6000000b0055bc086a118si1628158pgc.253.2023.07.11.09.14.49; Tue, 11 Jul 2023 09:15:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@kernel.org header.s=k20201202 header.b=H5Pjqt9z; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 S231723AbjGKQBR (ORCPT + 60 others); Tue, 11 Jul 2023 12:01:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230486AbjGKQBC (ORCPT ); Tue, 11 Jul 2023 12:01:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB2401BC6; Tue, 11 Jul 2023 09:00:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4232761561; Tue, 11 Jul 2023 16:00:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B73A1C433C8; Tue, 11 Jul 2023 16:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689091250; bh=qJNl12vo3sFEgIC9eU4i4GFHtknelm6lEufyoqloygg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=H5Pjqt9ztd1rsXJxiMRPURZwTa2ExxdjvmdAB+R2m6SIGj9BZXzsFh8fGEuiSTvcm judzO3qp7mqlviGZdHfT9sbnjnh7490DvZQa7s5T+0mqaBlhZbmTkQYKjneddOr+zU I70OFnP7HqecLR1sMTBg5IyfCTdYnn+/rbEAn2glXwwMxHVhQ+QwarY7jc03Bi7ww2 byWkJRLIUtz0tkaUzKuPvGqtrAhdOE7ZFL4wWDtTcgcgau59/IWCMnMGAP6m8DA2sQ fnlNevf7wZVPt1tPCiqMTLRIvyGYwZut8EY+Mzks1hOkDrkQuZgqAklkfJWwGQfh+U q8F+qHZDvJx3w== Date: Tue, 11 Jul 2023 09:00:47 -0700 From: Jakub Kicinski To: Jason Gunthorpe , Christoph Hellwig Cc: Mina Almasry , John Hubbard , Dan Williams , David Ahern , Jesper Dangaard Brouer , brouer@redhat.com, Alexander Duyck , Yunsheng Lin , davem@davemloft.net, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Bianconi , Yisen Zhuang , Salil Mehta , Eric Dumazet , Sunil Goutham , Geetha sowjanya , Subbaraya Sundeep , hariprasad , Saeed Mahameed , Leon Romanovsky , Felix Fietkau , Ryder Lee , Shayne Chen , Sean Wang , Kalle Valo , Matthias Brugger , AngeloGioacchino Del Regno , Jesper Dangaard Brouer , Ilias Apalodimas , linux-rdma@vger.kernel.org, linux-wireless@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Jonathan Lemon Subject: Re: Memory providers multiplexing (Was: [PATCH net-next v4 4/5] page_pool: remove PP_FLAG_PAGE_FRAG flag) Message-ID: <20230711090047.37d7fe06@kernel.org> In-Reply-To: References: <5e0ac5bb-2cfa-3b58-9503-1e161f3c9bd5@kernel.org> <20230711042708.GA18658@lst.de> <20230710215906.49514550@kernel.org> <20230711050445.GA19323@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,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-wireless@vger.kernel.org On Tue, 11 Jul 2023 09:05:02 -0300 Jason Gunthorpe wrote: > On Tue, Jul 11, 2023 at 07:04:45AM +0200, Christoph Hellwig wrote: > > On Mon, Jul 10, 2023 at 09:59:06PM -0700, Jakub Kicinski wrote: > > > Noob question - how does RDMA integrate with the out of tree junk? > > > AFAIU it's possible to run the "in-tree" RDMA stack and get "GPU > > > direct". > > > > I don't care and it has absolutel no business being discussed here. My question was genuine. If you think the code is dog shit I will make no argument for merging it. I just get hives from looking at proprietary code so I was hoping someone could explain how the proprietary stacks get it done. > > FYI at leat iWarp is a totally open standard. And I'm sure someone cares about that. I care about open source. I think people in the networking world have a deeper understanding of standardization processes, and their practical implication for open source and hack-ability. If all usable implementations are proprietary the standard could as well not exist. That may be a little hard to understand for folks coming from storage and fabric worlds where the interesting bits of the implementation was pretty much always closed. > So is Infiniband, Jakub has a unique definition of "proprietary". For IB AFAIU there's only one practically usable vendor, such an impressive ecosystem!! > RDMA works with the AMD and Intel intree drivers using DMABUF without > requiring struct pages using the DRM hacky scatterlist approach. I see, thanks. We need pages primarily for refcounting. Avoiding all the infamous problems with memory pins. Oh well.