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 0820B606A691 for ; Wed, 2 Dec 2026 18:08:27 +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=VzncQA57 Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D793402DD; Wed, 2 Dec 2026 19:08:25 +0100 (CET) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mails.dpdk.org (Postfix) with ESMTPS id D8B1A4026F for ; Wed, 2 Dec 2026 19:08:23 +0100 (CET) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-ccca948203aso9288262a12.3 for ; Wed, 02 Dec 2026 10:08:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1796234902; x=1796839702; 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=idihsuSaR3v27fVlDcKighpYMP2MWaI1q4uPoz0RivQ=; b=VzncQA57q9DxZd4RatWgwCdXfMSFZBjLsG/6qjMp0APVX1bF3lPyPnRvfmEhhEkZ/v XKiwtXC2htlpiPa1AB7339CT71OsK+TSW5LyJbA9hePwSQx3H3hWvt7AZaTh0GjkvniP y1pG9WsE8hceU/4nK89Z+Ez8GGQv+7+O2gWERiZxlOkgZgoF3WsoZN3Qs0OVHK7MUKx7 0gC6MwD558Ukq+Pxw+4oYxb8RG/rniqHxOCcuW/A3fZ+5CR+2A7q+CPCG+8QkxudILph g1NHO6y1+BJ4W01KlbrNJeSc/zKgQav0tlxrQwFOVeYnobv1JEjwjpGgbalszVYXWzgN VWww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796234902; x=1796839702; 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=idihsuSaR3v27fVlDcKighpYMP2MWaI1q4uPoz0RivQ=; b=AlyvU1beEtj53LRmxpU+f9fGP+HOZuwXfTreuY1Nb3UMhFkeE31en/2RCVI6tSzuui CD6j1x8BvOGwR2+X1DO3BB4lI/qcDQWi9oGJR7SOsImFWKYi9s6wlZAFG4gNcctxdcuP d2is0bRSUQTc7yhAlPaHhXxvy1GuwLp/oO16jdDQwifqrVwLa4YMkA9ZLGbNIOntno3r JGdO3Z453XwNnyQSn2lOL4NphuBCsMkWO/snJHavqZVcP4DhIqzIZ30CHNBQ9rb27lrQ trQvkGyWNC+PRQ+HKEgYWIjXoMMCpdIc1tiekxmYf8cv9dJkqwUNbT8Hc7UHqpHZb4VO PGBw== X-Gm-Message-State: APuU4Z/uiASmkfIm0uD3bSN7VO/B7cHFaR98VzlRyrf8E8eA6CxtoUiE n0PPGi2MLM9PIr1IHOE655zUyt80MgnJLsUtEs1csIA1GSp9U3WQC+OsipLcwnFdpvCorfmmFmL c9wxRTUg= X-Gm-Gg: AZFdTZdfm4b03g4FnT7YQ8GC6Y555kuPXPttNih4EtkR7KDj1hqQ9lWh6uzwM72Fmoe 771buAjkKob/Ozw0aXesxpEtvecXWvwdD8cnSJZDNEPMpc+d9vXBcSdGbBQBJ2/IuCJyN1qa5Do nxGNyhl/hd45RXcmfoSxPaXrLKf7VNO/mHMdh9XaeEnHEn2pyRPk7NoUp9ES30qkZLL0qt0zArt i4mURs5YS/bI9jsNZ8owyLtGJGKI10ki4023xky0gQHUviccKZrv/2R0qr6zcK9Qp4PL8/LCiW7 RhZyhWeosfe96AbZ1Rv3lwBTsEnjNV1JAPgbEotB5DCIorqUQATpCt8Q1H0oP250ogDeFSZNgRu 8g2jlmHowOmw9wUi0ucYPvQC213t2WZOjVRebWPQW2/QMXr0UUE3Zkrt/7CY4gW/BUPUB9278PT +nVYiItutkhxV8H1h4RJfJZgEBd/sURJtLkn+Zxcqra+1RU3BfKVuEyLEkrmeeO46J5W9SPjWFl DKG2Jq1sbSAnw2+UYeC4I4zP4Wbv6yrlMlRZVTq6AY4EjqS/Yg6oTaAxTdq8YVbrbCKR538h3JR 3qYi7PtTlQ61NXSmkldBrdocUDfbteaR+TVTVdaA3wF0hSvh0v9PLLFwgxXnZqb1reNT X-Received: by 2002:a17:90b:164a:b0:3b5:a3:442f with SMTP id 98e67ed59e1d1-3b500a34654mr25498675a91.41.1796234902234; Wed, 02 Dec 2026 10:08:22 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c7d65000sm214204a91.11.2026.12.02.10.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 10:08:21 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 0/8] pdump: fix error handling on failed enable Date: Wed, 2 Dec 2026 10:07:33 -0800 Message-ID: <20261202180820.4107462-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 Capturing on a port that has a hairpin queue does not work, and it fails in a way that leaves callbacks referencing a ring the client is about to free. Fixing that turned up weak error handling throughout pdump enable, and two problems in the IPC underneath it: a broadcast cannot distinguish a process that does not implement a feature from one that has hung, and a request to a primary with no handler for it does not fail. The ethdev and EAL patches come first since the pdump fixes depend on them. The EAL change and the pdump error propagation have to be backported together. v4 - fix test failure in CI (no huge) 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 | 17 +- lib/eal/common/eal_common_proc.c | 55 ++++-- lib/ethdev/rte_ethdev.c | 5 + lib/pdump/rte_pdump.c | 306 ++++++++++++++++++++++++------- 5 files changed, 383 insertions(+), 85 deletions(-) -- 2.53.0