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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83358C636CD for ; Tue, 31 Jan 2023 19:10:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232083AbjAaTK2 (ORCPT ); Tue, 31 Jan 2023 14:10:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232054AbjAaTKZ (ORCPT ); Tue, 31 Jan 2023 14:10:25 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1B3D577EA for ; Tue, 31 Jan 2023 11:10:24 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D270A616CD for ; Tue, 31 Jan 2023 19:10:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 396AFC433EF; Tue, 31 Jan 2023 19:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675192223; bh=/Fefv1OFyYiRPoUmOEmaegBxt6COX4bNc4H2IrzDRt4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QbrHm9ZIxbXd3qLRXE+3DIdQ1j7FdYISBHkctVS9VFIV0IVkk21e/DJSE2uKh07K4 DpZxBIy7kIqjN4hXJW1koP4hUZ4Tx5MiVHOWxNar+8hH8VYtxdsoJzyMLKq/5YQpPd sEm+nihmVnXHL9MZn+9PHYx/qH6x2UgfOGR45l6hGc3sNElj49b9CSS2rxBhcsU1ym AYklDvZgndQuKzT7giNDOz4PajW5yEt12YECHXr1CWg54CBfG3FU165sSc12R0HyBV p7C1Oi6GJkLgUtNL/0MAdHXKeSRiTFXSnVPbyvEW9Whe37Ys+XQEg4aCBdKVJCaIH0 1ug/5xSkMXvrw== Date: Tue, 31 Jan 2023 11:10:20 -0800 From: Jakub Kicinski To: Jamal Hadi Salim Cc: John Fastabend , "Singhai, Anjali" , Toke =?UTF-8?B?SMO4aWxhbmQtSsO4cmdlbnNlbg==?= , Jamal Hadi Salim , Jiri Pirko , Willem de Bruijn , Stanislav Fomichev , "netdev@vger.kernel.org" , "kernel@mojatatu.com" , "Chatterjee, Deb" , "Limaye, Namrata" , "khalidm@nvidia.com" , "tom@sipanda.io" , "pratyush@sipanda.io" , "xiyou.wangcong@gmail.com" , "davem@davemloft.net" , "edumazet@google.com" , "pabeni@redhat.com" , "vladbu@nvidia.com" , "simon.horman@corigine.com" , "stefanc@marvell.com" , "seong.kim@amd.com" , "mattyk@nvidia.com" , "Daly, Dan" , "Fingerhut, John Andy" Subject: Re: [PATCH net-next RFC 00/20] Introducing P4TC Message-ID: <20230131111020.2821ea17@kernel.org> In-Reply-To: References: <63d6069f31bab_2c3eb20844@john.notmuch> <63d747d91add9_3367c208f1@john.notmuch> <87pmawxny5.fsf@toke.dk> <878rhkx8bd.fsf@toke.dk> <87wn53wz77.fsf@toke.dk> <63d8325819298_3985f20824@john.notmuch> <87leljwwg7.fsf@toke.dk> <63d85b9191319_3d8642086a@john.notmuch> <20230130201224.435a4b5e@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 31 Jan 2023 05:30:10 -0500 Jamal Hadi Salim wrote: > > Note, there are two paths in P4TC: > > DDP loading via devlink is equivalent to loading the P4 binary for the hardware. > > That is one of the 3 (and currently most popular) driver interfaces > > suggested. Some of that drew > > Sorry didnt finish my thought here, wanted to say: The loading of the > P4 binary over devlink drew (to some people) suspicion it is going to > be used for loading kernel bypass. The only practical use case I heard was the IPU. Worrying about devlink programming being a bypass on an IPU is like rearranging chairs on the Titanic.