Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 B1C5E48033C for ; Tue, 19 May 2026 11:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779191013; cv=none; b=ATR47FsRhsIe+V4uynwoqctMX69Saom9vTbW1cyF2TAro4JHAOS5kMtGLluR53zznV80VYoBwWuxHOZVoe91NZYOTQhInAuI1DVkNYYWkjDOI6WwSimhfc+oz5+vo36d9FE/qCMEJdaBdLSeWDb86frbBMsu7gBwr8YPNu6mCI8= 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.46 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-f46.google.com with SMTP id ffacd0b85a97d-44985f4ab0fso1788076f8f.0 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=CF/xLt8H2X50bcp1XCpdVcp8QGoikdZWuNaTaHqU6Zgwxkg01/Nm0FcjiIo2gsChvn sL6VmOI7rBr8mqu0BtpWXuhGUECzGulUufJRqFayf/vOrahR0p8w++Uf7bVoR79LtsPv LCuwcdOcxSeKGhuRB3ad52BvpeTcif5FO34et5LlJ7sIRR9GrbcFEU1YCzetKbNziofI Q/k/VZShF8hzcmyxzXEs72dOuQJNbYdoqnyfeDgmsFzQzy7Up345sqhftief7wecvVK6 nS/bYziKli64GPPwlJUvD8MbDQqFFYHG6TiWQWg/r12yK221nIWGU6JeSCuTYt7TS+tv KX0A== X-Forwarded-Encrypted: i=1; AFNElJ82TVNVO0+RVbJlTtdolGtHyPva4ilEylbDhrXIT7fsnASnw5OmPZasbVTtRZzpO1I+Zve3izbI2Q==@vger.kernel.org X-Gm-Message-State: AOJu0YyFlnmOOvbDqUsV/1BjpEvIvCRPXx5CV4Y/3q9YFgbXtn0OljQJ IO5mtxx7D89Op1pRCILrxt6hJsSkCXZ4Vo+YFH0gYggzzDzkTpwwYbDJ X-Gm-Gg: Acq92OGoxuXJs/I8BEqRS0xM8wRgqpUnETeeFrO27DIqMGwGqvd6Xw+sKgaHw9Av2xD Vb5xeyY66J2GhDpiESFO8ebmoD/jCSMaPIm6FKJ6LlJUEBVeTmUxj66dkQdd+tNWrWnDUYdITr7 5BjoiFrVkFfyOql3r0VE2ibUKHvQ+fBymmBpJspXmzPw3SCvlQg9UQa5+deOAQ7leIxS8wLgtzL mDOvu53YTnnazGgFPLiPNRThqiC9qo5qh5SbuOwliWuQRzKH1ch7EU13tT2exYZTvd8OGzC684J Lb6F/a8oT9yddtk+cW0bLd3iu6TX7viLnp83l1B2I4mz6DMWmENZzACgHUk59hl+uBYI+Yj+d1n c01owW+xJgTSMuHeKbaetsrLjlEv0okRgk+xe2bokUxkm59gDb3HLliF6GTSSO9SMWe2RPWdCrm z24naOwE/yyO6TEeykOMa/ippvsI2SwGnC4e7QUPn8M6Blum2zgJKCXlE6XEKf5Lm3PNM0eGv8K OAqlVXKyuyZM9d4ehkzhtEBk3RjhuvfRuoYTSjXGt4/ZQCMJ+HfZ8zZ9X6DNUvJS/sMrjo0l/v1 hQ== 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: io-uring@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