From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D55788836; Sat, 14 Jun 2025 01:09:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749863357; cv=none; b=Q3nh6LI7e2Lsyf7xgL78ETx0/t9IavXrHIBCYEOVRUKFx95jCD9PaKGpEO9BGji06jtTWs7n28gSO0fAzQFDpzCQ8B1JMptb1RTI1+nuNKagOYrnROiZ9dVbzs6Ka4Sd5OwwWvAN86G1sdv/Lz8NoQWmk/l/gUt7hArhQwGyWrs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749863357; c=relaxed/simple; bh=bhtNPk++UTQ57VyxrddQMBBkJ5x/UxyRvLf25/kjd70=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JCyZGW2v8RirFF4qEji1nIcOmRB+NnOAeacftIWH7gHiZCdBtTsNFZ0NzBDSTfB3iHA/RqMQY2pjyi4POc5fqCKEGh0eF+q3gVbn9Hs5VbF17dT64tHy+bElHszazgRKZ8UKzOGCsQCds3Z7N0JhLJzyYpSsYHz7wxhIwh7I9nU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bz/vwUnT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bz/vwUnT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89251C4CEE3; Sat, 14 Jun 2025 01:09:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1749863355; bh=bhtNPk++UTQ57VyxrddQMBBkJ5x/UxyRvLf25/kjd70=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bz/vwUnTuREj01l1K5Yg4O5PrHNSbSGqSUZ/j2791RYV5RdQqzU7jtKPMqT5T/LsJ MPYwhXrRvnxink30KLqMS3u6ntB6hn9292WO+o1ftk99LBzHCWUzA/T4+hQ+zg4ZVK iML4jVb6MtRh+gY4DTsePsy3IkKtNwaxTE321Rm8YvQiPGsXbFMNA1LCKPH/LUdmE0 qnBQhbTouiDveKhMPVknuBk64c/PZjv9XJ06gUNrKhHKjPxLshSrqnRj7j9qKxem1O tqk8mPG8OuhooASwcPgvpjokVhX+eUxaS6mzMLhGF6iUU1z9qCGOpLeqaReSCv1oki 1fd7zmF96gZow== Date: Fri, 13 Jun 2025 18:09:13 -0700 From: Jakub Kicinski To: Meghana Malladi Cc: , , , , , , , , , , , , , , Vignesh Raghavendra , Roger Quadros , Subject: Re: [PATCH net] net: ti: icssg-prueth: Fix packet handling for XDP_TX Message-ID: <20250613180913.5e164263@kernel.org> In-Reply-To: <20250612094523.1615719-1-m-malladi@ti.com> References: <20250612094523.1615719-1-m-malladi@ti.com> Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 12 Jun 2025 15:15:23 +0530 Meghana Malladi wrote: > While transmitting XDP frames for XDP_TX, page_pool is > used to get the DMA buffers (already mapped to the pages) > and need to be freed/reycled once the transmission is complete. > This need not be explicitly done by the driver as this is handled > more gracefully by the xdp driver while returning the xdp frame. > __xdp_return() frees the XDP memory based on its memory type, > under which page_pool memory is also handled. This change fixes > the transmit queue timeout while running XDP_TX. Makes sense, but since this is a fix it needs a Fixes tag. Please add one and repost. -- pw-bot: cr