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 AFDD2A04A5 for ; Wed, 17 Jun 2020 17:00:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76E5D1252; Wed, 17 Jun 2020 17:00:21 +0200 (CEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by dpdk.org (Postfix) with ESMTP id 1E3191150 for ; Wed, 17 Jun 2020 17:00:20 +0200 (CEST) Received: by mail-pl1-f175.google.com with SMTP id d8so1038636plo.12 for ; Wed, 17 Jun 2020 08:00:20 -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=lgshjOsCeRaTb0TSxk2VsO27vLXWYOhgMpGgI5YPfL8=; b=tMHLsS+Gd54Q3866OR7bJw+uYk8ijzwp4KVrR3e5xWQRI+kn51narDLq/1pKCKbMDO WIhN2Vass20SBTDnQtRCM7/J1ZWr5yoqNEU6TosAX1jPU+u8QA4t9+Ub1PqvVIwn4hfU 5akMPYZgiWzb9mx3ev4q3rFn9j7milxkqE1BvGFPr/D9GtZAcIBW5XZhRKHyBNe2CkDP mV6d6qLVCJ1AJSlBA5nGD7j+QNXFiJzez1ZwW1GM/OOfzI1PFuy5k9kAjuE9Abc29hTs zE2ltnN8UmHfAEknAuNUSpJbjcVhf3F2l/6i2254YmTMBEvp2zHUlO63RUColvV2sNBn fuzQ== 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=lgshjOsCeRaTb0TSxk2VsO27vLXWYOhgMpGgI5YPfL8=; b=KazJbuRPdk1mnoEWsydO5Oz4GC9PyfgXFxn3hxSm3fMAgQq1UnZ6O0OWfk9TlQN2P0 1IsC2Ndp/8IDdDSTY+Ug9x7saTfyMlQMM6OrJ5frUgN5YQwBGs+9VPqFO6Zur1jIiRme tUrHxr2fMhTaXJbLHnxHPhJgHwMNU2IF0EefnwKpGoMSJosNgGvWWyuwYU1IEFDOxGK+ bY5zHRrCXA2cyxAcULQ3NkWxNcbHxypd3zLAmnNnZT6h59fOyhKUcfTRPG5dwhtmLAhe QL61Ltp0SXE4QrIr7fMhau60wE7NCrp+HbA9ERL4JZVEProEQRwnHzmxZo8nr5LlZbIJ 67OQ== X-Gm-Message-State: AOAM531SBcmMmtCUG1FCdp07XpYjdvH43BDFafy1Gpx9QYjc3TH6ph3N hbJpNgFPrwcImQR2ihsQy1m5bA== X-Google-Smtp-Source: ABdhPJwY0riGg47w/rhUbWpgawLhrFJS14ULQtqaNeYap8EK7r4Ho/TOOaXk3m+jW5V1Ip+c/x3fGg== X-Received: by 2002:a17:902:aa44:: with SMTP id c4mr6561492plr.96.1592406019206; Wed, 17 Jun 2020 08:00:19 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h20sm175099pfo.105.2020.06.17.08.00.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 08:00:18 -0700 (PDT) Date: Wed, 17 Jun 2020 08:00:05 -0700 From: Stephen Hemminger To: "Licj" <272465698@qq.com> Cc: "USERS" Message-ID: <20200617080005.75ac1ed9@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] Dpdk-pdump fails with error "no ethernet port" when running with Mellanox MCX454A-FCAT nic 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 Wed, 17 Jun 2020 17:22:49 +0800 "Licj" <272465698@qq.com> wrote: > Hi all, > > I have run dpdk testpmd successfully with Mellanox MCX454A-FCAT nic(mlx5 driver). I can capture the dpdk packets on the recv side using tcpdump. But the througput does not reach line rate(24gbps throughput with 40gbps line rate). > > >  Then I want to capture packets on the send side using dpdk-pdump. But the dpdk-pdump failed with error "No Ethernet ports - bye". > The initial info with dpdk-pdump shows that it only probes ixgbe driver and 2 Intel nics But not Mellanox nic. > > > Anyone knows why and how to solve it? Thank you. Mellanox DPDK drivers are not enabled by default in the build. You need to have rdma-core installed and enable it in the DPDK build config file.