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 7F23A606A31A for ; Tue, 1 Dec 2026 19:32:50 +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=C1Ijht6S Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C04F402BD; Tue, 1 Dec 2026 20:32:49 +0100 (CET) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTPS id 7A66B402B8 for ; Tue, 1 Dec 2026 20:32:47 +0100 (CET) Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-ce103a1cf0eso333018a12.0 for ; Tue, 01 Dec 2026 11:32:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1796153566; x=1796758366; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=BwGD6h6pXZwfRJ6O9PwcwphOfRNKHKw7zO6MpmZdbCo=; b=C1Ijht6SXph59ftNME48+GysiB1NY4ZPdvNCjYSCyxTBGMTqBIS41tUZSfztY7+091 zB1q4XuB4rLmiL7WLHVyaREeTEcwmTQFATX4QczDTiJPS6pKIvDKq/tmbt4dPSx9t3a+ oSCj8o+aH7HdHtGVByTZD6gqq2uBBDnKPxOowqlHTpHsyeYpJofe36m5QTEZVM5PgD1z 4zPpkHdp1Mpo9WbmkVX19UXTRCQjxQsMLvxNl6C6rihOPUzdJ36z5/3+aqvKBfQmB+jw VkEX6pp9Qu2zbUxl9y87VjbEDSVX1zwmMGDWU0kWAwjloI7TaZKUQxvEwRHvE6ZPOTrN 6R7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796153566; x=1796758366; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=BwGD6h6pXZwfRJ6O9PwcwphOfRNKHKw7zO6MpmZdbCo=; b=W4KdlOJ0MuVuE0/qUuqJjQtasEjDGgg5PmZ3VSrk5slk/paom8wglDlMGTTxM0gAjD cG7L21qFT00e7MI+KGaJzWgx2oAqfipcb1QtQqccEB52ZCP1Umyc8o+VqhLKBiCa4tO9 jMLAoEMi7M8IHeSO2qVbI65+dJoAh0Z7ljkWi8wcfvkqbSKkBrfUJByo5E6wqVXURPsK eMQ3jIW+yKyoHjNS01JYJzbR/DDqNEO6bzWqM+HIC5qx9IF1USqOGdbLf/lKCuCI9baZ URpsphCupcUTgyUGkYrqM17rsPoQoWtytX200FHcuttG5RLujbNkZ/VwKwQqRiT3MMYX gIOQ== X-Gm-Message-State: APuU4Z+3pAJSEfHHsxjnPabfi4+adxHynePnryRiHK4WV9rkHeTwHOa9 dfoaFNREzlZWXJNOueG0X+CPqVd0SRuAze81iVK7C9oIoqsOh8ONEf9Sj+PtdeeJjlNe6wV72La pAkF+/iE= X-Gm-Gg: AZFdTZc3Tb1QBXMqW/gKooFte3t/CWKPZoHD7543pDeBFL17wBgoE05yrN4CgmHYRuc vCTVj36XtMuF6S/MJX/fvj5ufzdzZl2461u+07N/iDN8LpbcxR6IwehY/10sBYvdLmblxrPLjbu oFM7oB5kEESfQT5O49EO2CjvDm6vg9cHMHBrtBB1fC3XW0ZuZMWhhJ2XSN8Q258LGh+Cz8ouecT J7yNimrmSM8OBfWm6e/WbIFbymsTb6JXr7xHL4tsIBOKlO24y4t8WNQrZYJoHSGhx+ag5YlpsfZ 8XMpHnUGUIaFMM/BQfPiDNAOglnbP1YPqkTtFt/FGZZIIjM2PN+dSecn9VJ99UwZMAImUuV7Yz+ h3PGv+5wYZpKXxDSMdWae4pzNKR7g4IjhKMRECogwKlRixg2veOemCIlZlA7F5xmXD7MhUS2nOA n6bsf4vw4jg97CKFK+XNKnsQCx/cqKHrARQswa6HZtdZo6J0w8/+AdUeazvsflbs1iJL22f1ltO 59jTvrCT8NaOB3aNR1S2wr2DKIeQoqwkiSXzbA58/Pir5iJby4d26mgcAu1w7p7KZZrzy74XU/f MqVKk9jXlA6O6J1jCnBlQOim6sADsgHQWczHeCCjDTL4aO9TrXIUbk5UTD5DWaLbyU2J1Y02Ieg V5pyoTm+91A8WhA== X-Received: by 2002:a17:90b:3d4d:b0:3b4:402:b3f5 with SMTP id 98e67ed59e1d1-3b41c8fe48amr41624499a91.22.1796153565529; Tue, 01 Dec 2026 11:32:45 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b44b21e19fsm23264700a91.0.2026.12.01.11.32.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 11:32:45 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 0/8] pdump: fix error handling on failed enable Date: Tue, 1 Dec 2026 11:31:09 -0800 Message-ID: <20261201193243.1008280-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261028141750.310963-1-stephen@networkplumber.org> References: <20261028141750.310963-1-stephen@networkplumber.org> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 Pdump/dumpcap was not handling case of hairpin queues. Hairpin Tx queues were being flagged but not Rx queues. This exposed other issues in MP request handling of missing callbacks and other leaks. The primary/secondary IPC needs to be able to handle when secondary has not registered and when a secondary tries to request something primary can't do. v3 - needed more complete and robust MP state machine in EAL - verify request rather than complexity of unwinding Stephen Hemminger (8): ethdev: reject hairpin queue in add first Rx callback pdump: fix error code when adding callback fails pdump: validate queues before installing callbacks pdump: release BPF filter on error eal: fix IPC request when no handler is registered test/mp: check request with no registered handler pdump: report secondary process failures test/pdump: check secondary process result app/test/test_mp_secondary.c | 85 ++++++++- app/test/test_pdump.c | 15 +- lib/eal/common/eal_common_proc.c | 55 ++++-- lib/ethdev/rte_ethdev.c | 5 + lib/pdump/rte_pdump.c | 306 ++++++++++++++++++++++++------- 5 files changed, 382 insertions(+), 84 deletions(-) -- 2.53.0