From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0EA1D606A333 for ; Fri, 4 Dec 2026 20:22:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=rfgz4Pa8 Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9477140A6B; Fri, 4 Dec 2026 21:22:28 +0100 (CET) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTPS id A060940693 for ; Fri, 4 Dec 2026 21:22:26 +0100 (CET) Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-3b59bcb3301so1425717a91.0 for ; Fri, 04 Dec 2026 12:22:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1796415745; x=1797020545; darn=dpdk.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=9Uq9Qtu13U6Wr8MgqCaCWpuzzlumrWcKZuOOz3zZi2E=; b=rfgz4Pa8W49UYvn+vT8218xXtKxeXqrxKDD4ltWVLB1C+YPFdnaxkdCaGCkKVR7y+d va4WamPs6qmNnlHZu7MBarUlx7mgW1DA5rjphbC3ChgQ+IVUZONkkqB6bsNq/x63+0e5 nxO0vrQY4MWb3Ih+YqWMPRbOYlReNDXnbuP+h3Sk8Fkdi0wK5Z58uzBug7UbYt8H+lPj 1sJcLMAsO8Pyp2jAhtzWlvldakWPgCp5tdgEz5E493I29hIHINmzXEZ8zfnMPFwaeHsp ZIQ1VK2p/FuJjaj78b40FcXo32UAigA756dWhu1Vg8wXxBXjeIajzHS4gCv9RGMGPwRY o5EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796415745; x=1797020545; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=9Uq9Qtu13U6Wr8MgqCaCWpuzzlumrWcKZuOOz3zZi2E=; b=psrFYpQSyZ6oKvTiwge9SojuibK2vKnCba3FfwR7G03yNYhmhtIJLchvhZhEIa1zfs mjw/YmwThCUWXeZJfhV01CrdeA/zUPwfDv5/0r/6C/MSBs83T58XgKDzL1HXS4vuwiBX h3SpFPCtlhEZPqDezHHzBkMqLCbWDL8XMpEXQOml9To9bv5miHpaP+L2uIaZtGofntGl SrLolK0Mu70CB4hnFSZfJyuldotZROh4xDospGBCxBgTGaXE4kT58aU08VfHZRJcxTSa N70saSBN7a4eD/hJAwpLLZY4bfQAHMTsn80pzKqb51z47A8P02GaiKUsBiradIVQSgXn I35Q== X-Gm-Message-State: AB4q+uHuuL7IHan5LbQmxqI38+rcdh/GYlbMD1jf0XvfkDupPGJ1KEDQ UUwMSnBhSzcwyLhMmxCVLLVkIbBQajIMdH/9O45+hnW6UrQSKiWLDJLt8bDCQjY4HCM= X-Gm-Gg: AZFdTZdVbZYB8ZuMrAay7L8WvjcRIANUdx3LcY6N0uisrxa8Lww8g5AcAam9p+tAijw 8jfKRZmGb6WsIxAqBFuED/uM7oJxBMdlPjPb/+AJJNZ+i5clwYI4oOLCeB4jNsLByWEshZ2Wp1j ZoGJ1C83PxnwxkT9KZHdcjiSE7d+K8b0eoNbiGVh/Tkn5Ta0YrQEVi01J3h656+HRDcbrR6BiZt BZ0JdoVIIPPOfmnmncTMkhXYjF3tQ5lDrE4pMynT3YS/7PWMnABgQueYRJ+SoqspDqrHQTJHUYW 4d9zHLSv17Vn/RUohjb34JtaZJa6PoAapIlwuk+XCS2WcP8b/VGqq2s4C9f4q+/tSqgBtSpZim1 zErr2y6xr2Ww6hMEN6pTlzmQ78/c7rxxiKzzXdKv/LyDG8+0bTTNHHh7I/+8S6/zEpSl7k//oYj og0GZqwCBNEOUXwkSIStejq41pTe5MtbX6Slol4lUy/zktpfOCTuwBDZEzWgUnz2AwBVZ+uB29R RxNHZ06Kz8E9WyQr3iKlSJpgsk+bvGu1EC7rBV1zRzGm03lb/4HArR5DJlEgiQcEk19i/ggBYFN 2xf3BPJRdEl/jEziKNVQEooQIW5zs9N8oQRfg/wR6Z0s/8f02Suqfza14Vje7N532df9hQ== X-Received: by 2002:a17:90b:528d:b0:3b0:e388:d9c9 with SMTP id 98e67ed59e1d1-3b5e0619995mr1733717a91.12.1796415744989; Fri, 04 Dec 2026 12:22:24 -0800 (PST) Received: from phoenix.local (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5ddc73566sm5599109a91.17.2026.12.04.12.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 12:22:24 -0800 (PST) Date: Fri, 4 Dec 2026 12:22:21 -0800 From: Stephen Hemminger To: Scott Mitchell Cc: dev@dpdk.org, thomas@monjalon.net, david.marchand@redhat.com, mb@smartsharesystems.com Subject: Re: [PATCH v5 2/3] net/af_packet: add io_uring Tx acceleration Message-ID: <20261204122221.2d56d9d6@phoenix.local> In-Reply-To: <20261204160714.25381-3-scott.k.mitch1@gmail.com> References: <20261203174302.1418-1-scott.k.mitch1@gmail.com> <20261204160714.25381-1-scott.k.mitch1@gmail.com> <20261204160714.25381-3-scott.k.mitch1@gmail.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Fri, 4 Dec 2026 08:07:13 -0800 Scott Mitchell wrote: > +* ``tx_io_uring_enabled`` - Notify the kernel of Tx frames from an io_uring > + SQPOLL thread instead of the lcore. Needs DPDK built with liburing 2.4 or > + later; probe fails if io_uring can't be set up (optional, default 0); > +* ``tx_io_uring_sq_thread_idle`` - Idle time (in milliseconds) before an io_uring > + SQPOLL thread goes to sleep; 0 selects the kernel default of 1 second > + (optional, default 500); > +* ``tx_io_uring_q_cpu`` - CPU for an io_uring SQPOLL thread, repeated for each > + thread. Value i pins the thread of queue i, or with ``tx_io_uring_threads`` > + thread i, shared by the queues whose index modulo ``tx_io_uring_threads`` is i > + (optional, default unpinned); > +* ``tx_io_uring_threads`` - Number of io_uring SQPOLL threads the queues share, > + at most ``qpairs``; 0 gives each queue its own thread (optional, default 0). > + > +The other ``tx_io_uring_*`` arguments need ``tx_io_uring_enabled=1``, and there can > +be no more ``tx_io_uring_q_cpu`` values than SQPOLL threads; otherwise probe fails. > No, still to many nerd knobs. Io_uring should just be used if available and work with existing core/queue infrastructure. Introducing more driver special snowflake parameters creates application issues, and future technical debt.