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 5B3B9A0032 for ; Fri, 25 Nov 2022 17:28:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7D9840156; Fri, 25 Nov 2022 17:27:59 +0100 (CET) Received: from mail-vk1-f194.google.com (mail-vk1-f194.google.com [209.85.221.194]) by mails.dpdk.org (Postfix) with ESMTP id 0DC9D40150 for ; Fri, 25 Nov 2022 17:27:58 +0100 (CET) Received: by mail-vk1-f194.google.com with SMTP id b10so952703vkn.10 for ; Fri, 25 Nov 2022 08:27:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=X2iviNrBLh7DHmNGoSM4rYROE6ibB5rrfbgNyKStyWM=; b=SBYJaeG3X/EQdufXqZ3m/cVx+PKaSQJkW6cOzUxufStN6B1f9lgZf3cgDtULtjYH/w RGOBbg4nyMjXGjxIc5kUYSF63r8j6UjhNsrpb0N4C+iC6mhYJClPrMMr+F+TM0jhRBQT yzdUFfCZkahATRGWM83M+zPg9o/jswgst3tD+RUeEHEZoY6EFbJbt+LDAqJq5c6DMlGn 0YQQ+ntpTZLRhvEvc0giCj7J9Lz6UgEhmGrczgE2IKOGfrN0LWXWE/hNJ8GwF+k0NHK+ Z2sjDCi5v/HWk09zfa8IpceCxEa4jJ2TaoptaLiwFu4EWoo1PYUuV8OtdcirwA5KS7AN ma3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=X2iviNrBLh7DHmNGoSM4rYROE6ibB5rrfbgNyKStyWM=; b=zOVSBsdx1p2oyUGRkKTRks8Yngxm8EYnyNG7AxQfLSKjiNG/ZviBVNKZ5GuM8x/NZa oYNW7acPi+2EE4dW5UXYVeoRfbUDKdKCiTUHEceUzBd+3e/wnI/ePeh2V4fjn2qozGmG OhSZgm6Nm/neq2qiIjuXS2qaMMR+GxOEoz5AAy/joO1EPNlUkLtcvJMYErlnnYGo1/uL 6TP2ZJ18EbfLH4oIzBZkWY6QzKY4vaOdHX9ZbHmhXRr6Lu2xpf1pfxp06O44+t7a57VM 4NhmOqvgQcJuB0/DW4Q8664m7ADesi0BuBCZifHOtRntL7Vba4XVrda/oOcU3ddOjB4A 45zw== X-Gm-Message-State: ANoB5pnFwa4NFWg0I7ggZPVSm/9Hs9xnRknhZzMfSlrZIShDYuiel9fH Xx3Md1UIRv3Qm+Qpta8349YtqMQFBGFFBM3orZMtgbjRFzvdJQ== X-Google-Smtp-Source: AA0mqf49MVd0zG4IUuZgxN8g7K0ZURNmvmXeJnbOi01NDRy2+th33mX7FX1cHd36g8WdTWSYPPJkR0HnMcrybdKt72Q= X-Received: by 2002:ac5:c915:0:b0:3bc:2476:f74a with SMTP id t21-20020ac5c915000000b003bc2476f74amr23030772vkl.19.1669393677045; Fri, 25 Nov 2022 08:27:57 -0800 (PST) MIME-Version: 1.0 From: ikuzar RABE Date: Fri, 25 Nov 2022 17:27:46 +0100 Message-ID: Subject: multi-process support: how to share THE SAME packet between two different processes To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000001c53ea05ee4e0162" 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 --0000000000001c53ea05ee4e0162 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, I would like to know how do you usually proceed to retrieve and share the same packet read from NIC port between two different processes ? I try to work in zero-copy way. The first process job consists in parsing the packet and make some protocol statistics. The second one dumps the same packet into pcap file for further analysis with wireshark for example. I think none of the cases exposed here corresponds to my need: 43. Multi-process Support =E2=80=94 Data Plane Development Kit 22.11.0-rc4 documentation (dpdk.org) . Am I wrong ? is there a dpdk-compliant way to do it with threads instead of processes ? Thank you for your help. Regards, ikuzar --0000000000001c53ea05ee4e0162 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

I would like to know how do you usual= ly proceed to retrieve and share the same packet read from NIC port between= two different processes ? I try to work in zero-copy way.

The first process job consists in parsing the packet and make some= protocol statistics. The second one dumps the same packet into pcap file f= or further analysis with wireshark for example.

<= div>I think none of the cases exposed here corresponds to my need:=C2=A043. Multi-process Support =E2=80=94 Data Plane Developmen= t Kit 22.11.0-rc4 documentation (dpdk.org). Am I wrong ?

=
is there a dpdk-compliant way to do it with threads instead of p= rocesses ?

Thank you for your help.

=
Regards,

ikuzar
--0000000000001c53ea05ee4e0162--