Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7208806rwp; Tue, 18 Jul 2023 11:38:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlE3qoooLFdKNRl934NxyTw2qpAKaKdmyOWkdtDQ315DblG5OhGQxd+8jvj48dCxGuADgfKu X-Received: by 2002:a05:6358:4186:b0:12b:c378:b090 with SMTP id w6-20020a056358418600b0012bc378b090mr4582281rwc.26.1689705520347; Tue, 18 Jul 2023 11:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689705520; cv=none; d=google.com; s=arc-20160816; b=kjCliaOdk1MPUxqQ5zh61sHbw9LuKEwxoXUT8Rsl5WvxGejvhtuSCei5Tce7wgNaRY PO0qSfd9dYQTVEwAJLD4jdytCC5rKHmbVFDfVyFWpzr046z9Px92PUl1LhKWYG56T0ut KBeM8HlhEqX73n0u/sgvAGLFqLYY1l3w0AmEZmtUO4qtF13ZuzplAWGDYpqRRC7DrUNz K2oJYsosXJFkNtXwSPF6P0QMC3jJDgaLfuaDJHsYbk7zoVUmW1WFEMzN+NaXRqnv4W5a nOz4tQIcZILMU170/jhyYzuaDuYL/ODUplRL2r3a58fDqSIEev2ydXkNXQPOZutDAJlb jL6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=JZjNEUNSowt6BoLMJieO3JirkK5amnoWIIBTYTzAs1s=; fh=AZhXcH5O7z+5Gyc0EfV6bWHaZxgHuLAv3jIl/RlpdiY=; b=KSPyvLdhVxKamluDHsuUEaZ11J2+iN9czCgFzACujue3iL/cfw33nVdz3sE7V+mA3W fuUVIDkGHyt17fjGVJgEtHhE58h9+tFWizO3y0k2yeHEKUAEQXQW6+8iNGdL62VDVfPp CR8/+urZTge4f9QAkSi94ocpTjEs0JT02GaMr+z/JixgAkScHNyCDr7xFqgS9ZhIlelX OGkuR+16ofCGqbGnfsHuAFRLsMOeieD/R6IfAiBx+RBcsvT55sdOWWNmYRzgMoCmNLjP DvIhnRaTEOLB2SzEeZvpqpHQAEHPJ9A5l8xzDwlXyaqtCDXMXXl0UPiWNEdRDYDAeq2n Obtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Pf57YBI3; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 3-20020a630a03000000b0055c8d14df3asi1846534pgk.799.2023.07.18.11.38.26; Tue, 18 Jul 2023 11:38:40 -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=@kernel.org header.s=k20201202 header.b=Pf57YBI3; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229695AbjGRSVJ (ORCPT + 99 others); Tue, 18 Jul 2023 14:21:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbjGRSVG (ORCPT ); Tue, 18 Jul 2023 14:21:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22994B6; Tue, 18 Jul 2023 11:21:02 -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 B4AB0616AF; Tue, 18 Jul 2023 18:21:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53795C433C8; Tue, 18 Jul 2023 18:21:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689704461; bh=3FpetCvZbbcCl2/n3R3+Fi+awrw/7SJjS0am3/4WDVM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Pf57YBI319TjSa6UdgcJVOWOTlRAztiD3yo6PD8hehnt65sGwpA1/vT9ljpawxCW5 fMeHtFOrE123MsPIWNyokLRCZR87Ro5QZoioK+wC06wGF0s00mvFuQQAKz6jQtdH0h mbq5e4/ZMJxcbt/7pdjAigRdAHIqMlD/cTA7hyNdzCCkfge9qJSS9TPfANUK/xfNq6 fL8/Pj/ihkWO/XwAv7J9G983bpRqTTCpKg1dZZrOVg1xFl12oojb3McruJqzldJVb2 mB5JfoqtrIkLnTjiPwjIfZYf8wvVAxq40FosgtpbIomeKTbQx3WE4Xfrbn/L9dgT/T cozltHy/MCSDg== Message-ID: <35f3ec37-11fe-19c8-9d6f-ae5a789843cb@kernel.org> Date: Tue, 18 Jul 2023 12:20:59 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [RFC PATCH 00/10] Device Memory TCP Content-Language: en-US To: Jakub Kicinski , Jason Gunthorpe Cc: Mina Almasry , Andy Lutomirski , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, netdev@vger.kernel.org, linux-arch@vger.kernel.org, linux-kselftest@vger.kernel.org, Sumit Semwal , =?UTF-8?Q?Christian_K=c3=b6nig?= , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jesper Dangaard Brouer , Ilias Apalodimas , Arnd Bergmann , Willem de Bruijn , Shuah Khan References: <20230710223304.1174642-1-almasrymina@google.com> <12393cd2-4b09-4956-fff0-93ef3929ee37@kernel.org> <20230718111508.6f0b9a83@kernel.org> From: David Ahern In-Reply-To: <20230718111508.6f0b9a83@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, 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-kernel@vger.kernel.org On 7/18/23 12:15 PM, Jakub Kicinski wrote: > On Tue, 18 Jul 2023 15:06:29 -0300 Jason Gunthorpe wrote: >> netlink feels like a weird API choice for that, in particular it would >> be really wrong to somehow bind the lifecycle of a netlink object to a >> process. > > Netlink is the right API, life cycle of objects can be easily tied to > a netlink socket. That is an untuitive connection -- memory references, h/w queues, flow steering should be tied to the datapath socket, not a control plane socket.