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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 7B41CCA0EC2 for ; Thu, 29 Aug 2024 21:08:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 04D7610E72F; Thu, 29 Aug 2024 21:08:56 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="oKnahoF3"; dkim-atps=neutral Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7FE1D10E72F for ; Thu, 29 Aug 2024 21:08:54 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 88A24AE34E5; Thu, 29 Aug 2024 21:08:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56F45C4CEC1; Thu, 29 Aug 2024 21:08:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1724965732; bh=WQDz1S69lUbD5RaUd2dQntjnNMx34I5STJbAEjGgtEE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=oKnahoF3iIB3OiWjLXfDamL3XOBev+vSjazGWq8rTP7Ppxi4UGmN/uKdLnc7LQ2rF VM/I+vbkeheUjJeQBuOQXWAnO1EejxO3lkqs2zLZh4HIcMKI7c515FwOkN9EEnrar7 tKN/h4JUoSor5bBVhEsDxbmkMag4YHYtjT+8C/ZPDjzBXRG8gfAV5mgIzqW+CIdqkB 9ORTf2NxGWFaC7MaWdB/Qm0gnyVicNVyAGPXtOa54WSNnw/LODVrtyzzAnBMdcrzI+ T2gqW25OSKReZgf4+zcsM43P1ado4M0LgY/kuR6IF9COtmrpGKiH2G26jBBqWdNrAr /EZITocUE2/YQ== Date: Thu, 29 Aug 2024 14:08:49 -0700 From: Jakub Kicinski To: Mina Almasry Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-alpha@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-arch@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, "David S. Miller" , Eric Dumazet , Paolo Abeni , Donald Hunter , Jonathan Corbet , Richard Henderson , Ivan Kokshaysky , Matt Turner , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Andreas Larsson , Jesper Dangaard Brouer , Ilias Apalodimas , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Arnd Bergmann , Steffen Klassert , Herbert Xu , David Ahern , Willem de Bruijn , "=?UTF-8?B?QmrDtnJuIFTDtnBl?= =?UTF-8?B?bA==?=" , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , Shuah Khan , Alexei Starovoitov , Daniel Borkmann , John Fastabend , Sumit Semwal , "Christian =?UTF-8?B?S8O2bmln?=" , Pavel Begunkov , David Wei , Jason Gunthorpe , Yunsheng Lin , Shailend Chand , Harshitha Ramamurthy , Shakeel Butt , Jeroen de Borst , Praveen Kaligineedi , Bagas Sanjaya , Christoph Hellwig , Nikolay Aleksandrov , Taehee Yoo , Willem de Bruijn , Kaiyuan Zhang , Daniel Vetter Subject: Re: [PATCH net-next v23 03/13] netdev: support binding dma-buf to netdevice Message-ID: <20240829140849.44ded041@kernel.org> In-Reply-To: <20240829060126.2792671-4-almasrymina@google.com> References: <20240829060126.2792671-1-almasrymina@google.com> <20240829060126.2792671-4-almasrymina@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, 29 Aug 2024 06:01:16 +0000 Mina Almasry wrote: > + if (dev_xdp_prog_count(netdev)) { > + NL_SET_ERR_MSG(info->extack, "netdevice has xdp program attached"); > + return -EEXIST; > + } goto err_unlock