From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF04245BD6F for ; Tue, 19 May 2026 11:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779191013; cv=none; b=AnPaQ5tzOPZ0Us+Tai84oUZYN3GkI9ZZD+o22Xxc20C+i5+fOeSnW7FjfhdT8/BEXu06HVKtl2RzWCW8nwpzPoiHx4Wujp4nGY4hLhf0En/jPvKg6hDng80W/GKh34W5bO/0nNNSFO9ZTKGKlY10HXXnNkXjHlwQh5msaXsTkUc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779191013; c=relaxed/simple; bh=uqnz168Z/NZnWLL+NvwgL7tHVJZg79BGKcxiyfYZqas=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tfCgAfbwFtL9PAtI4xE9+3IB0W9/ZJZZTJzvadrMo+XqZfFLzokX8+njFwrB3L5yriLDJbIfUFrkzM0OiNnxv61jI2Az3b7Il09W4UAE6iVbSQWv+zGP51Yl/VnG8upyW1m0SVR8mpH4Xdg69Nya7vgF2dc7CR/g46dqw7LkoPY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=CA5LbG1C; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CA5LbG1C" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-44e1ebb3122so2002826f8f.2 for ; Tue, 19 May 2026 04:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779191010; x=1779795810; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=830uqqsTMsd/ozJU1fiYeCoziwF9njvd4GwHw/ftDHc=; b=CA5LbG1Ctk7i1t9L2quu16aCEVkbnhAZ8gP5ZZcUdRvrGjM3IxL6yWjZ0IIyT+OIs9 TdaAVtspbfIB+WyrJ1k5TjuFgtl4R2kAlcLeWylPXquuVQA43HSevO1c89U3KwGCXQzP cL8plifMWgQKDof6HO4cGWUzxidYasBCQJTi4vbfRJSiFnJc3oaX7+uzvPhkd+uUE5Dx EAF1S+eC3Lc85bNYjFHsigOLvOCEFUZhbR43vqZjRj06cofFlV1lKvbT5s1ZzQFqBZlj nUQRZUJ1MoDXnSrFvH3P5VfNybtH/QbPctLspAOj8RRkk6b85e8+FokgarE3kU1W1HZJ ObPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779191010; x=1779795810; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=830uqqsTMsd/ozJU1fiYeCoziwF9njvd4GwHw/ftDHc=; b=AqH6f4ApduZxZ3aPyU1LhRB7oTHVqmwZ8I/6DxF7VNM4IbQQbD2CmLvweoVFdHKAaU MKpnqWywX4OsYFl0TUkU1khDVeMSwWd72+DfJSk+bH6iNkuggjiXVjB34nTydf54q7er OKxum+WmydFxToR9Y4vAOvFY1UzPP4ff5sIHF+4OY0cUcyuFiaht4KrJU5K1M24zV3ok pJR2KgjgZy1Mv+SV06WzGpkahyCEzH6wcGJf1qxKOpGOK+p60+u767gYQqkPPGHBO2d+ +xU/gUJkrcgTFneHKSo8mN58/EApljnj2Ht6vKg42ZMJb9ZJy+77hxvZ8xkAHmLi7An5 fHSw== X-Forwarded-Encrypted: i=1; AFNElJ863ZiYpbloqPErYsHmD1mmUrZGy7Jfsg82oTNn1CVy5RrX6/WTxTrbXo/Yjlh/BPJF7tJLPxG/Tks7vW4=@vger.kernel.org X-Gm-Message-State: AOJu0YyHSMXEQ+zCHf73T0jwbUuDmweZgBS774AaXZxvo/uYmYoL5NM7 gU7QIkT9OKStX1IghffQ8zO5b11p2yoekj0ijc2UDEK48RbSNRGqxDlW X-Gm-Gg: Acq92OF3iZD2XAVfeuWfKEcAnMHUkdJrLfUdpDOxI1JWUJOOhWjgfcvQY84MOcux8t5 iF+s7OOocQweOSB06uY6JtZB3JLq3gkR2jEStgRDFPfgFTjh7RLO0ZZenXnvIk+gwxiA7INUdEu wKF2RknsJ2Nur2f17XFbn7wLGAuExZwtXiTaCu5US3gI3RKZOpaOOrbNkKzlAP52ZGQAp47CR9n Ho6ujmZgU0FBrfQB0vAIC5at4/0mZMNtW6WaQ8xDoub32RciIW+tKBmqRyUZUKKI+rs7oV7tOu5 TJGeVPyc65gQK7EfWv6I0p9N269dOV+oDe4+870dDEguXqjWiL5c/usgH+9a1HRjQXDcG6JCRYw rzhYG2Bwgeeyl2kgIgiJw3n5phyrhCISOe27Mes/n/O0Eo5iABHc0Fx1YKSBcU5VfAlUtyy62/F XplF40kogUOe64mf3QLIoeaaEoNU0a6vWIUY6Cl1BykyDKhww252/+p1X0jIjdPFJOL63zJMyey MI0DbKIIHdtApCK/6k9q46stUvDZpFOt8LGAS/vC1KdJIiQjOswFfJro2pEAT0RVXBlniVFJSFH YA== X-Received: by 2002:a05:6000:2087:b0:441:36b7:7262 with SMTP id ffacd0b85a97d-45e5c36735emr30499432f8f.13.1779191010036; Tue, 19 May 2026 04:43:30 -0700 (PDT) Received: from ?IPV6:2a01:4b00:bd21:4f00:7cc6:d3ca:494:116c? ([2a01:4b00:bd21:4f00:7cc6:d3ca:494:116c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45d9ed30110sm49237372f8f.13.2026.05.19.04.43.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 May 2026 04:43:29 -0700 (PDT) Message-ID: <260923ea-7871-420d-a822-cde2f4c105ad@gmail.com> Date: Tue, 19 May 2026 12:43:26 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/6] io_uring/zcrx: add CQE based notifications and stats reporting To: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , io-uring@vger.kernel.org, Jens Axboe Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Jonathan Corbet , Shuah Khan , Vishwanath Seshagiri References: <20260518153532.2835502-1-cleger@meta.com> Content-Language: en-US From: Pavel Begunkov In-Reply-To: <20260518153532.2835502-1-cleger@meta.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 5/18/26 16:35, Clément Léger wrote: > The zcrx path can encounter various conditions that lead to internal > fallbacks or errors. These errors can have a large impact on performance > and functionality but are not yet not being reported to the user which > is then unable to take action.> > This series addresses this problem by adding a new notification system > paired with a statistics structure. The notification system currently > report out of buffer and packets that fallback to copy. The statistics > structure report the number and total size of packets that were copied > rather than received via the zero-copy path. > > The out of buffer notification allows the user to actually adjust the > buffer sizing when registering zcrx support for the ifq. Some future > work could allow the user to add more memory on the fly to the pool so > the page allocator doesn't run out of memory. Looks good, I'm going to take the first 4 and send out with other zcrx patches. -- Pavel Begunkov