From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 A38673A9638 for ; Tue, 19 May 2026 11:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779191013; cv=none; b=bD8Nv0TBb+lB+swSPx77kmSj45SbYIyiX2gkZY9n/5LM/NQbeh/bZjqgpIH3whpWhBN/cWrPPaaU7nk01UxJC/hnkrG7iliTPm2MdqY8oS1PUvDH7nEe7WxaY5WXTnpz5VFaBTXB5zW+OAEcbKr02bje2CmfLNcwWvHZD9LI7QU= 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.41 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-f41.google.com with SMTP id ffacd0b85a97d-44e1ebb3122so2002827f8f.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=lI76iFYGReEcl0abjkAUoN3jE0kodYc+C3Ka3QMS0CZJt/sfHZGXXPrO0P3uN9UejV h+CXTKi8O/2Oe+HwI54sTWIAo1dGrNoyn+Ui+hHjAIy/zJiphoYsg4SaywfjRn/jBWKM IconIKx7WtWmyXr1CosuftBVDLbCEJMypsEagEZsrAA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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: netdev@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