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 4478442A7E; Sat, 6 May 2023 17:47:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF91440DFD; Sat, 6 May 2023 17:47:43 +0200 (CEST) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id 6D495406B8 for ; Sat, 6 May 2023 17:47:42 +0200 (CEST) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1aaf70676b6so20180955ad.3 for ; Sat, 06 May 2023 08:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1683388061; x=1685980061; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Wn3IVGOM3f7CThUNb+n8xTmXEHMKHUP1GG08y89jZd0=; b=4rh/dHWnTFVpX2KcUhRBV45TaOsjTZ4SGiR5Z08xLWqubu+b/HaPPLqGBw3hPgcGMm piSKEsLvn9meFgOGiNdU9Kzg938D3fy4rErpwTb3MJGm1VpvlCWQvYFpoY1wREo3T1bG RyzqBut07d/fV0hMcozeeOU0ooYtAdNOQW4YjmQC5zrDUqGroSeDgcDoHsMYGDaHcte1 DWyT+IiUy1BoWDtF7S8cgvrkT1441bhA0FrdfMeSNXtCTSGFyYkGB7MkySC8leYPOZOs 1/HYRdd6LVSjDPzTyXfbuGz5BLzXX4+ErThlyJqzkGXoSgevQngBpPj5c8zJnBsxFDEi fFaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683388061; x=1685980061; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Wn3IVGOM3f7CThUNb+n8xTmXEHMKHUP1GG08y89jZd0=; b=VHAhTZcUZ2gAQGNIB8tQgpOhllMh06dZmg6YXjBhKiq0cbPSDl3xacH26/c0MMvPL4 FadNwyj+JYKA1YAsRs9akU38eezWIocn5wvv78UcTOHLccJsXRa5b1YQJ2lgXyZ8cOtS H7gXsnzTRVh0YenV4dUllR/t48Ef4MwrMoEL5za2Ad9gwKvo24Mhp6Qu8FA1SZqFJuMo wH5b7gms86P7pT1FEy+BJG0UyBGDx2Ipi5BJPXg7gyro3OUK3ba3pfXlPE7h27qypCMU GH9O9QROo2UQ30oq2lgg06iZoUzyigX/JFpImSfM9p1CHXZg9to9aKMdhdFU/aPh77kq TJvg== X-Gm-Message-State: AC+VfDyv8w/VWiIBmo2jVJKI1jrOQwBGhifiVtaqCCxdsES6rDeNX7DW vOZSDnn1UNXzgHNcoWXBgkOMY42KxB+elHDwHyxZrQ== X-Google-Smtp-Source: ACHHUZ6mNwsp2EU8B5VsCOM1/LpJH/Km7/8MNvUF03hWnpO8GiMOvfr447r1Rch20scYNgF+l+5nFg== X-Received: by 2002:a17:902:c115:b0:1aa:d866:33cf with SMTP id 21-20020a170902c11500b001aad86633cfmr5204465pli.56.1683388061316; Sat, 06 May 2023 08:47:41 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id t4-20020a170902bc4400b001ab29e002fbsm3825698plz.17.2023.05.06.08.47.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 May 2023 08:47:40 -0700 (PDT) Date: Sat, 6 May 2023 08:47:38 -0700 From: Stephen Hemminger To: Chaoyong He Cc: dev@dpdk.org, oss-drivers@corigine.com, niklas.soderlund@corigine.com, Peng Zhang Subject: Re: [PATCH] app/pdump: make dpdk-pdump can run multiple simultaneously Message-ID: <20230506084738.4f686809@hermes.local> In-Reply-To: <20230506085206.475810-1-chaoyong.he@corigine.com> References: <20230506085206.475810-1-chaoyong.he@corigine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Sat, 6 May 2023 16:52:06 +0800 Chaoyong He wrote: > From: Peng Zhang >=20 > The pdump doesn't support start the multiple separate process for differe= nt > queues or ports to monitor the packets, because it apply the same name for > memory space. This commit will use the device_id, port and queue to name > the memory space and it will support this function. >=20 > Adjust the value of RTE_MEMZONE_NAMESIZE to adapt the name length. >=20 > Signed-off-by: Peng Zhang > Reviewed-by: Chaoyong He > Reviewed-by: Niklas S=C3=B6derlund FYI - app/dumpcap does support multiple ports already. Why not use that?