From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <users-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 70E594547D
	for <public@inbox.dpdk.org>; Mon, 17 Jun 2024 09:12:02 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id E3DDE40655;
	Mon, 17 Jun 2024 09:12:01 +0200 (CEST)
Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com
 [209.85.215.178])
 by mails.dpdk.org (Postfix) with ESMTP id DA6E7402AC
 for <users@dpdk.org>; Mon, 17 Jun 2024 09:12:00 +0200 (CEST)
Received: by mail-pg1-f178.google.com with SMTP id
 41be03b00d2f7-707040e3018so849695a12.1
 for <users@dpdk.org>; Mon, 17 Jun 2024 00:12:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1718608319; x=1719213119; darn=dpdk.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=+4AWPOnvb8vaDKLoJxQqIeyNfEei7gFZxQIVmOy7qH4=;
 b=M66gBhZMtCHydR4n7VNsG14s9tbUF2bcgZKHjvl3shhJZqSeyVDOn5ohmMvOuFUObt
 Y9+DDhJ/g+S4KaMdIj1YISELABHlE5Wf5IGRW0oGAW1Szn8Y8JHFQICGLNWJHUY/LRws
 +IAVGc8MOBFNQlbV1+IbN/vqCBOVljCM1ltIjFKIEzrzP5s2h8pRNIkeJsur+hox2uPW
 xvjnTk7aOk8YsoK4Sly5cewqZOFw1iA4hWuFS1Ybp29tVcCFyh3cyf1V4eaKsc3k8YDh
 JoBoUTiNMl4KXSEfbXOENbtDRsjOykKtkmGpCQjGBzk+46+kOChBBsJQF0aQ7BZX7tIy
 /yKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1718608319; x=1719213119;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=+4AWPOnvb8vaDKLoJxQqIeyNfEei7gFZxQIVmOy7qH4=;
 b=V72f27iMEiSZfhIzIVSsGe/GIPVzrPFgn0sQe+Iuaem2W/JzQGPprIdGcqn+w/+9w8
 8fOV4sNi4eeWoNFVoUxyJyV9hJp5wWjrrZiD/vWBJHNOSy5BIfYgMoTDQdFB07uX6BgW
 kJ9yFhVowd9IdxO4NCjUxL3P80f5SBsSGpKB0MwTeJy3q1x6Aw9QZml2IZ06V5O1negw
 Ikqrh7J3J+/b+2RlAaz/Qgy9J/uDcBVKrpdh6LOfhmF4Li1CyEs85jXPYYZ50bI1BNCU
 cCVnBHGUtASdSmlemOuP/TelIqVjoUTf9iPEzKxDf3CIhXEJRuRkwV75tu1T3CRI06po
 ZKvg==
X-Gm-Message-State: AOJu0YwNfscnvWg1ZF4lOme7IUAStinft/qcbQ3Bqe9Py01nNpdZZgh1
 PoSXh9vRSZIOfwqwmKfBXxS/f9XGrObi91ld4na342i+vXHCLY+tXpzN56hk6m5FBDI9yYkiiF5
 rPjZGmDQpicChfougdMdthF4pxRXEkoMQ
X-Google-Smtp-Source: AGHT+IG3hjEGPScjnFDD539xtk5X37LuTTIrtTvPi208dLPFbPZr+2SQb5lM68ujmLbKK63zdLS7bjZP+kG/vH1Xrr4=
X-Received: by 2002:a17:90a:528d:b0:2c2:f47a:97c9 with SMTP id
 98e67ed59e1d1-2c4db131a5bmr9090241a91.7.1718608319327; Mon, 17 Jun 2024
 00:11:59 -0700 (PDT)
MIME-Version: 1.0
From: Isaac Boukris <iboukris@gmail.com>
Date: Mon, 17 Jun 2024 10:11:47 +0300
Message-ID: <CAC-fF8S8KL_d4QPWuQL+vAsQAfjnPA1m7hNP830qobHJ-4J3eA@mail.gmail.com>
Subject: dumpcap: weird failure with six IPv6 hosts in the filter
To: users@dpdk.org, Stephen Hemminger <stephen@networkplumber.org>
Content-Type: text/plain; charset="UTF-8"
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
Errors-To: users-bounces@dpdk.org

Hi Stephen,

For instance, the following filter fais as follows (if I omit one host
it works):
-f "host 1::1 or host 1::1 or host 1::1 or host 1::1 or host 1::1 or host 1::1"

EAL: Error - exiting with code: 1
  Cause: Packet dump enable on 0:0000:13:00.0 failed Connection timed out

On the server side I see:
Jun 16 15:17:08: EAL: failed to send to
(/tmp/dpdk/rte/mp_socket_262131_4a103955de0b7a) due to No such file or
directory
Jun 16 15:17:08: pdump_server(): failed to send to client:No such file
or directory
Jun 16 15:17:08: EAL: Fail to handle message: mp_pdump

Then subsequent requests fail with (even with no filter):
pdump_register_rx_callbacks(): rx callback for port=0 queue=0, already exists

I debugged the dpdk-mp-msg thread with gdb, as far as I can tell it
hangs an awful lot of time on rte_bpf_load() (~15 secs in my env), so
the client times out and by the time the server tries to respond the
client socket doesn't exist anymore.

Thoughts?

Thanks!