From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F411A424CD for ; Wed, 19 Jun 2024 01:06:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C46E94026C; Wed, 19 Jun 2024 01:06:08 +0200 (CEST) Received: from forward500b.mail.yandex.net (forward500b.mail.yandex.net [178.154.239.144]) by mails.dpdk.org (Postfix) with ESMTP id B58014021D for ; Wed, 19 Jun 2024 01:06:07 +0200 (CEST) Received: from mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:f07:0:640:9d90:0]) by forward500b.mail.yandex.net (Yandex) with ESMTPS id CEE70609F8; Wed, 19 Jun 2024 02:06:06 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 46SXFMEOdSw0-nnJK9Ku4; Wed, 19 Jun 2024 02:06:06 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1718751966; bh=Qb7ohaFYhgCpj4FhJoDPfW+85URLpbau3bo3d1KZcKY=; h=From:In-Reply-To:Cc:Date:References:To:Subject:Message-ID; b=cSAX1rW0AdiH05ngD2QAPI3lBpkcCA/fAq3kIHzbtUpeoHE7ULWxWkhIGpnnmbzGT 7w4AFpqlhB4bK0Oi4VDR9y4t5j2GzIPIL7XmuC/egp3YxetGvttwrvxsIDa1zNIcFK 0GFkUDkjFxz9wlZyJGICZweDdjwifs7i5NgZ4BKI= Authentication-Results: mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: Date: Wed, 19 Jun 2024 00:06:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: dumpcap: weird failure with six IPv6 hosts in the filter To: Stephen Hemminger , Isaac Boukris Cc: users@dpdk.org References: <20240617083049.412242fb@hermes.local> <20240617144013.0bbcece1@hermes.local> Content-Language: en-US, ru-RU From: Konstantin Ananyev In-Reply-To: <20240617144013.0bbcece1@hermes.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org 17.06.2024 22:40, Stephen Hemminger пишет: > On Mon, 17 Jun 2024 23:43:19 +0300 > Isaac Boukris wrote: > >> On Mon, Jun 17, 2024 at 10:37 PM Isaac Boukris wrote: >>> >>>> Just a quick update that I still see the issue in my env with the >>>> master branch (24.07.0-rc0), I'm now testing by adding the filter to >>>> 'sample_filters' in test_bpf.c and running: >>>> time sudo build/app/dpdk-test bpf_convert_autotest >>>> >>>> With 5 hosts it takes less than 2 secs, with 6 it takes about 25 secs, >>>> i'll try to strace it maybe. >>> >>> strace was useless, no syscalls for ~18 secs, not sure how to debug it >>> further, valgrind / callgrind don't work on dpdk.. >>> >>> It doesn't seem to be about the size though, I was able to produce >>> larger bpf code with ipv4 addresses and it worked fine too. >> >> Debugged a bit further with gdb, it looks like it is stuck in a while >> loop in lib/bpf/bpf_validate.c:evaluate(), there is a comment saying >> "make sure we evaluate each node only once" but it seem to go back and >> forth on the same idx's afaict. > > No idea, only original author understands the verifier. > Having our own unique verifier may not be a good idea. > There some other userspace BPF projects, seems like a good place for > convergence. > > > https://lpc.events/event/17/contributions/1639/attachments/1280/2585/userspace-ebpf-bpftime-lpc.pdf hi Isaac, please create a bug report in DPDK bugzilla. Ideally with a clear and simple way to reproduce the bug you are facing in the description. I'll try to have a look when I'll have some free time. Thanks Konstantin