From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EF73BA0527 for ; Sat, 25 Jul 2020 01:48:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 64CFF1C033; Sat, 25 Jul 2020 01:48:21 +0200 (CEST) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by dpdk.org (Postfix) with ESMTP id 02FCA1C032 for ; Sat, 25 Jul 2020 01:48:19 +0200 (CEST) Received: by mail-pj1-f45.google.com with SMTP id gc15so6504526pjb.0 for ; Fri, 24 Jul 2020 16:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Vbv8Ir9EZjSAt/yzMRmwZ4KRpVq6DGlH/e+NprjaGFo=; b=nWKT5v/szL1xxIuFtl3nfZRudqh038NCprGaShEbvmaE6BjeqRcwnWeGVpCU+Hhx0V wvQ77ol48b46eg+sUu9HXzNvvNJx8559wuNWOuqWP8tRZpxHT5+CjoA4YPlN1JqKm+pM ila9rEy4/O8xjopViislhWQmtumwqlTt+9vWCJ3GT3MIiIqlh32vABcLuQ+mRhp4uWl9 OsGPQ6SDdpL0rGzh0tFWPmLduZwYDYphcrhZoarKS1Q3ss8Do/nKgLIrwiHprHNZc5rg zxogsHezizOkc/8tzJ9cE6gv31OcnmYljbYB7Z10zXrqQ5BSuJWrKbkfA8Lcbh732M3n qLXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Vbv8Ir9EZjSAt/yzMRmwZ4KRpVq6DGlH/e+NprjaGFo=; b=QNClf/otGkcPhgNIlRfZQ7iWEvJIPwyHwzIdr4QH8lddgyHI9eQJcY/ZJHzWU47XQ2 lUUMTvHj+r5Ej7LzrbqAMPsUoN4U2K4BF3D7ThaGOzYJHAzaOOL8lduPcWpfxZlVzNI9 VxmtgHd4pCzV8K6BVcfCX9ISPYtUpAw9fmyY7Zaul1F3VAuywT2fkQYxJgvj9SEcBUeR h5/IwCd8nWddT9G/FEA6rs5g/OqBOTrQJSM0PIqp0MJoRpIBe6fyfJCQIHn6bt6WjIko ldTSd0ShV98I5FF8rwY0nEw2f5iX92jME+YkaiA7rDDSsf73j5KpqxoiwF122IEFqkR/ +4Gw== X-Gm-Message-State: AOAM531mnqPtebx1ziXK9tc7J4lD9sszGh6fOcPOtCpEPgyW27zESirO //rNnTlhDDPdUNDbP8viunH0og== X-Google-Smtp-Source: ABdhPJzkhtLbkp1tqngRLZ936npumiUfmFcdeKDko3kK4w6I0P8nfjVvc44H8hTY+xLfxTHSvTXyQA== X-Received: by 2002:a17:902:6506:: with SMTP id b6mr9797627plk.13.1595634498940; Fri, 24 Jul 2020 16:48:18 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id l62sm10308pjb.7.2020.07.24.16.48.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 16:48:18 -0700 (PDT) Date: Fri, 24 Jul 2020 16:48:10 -0700 From: Stephen Hemminger To: PATRICK KEROULAS Cc: users@dpdk.org Message-ID: <20200724164810.15d1df68@hermes.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] mlx5: dual port capture X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Fri, 24 Jul 2020 17:04:20 -0400 PATRICK KEROULAS wrote: > Hello, > > We use 2 physical networks for redundancy. In order to validate that > data on both network is similar, I need to capture traffic on the 2 > NIC ports simultaneously, no matter if the result is 2 pcap files. > Since dpdk-pdump seems to work for one single port, I've tried to start > 2 pdump processes simultaneously, which leads to a `Cannot reserve > memory` msg for one of these. > > I'm not very familiar with how mem pools and queues work. But I feel > like there is a clever way to handle that. Can someone give a hint? > > Best regards, > > PK I did some merged work to support pcapng and multiple interfaces, you can find it in patchwork or mailing list.